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就可以了。