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

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

文章分类

全部博文(259)

分类: HADOOP

2015-10-09 14:50:43


ambari监控界面看到的信息:
stderr:   /var/lib/ambari-agent/data/errors-11891.txt

/usr/lib/python2.6/site-packages/jinja2/__init__.py:31: UserWarning: Module jinja2 was already imported from /usr/lib/python2.6/site-packages/jinja2/__init__.pyc, but /usr/lib64/python2.6/site-packages is being added to sys.path
  __version__ = __import__('pkg_resources') \
/usr/lib/python2.6/site-packages/jinja2/__init__.py:31: UserWarning: Module jinja2 was already imported from /usr/lib/python2.6/site-packages/jinja2/__init__.pyc, but /usr/lib64/python2.6/site-packages is being added to sys.path
  __version__ = __import__('pkg_resources') \
/usr/lib/python2.6/site-packages/jinja2/__init__.py:31: UserWarning: Module jinja2 was already imported from /usr/lib/python2.6/site-packages/jinja2/__init__.pyc, but /usr/lib64/python2.6/site-packages is being added to sys.path
  __version__ = __import__('pkg_resources') \
/usr/lib/python2.6/site-packages/jinja2/__init__.py:31: UserWarning: Module jinja2 was already imported from /usr/lib/python2.6/site-packages/jinja2/__init__.pyc, but /usr/lib64/python2.6/site-packages is being added to sys.path
  __version__ = __import__('pkg_resources') \
2015-10-09 14:35:06,626 - Error while executing command 'start':
Traceback (most recent call last):
  File "/usr/lib/python2.6/site-packages/resource_management/libraries/script/script.py", line 111, in execute
    method(env)
  File "/var/lib/ambari-agent/cache/stacks/HDP/2.1/services/STORM/package/scripts/supervisor.py", line 43, in start
    service("supervisor", action="start")
  File "/var/lib/ambari-agent/cache/stacks/HDP/2.1/services/STORM/package/scripts/service.py", line 64, in service
    try_sleep=10
  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 239, in action_run
    raise ex
Fail: Execution of 'pgrep -f "^java.+backtype.storm.daemon.supervisor$" && pgrep -f "^java.+backtype.storm.daemon.supervisor$" > /var/run/storm/supervisor.pid' returned 1.


节点的信息:
[root@dn137 storm]#jps
5470 jar
31057 -- process information unavailable
14305 Jps
31026 -- process information unavailable
2730 jar
31064 -- process information unavailable
26487 DataNode
2209 NodeManager
31050 -- process information unavailable
14253 -- process information unavailable
31001 -- process information unavailable
31032 -- process information unavailable
31003 -- process information unavailable

已经存在pid文件,删除后重启,恢复正常。
[root@dn137 storm]# ll /var/run/storm/supervisor.pid
-rw-r--r-- 1 storm hadoop 0 Oct  9 09:43 /var/run/storm/supervisor.pid

[root@dn137 storm]# rm /var/run/storm/supervisor.pid

之后再启动storm就可以了。
阅读(3633) | 评论(0) | 转发(0) |
给主人留下些什么吧!~~