$ storm nimbus
Traceback (most recent call last):
File "/home/chefsolo/apache-storm-0.9.1-incubating/bin/storm", line 455, in <m odule>
main()
File "/home/chefsolo/apache-storm-0.9.1-incubating/bin/storm", line 452, in ma in
(COMMANDS.get(COMMAND, unknown_command))(*ARGS)
File "/home/chefsolo/apache-storm-0.9.1-incubating/bin/storm", line 268, in ni mbus
jvmopts = parse_args(confvalue("nimbus.childopts", cppaths)) + [
File "/home/chefsolo/apache-storm-0.9.1-incubating/bin/storm", line 81, in con fvalue
p = sub.Popen(command, stdout=sub.PIPE)
File "/usr/lib64/python2.6/subprocess.py", line 639, in __init__
errread, errwrite)
File "/usr/lib64/python2.6/subprocess.py", line 1228, in _execute_child
raise child_exception
OSError: [Errno 2] No such file or directory
答案 0 :(得分:2)
可能Storm在您的计算机中找不到JAVAHOME。以下是如何修复它。
使用您的JAVAHOME
更新它ex(这在我的文件中看起来如何。):
#要使用的java实现。如果找不到JAVA_HOME,我们希望java在路径中JAVA_HOME:/ usr / lib / jvm / java-8-oracle
保存更改并关闭编辑器。
打开新终端并重试
答案 1 :(得分:0)
您使用的是哪个python版本?它可能无法找到usr/lib64/python2.6/subprocess.py
附带的python 2.7
文件,而您当前正在使用python 2.6