>From taking a quick look at the storm script, it looks like you do not
have java in your path and/or do not have JAVA_HOME set (or it is set
to an incorrect path).

>From line 64:
JAVA_CMD = 'java' if not JAVA_HOME else os.path.join(JAVA_HOME, 'bin', 'java')

So if JAVA_HOME is set, it will try to use $JAVA_HOME/bin/java,
otherwise it will use the java found in your path.




On Thu, Oct 23, 2014 at 9:53 AM, Yuheng Du <[email protected]> wrote:
> Thank you John. I tried but it did not work.
>
> best,
> Yuehng
>
> On Thu, Oct 23, 2014 at 12:48 PM, John Reilly <[email protected]> wrote:
>>
>> I don't think I've seen that error, but I did notice that you have a space
>> before "storm.zookeeper.servers" in your storm.yaml.  I'm not sure if that
>> would make any difference, but might be worth trying to remove it.
>>
>> On Thu, Oct 23, 2014 at 9:26 AM, Yuheng Du <[email protected]> wrote:
>>>
>>> Hi everyone,
>>>
>>> When I run ./storm nimbus, it gives me the following message:
>>>
>>> yuheng@yuheng-StormVM:~/software/apache-storm-0.9.2-incubating/bin$
>>> ./storm nimbus
>>> Traceback (most recent call last):
>>>   File "./storm", line 472, in <module>
>>>     main()
>>>   File "./storm", line 469, in main
>>>     (COMMANDS.get(COMMAND, unknown_command))(*ARGS)
>>>   File "./storm", line 285, in nimbus
>>>     jvmopts = parse_args(confvalue("nimbus.childopts", cppaths)) + [
>>>   File "./storm", line 97, in confvalue
>>>     p = sub.Popen(command, stdout=sub.PIPE)
>>>   File "/usr/lib/python2.7/subprocess.py", line 710, in __init__
>>>     errread, errwrite)
>>>   File "/usr/lib/python2.7/subprocess.py", line 1327, in _execute_child
>>>     raise child_exception
>>> OSError: [Errno 2] No such file or directory
>>>
>>>
>>> Does anyone run into this before?
>>> Thanks.
>>>
>>> My storm.yaml is attached.
>>>
>>> best,
>>> Yuheng
>>
>>
>

Reply via email to