Closed wu-zhishuai closed 2 years ago
你的启动命令不正确
nohup java -Xms256m -Xmx256m -Xss1m -cp surge-deploy-pradar-storm-1.0.jar io.shulie.surge.data.deploy.pradar.bootstrap.PradarTopologyBootStrap -DSourceType=MYSQL -DWorkers=1 -DNet={\"你的容器IP\":\"你的容器宿主机IP\"} >surge.out 2>&1 &
双引号前面加反斜杠 \
双引号前面加反斜杠 \ 嗯嗯 这样执行就好了 感谢! nohup java -Xms256m -Xmx256m -Xss1m -cp surge-deploy-pradar-storm-1.0.jar io.shulie.surge.data.deploy.pradar.bootstrap.PradarTopologyBootStrap -DSourceType=MYSQL -DWorkers=1 -DNet={\"你的容器IP\":\"你的容器宿主机IP\"} >surge.out 2>&1 &
nohup java -Xms256m -Xmx256m -Xss1m -cp surge-deploy-pradar-storm-1.0.jar io.shulie.surge.data.deploy.pradar.bootstrap.PradarTopologyBootStrap -DSourceType=MYSQL -DWorkers=1 -DNet={"你的容器IP":"你的容器宿主机IP"} >surge.out 2>&1 & 麻烦再次确认下:"你的容器宿主机IP"这里是指我takin容器所在主机ip还是应用所在服务器ip?
surge.out中提示缺少surge-deploy-1.0-jar-with-dependencies.jar 回到容器data路径下查看发现:只有surge-deploy-pradar-storm-1.0.jar却没有surge-deploy-1.0-jar-with-dependencies.jar
当启动命令换成surge-deploy-pradar-storm-1.0.jar时,进行 ps -ef | grep surge,结果如下:
分别运行两个包 均有报错:
请问启动surge到底以哪个jar为准?还是缺少了surge-deploy-1.0-jar-with-dependencies.jar这个包吗?