ambari安装storm后,所有supervisor无法正常启动,报错如下:
Error while executing command 'start':
Traceback (most recent call last):
File "/usr/lib/python2.6/site-packages/resource_management/libraries/script/script.py", line 123, in execute
method(env)
File "/var/lib/ambari-agent/cache/stacks/HDP/2.1/services/STORM/package/scripts/supervisor.py", line 42, in start
service("supervisor", action="start")
File "/var/lib/ambari-agent/cache/stacks/HDP/2.1/services/STORM/package/scripts/service.py", line 69, in service
path=params.storm_bin_dir
File "/usr/lib/python2.6/site-packages/resource_management/core/base.py", line 148, in __init__
self.env.run()
File "/usr/lib/python2.6/site-packages/resource_management/core/environment.py", line 149, in run
self.run_action(resource, action)
File "/usr/lib/python2.6/site-packages/resource_management/core/environment.py", line 115, in run_action
provider_action()
File "/usr/lib/python2.6/site-packages/resource_management/core/providers/system.py", line 241, in action_run
raise ex
Fail: Execution of '/usr/jdk64/jdk1.7.0_67/bin/jps -l | grep storm.daemon.supervisor$ && /usr/jdk64/jdk1.7.0_67/bin/jps -l | grep storm.daemon.supervisor$ | awk {'print $1'} > /var/run/storm/supervisor.pid' returned 1.
解决方法:
最后发现supervisor.childopts配置的时候多了一个横杠,导致创建虚拟机失败,客户端无法启动,修改成一个横杠就好了。
阅读(3400) | 评论(0) | 转发(0) |