在安装pinpoint过程中也出了一些问题,总结记录一下
Failed to connect to raw.githubusercontent.com port 443:Connection refused
ERROR: Service 'pinpoint-hbase' failed to build: The command '/bin/sh -c mkdir -p ${BASE_DIR} && cd ${BASE_DIR} && curl -fSL "${HBASE_REPOSITORY}/${HBASE_VERSION}/hbase-${HBASE_VERSION}-bin.tar.gz" -o hbase.tar.gz || curl -fSL "${HBASE_SUB_REPOSITORY}/${HBASE_VERSION}/hbase-${HBASE_VERSION}-bin.tar.gz" -o hbase.tar.gz && tar xfvz hbase.tar.gz && mv ../../hbase-site.xml ../../${HBASE_HOME}/conf/hbase-site.xml && curl -SL "https://raw.githubusercontent.com/naver/pinpoint/v${PINPOINT_VERSION}/hbase/scripts/hbase-create.hbase" -o ${BASE_DIR}/hbase-create.hbase && ${HBASE_HOME}/bin/start-hbase.sh && sleep 10 && ${HBASE_HOME}/bin/hbase shell ${BASE_DIR}/hbase-create.hbase && ${HBASE_HOME}/bin/stop-hbase.sh && rm ${BASE_DIR}/hbase-create.hbase && rm -rf hbase.tar.gz' returned a non-zero code: 7
主要原因国内的服务器连不到raw.githubusercontent.com这个网站,需要将各个脚本中需要下载的war包提前下载好,并且修改pinpoint-hbase中的Dockerfile文件
在启动hbase时提示有一个进程在跑
master running as process 89. Stop it first.
修改pinpoint-hbase中的Dockerfile文件
将hbase先关闭一次,在启动
&& ${HBASE_HOME}/bin/stop-hbase.sh \ (增加此行)
&& ${HBASE_HOME}/bin/start-hbase.sh \
重新启动hbase正常
ERROR: for pinpoint-mysql Cannot start service pinpoint-mysql: driver failed programming external connectivity on endpoint pinpoint-mysql (a91c6db8ab13526210b480d1b002d590b13fa32c02ba1dea1228f15b07ed9b41): Error starting userland proxy: listen tcp 0.0.0.0:3306: bind: address already in use
ERROR: Encountered errors while bringing up the project.
端口冲突,本机有在运行的mysql,修改主文件夹和 pinpoint-mysql两个文件夹中的docker-compose.yml文件
修改数据库端口,重新启动
hostname: pinpoint-mysql
ports:
- "13306:13306"
[root@localhost pinpoint-docker]# docker-compose pull && docker-compose up -d
Pulling zoo1 ... done
Pulling zoo2 ... done
Pulling zoo3 ... done
Pulling jobmanager ... done
Pulling taskmanager ... done
pinpoint-flink-jobmanager is up-to-date
Recreating pinpoint-mysql ...
pinpoint-hbase is up-to-date
pinpoint-docker_zoo3_1 is up-to-date
pinpoint-docker_zoo1_1 is up-to-date
pinpoint-docker_zoo2_1 is up-to-date
pinpoint-flink-taskmanager is up-to-date
pinpoint-collector is up-to-date
pinpoint-agent is up-to-date
Recreating pinpoint-mysql ... done
Creating pinpoint-web ... done
启动成功
版权说明 : 本文为转载文章, 版权归原作者所有 版权申明
原文链接 : https://blog.csdn.net/weixin_43931358/article/details/107566869
内容来源于网络,如有侵权,请联系作者删除!