Chinaunix首页 | 论坛 | 博客
  • 博客访问: 1211510
  • 博文数量: 259
  • 博客积分: 10
  • 博客等级: 民兵
  • 技术积分: 2518
  • 用 户 组: 普通用户
  • 注册时间: 2012-10-13 16:12
个人简介

科技改变世界,技术改变人生。

文章分类

全部博文(259)

分类: 大数据

2015-09-24 13:57:18

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) |
给主人留下些什么吧!~~