$ 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
最佳答案
可能Storm无法在您的计算机中找到JAVAHOME。这是解决方法。
如果您是第一次访问,它将看起来像这样
#要使用的Java实现。如果未找到JAVA_HOME,我们希望Java位于路径中
#JAVA_HOME:首页
前(这在我的文件中看起来是这样):
#要使用的Java实现。如果未找到JAVA_HOME,我们希望Java位于路径中
JAVA_HOME:/usr/lib/jvm/java-8-oracle