我正在使用PalletOps和VmFest我想开始在板条箱中storm
使用以下内容exec-checked-script
storm_codeship.clj
,
36 (defn install [settings]
54 (exec-checked-script "start dev-zookeeper"
~ 55 ("nohup ~/bin/storm/bin/storm dev-zookeeper 1> devout.log 2>deverror.log &"))
56 (exec-checked-script "start storm-nimbus"
~ 57 ("nohup ~/bin/storm/bin/storm nimbus 1> nuibusout.log 2>nimbuserror.log &"))
58 (exec-checked-script "start storm-supervisor"
~ 59 ("nohup ~/bin/storm/bin/storm supervisor 1> superout.log 2>supererror.log &"))
60 (exec-checked-script "start storm-drpc"
~ 61 ("nohup ~/bin/storm/bin/storm drpc 1> drpcout.log 2>drpcerror.log &")))
还尝试了以下不带nohup
,
36 (defn install [settings]
54 (exec-checked-script "start dev-zookeeper"
~ 55 ("~/bin/storm/bin/storm dev-zookeeper 1> devout.log 2>deverror.log &"))
56 (exec-checked-script "start storm-nimbus"
~ 57 ("~/bin/storm/bin/storm nimbus 1> nuibusout.log 2>nimbuserror.log &"))
58 (exec-checked-script "start storm-supervisor"
~ 59 ("~/bin/storm/bin/storm supervisor 1> superout.log 2>supererror.log &"))
60 (exec-checked-script "start storm-drpc"
~ 61 ("~/bin/storm/bin/storm drpc 1> drpcout.log 2>drpcerror.log &")))
在没有任何日志文件气味的虚拟机中看不到任何效果。
当我进入 VM 并手动执行同一组命令时,我发现它们正在使用生成的日志文件。
VM上的权限如下,
root@ubuntu1204:/home/vmfest# ls -l ~/bin/storm/bin/
total 36
-rwxr-xr-x 1 502 staff 432 Jun 26 06:33 build_modules.sh
-rwxr-xr-x 1 502 staff 1005 Jun 26 06:33 build_release.sh
-rwxr-xr-x 1 502 staff 692 Jun 26 06:33 install_zmq.sh
-rwxr-xr-x 1 502 staff 76 Jun 26 06:33 javadoc.sh
-rwxr-xr-x 1 502 staff 15494 Jun 26 06:33 storm
-rwxr-xr-x 1 502 staff 543 Jun 26 06:33 to_maven.sh
我认为这不是权限问题,我可能会遗漏什么?