Storm nimbus not starting: below error

$ 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 
+5
source share
2 answers

Perhaps Storm cannot find JAVAHOME on your computer. Here's how to fix it.

  • Open the storm_env.ini file in the storm conf folder.
  • Find a string that configures alternate JAVAHOME
    if this is your first access, it will look like

    # Using java to use. If JAVA_HOME is not found, we expect java to be in the path #JAVA_HOME: home
  • Update it with JAVAHOME

    ex (as it looks in my file.):

    # Using java to use. If JAVA_HOME is not found, we expect java to be in the way

    JAVA_HOME: / usr / lib / jvm / java-8-oracle

  • Save the changes and close the editor.

  • Open a new terminal and try again.

+2
source

What version of python are you using? It probably cannot find the usr/lib64/python2.6/subprocess.py file that comes with python 2.7 , and you are currently working with python 2.6

0
source

Source: https://habr.com/ru/post/1201708/


All Articles