You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@storm.apache.org by Ravi Kiran <ra...@gmail.com> on 2014/11/15 12:23:07 UTC

Storm on Centos 7

Hi ,
   I have been trying to run Storm on Centos 7 with no luck. Has anyone out
there met any success ?

The exception I get is

Traceback (most recent call last):
  File "./storm", line 514, in <module>
    main()
  File "./storm", line 511, in main
    (COMMANDS.get(COMMAND, unknown_command))(*ARGS)
  File "./storm", line 308, in nimbus
    jvmopts = parse_args(confvalue("nimbus.childopts", cppaths)) + [
  File "./storm", line 113, in confvalue
    p = sub.Popen(command, stdout=sub.PIPE)
  File "/root/Installers/Python-2.7.8/Lib/subprocess.py", line 710, in
__init__
    errread, errwrite)
  File "/root/Installers/Python-2.7.8/Lib/subprocess.py", line 1327, in
_execute_child
    raise child_exception
OSError: [Errno 2] No such file or directory

Appreciate any help.

Regards
Ravi.

Re: Storm on Centos 7

Posted by John Reilly <jr...@inconspicuous.org>.
If JAVA_HOME is set but set incorrectly that can also cause that error as
far as I remember
On Sat, Nov 15, 2014 at 21:23 Ravi Kiran <ra...@gmail.com> wrote:

> Hi Harsha,
>
>    I can assure Java is in the  PATH.  Did few validations to confirm it.
>
>
>
> *Environment:*
> OS:               CentOS 7.0
> JAVA:          JDK 1.7.0_71
> STORM :      0.9.3-rc1
>
> Regards
> Ravi
>
>
>
>
> On Sat, Nov 15, 2014 at 12:31 PM, Harsha <st...@harsha.io> wrote:
>
>>  Ravi,
>>        It looks like you don't have java installed or atleast "java"
>> command is not in path.
>> I tested this storm-0.9.3-rc1 on centos7 everything looks good to me. I
>> was able to reproduce error by removing java .
>> So please check if java is installed on your machine and its in path.
>> -Harsha
>>
>>
>> On Sat, Nov 15, 2014, at 09:14 AM, Ravi Kiran wrote:
>>
>> Hi Harsha,
>>
>>    Its Storm 0.9.3-rc1.
>>
>> Regards
>> Ravi
>>
>> On Sat, Nov 15, 2014 at 7:47 AM, Harsha <st...@harsha.io> wrote:
>>
>>
>>
>> Hi Ravi,
>>          Which version of storm are you using.
>> -Harsha
>>
>>
>> On Sat, Nov 15, 2014, at 03:23 AM, Ravi Kiran wrote:
>>
>> Hi ,
>>    I have been trying to run Storm on Centos 7 with no luck. Has anyone
>> out there met any success ?
>>
>> The exception I get is
>>
>> Traceback (most recent call last):
>>   File "./storm", line 514, in <module>
>>     main()
>>   File "./storm", line 511, in main
>>     (COMMANDS.get(COMMAND, unknown_command))(*ARGS)
>>   File "./storm", line 308, in nimbus
>>     jvmopts = parse_args(confvalue("nimbus.childopts", cppaths)) + [
>>   File "./storm", line 113, in confvalue
>>     p = sub.Popen(command, stdout=sub.PIPE)
>>   File "/root/Installers/Python-2.7.8/Lib/subprocess.py", line 710, in
>> __init__
>>     errread, errwrite)
>>   File "/root/Installers/Python-2.7.8/Lib/subprocess.py", line 1327, in
>> _execute_child
>>     raise child_exception
>> OSError: [Errno 2] No such file or directory
>>
>> Appreciate any help.
>>
>> Regards
>> Ravi.
>>
>>
>>
>>
>>
>>
>>
>
>

Re: Storm on Centos 7

Posted by Ravi Kiran <ra...@gmail.com>.
Hi Harsha,

   I can assure Java is in the  PATH.  Did few validations to confirm it.



*Environment:*
OS:               CentOS 7.0
JAVA:          JDK 1.7.0_71
STORM :      0.9.3-rc1

Regards
Ravi




On Sat, Nov 15, 2014 at 12:31 PM, Harsha <st...@harsha.io> wrote:

>  Ravi,
>        It looks like you don't have java installed or atleast "java"
> command is not in path.
> I tested this storm-0.9.3-rc1 on centos7 everything looks good to me. I
> was able to reproduce error by removing java .
> So please check if java is installed on your machine and its in path.
> -Harsha
>
>
> On Sat, Nov 15, 2014, at 09:14 AM, Ravi Kiran wrote:
>
> Hi Harsha,
>
>    Its Storm 0.9.3-rc1.
>
> Regards
> Ravi
>
> On Sat, Nov 15, 2014 at 7:47 AM, Harsha <st...@harsha.io> wrote:
>
>
>
> Hi Ravi,
>          Which version of storm are you using.
> -Harsha
>
>
> On Sat, Nov 15, 2014, at 03:23 AM, Ravi Kiran wrote:
>
> Hi ,
>    I have been trying to run Storm on Centos 7 with no luck. Has anyone
> out there met any success ?
>
> The exception I get is
>
> Traceback (most recent call last):
>   File "./storm", line 514, in <module>
>     main()
>   File "./storm", line 511, in main
>     (COMMANDS.get(COMMAND, unknown_command))(*ARGS)
>   File "./storm", line 308, in nimbus
>     jvmopts = parse_args(confvalue("nimbus.childopts", cppaths)) + [
>   File "./storm", line 113, in confvalue
>     p = sub.Popen(command, stdout=sub.PIPE)
>   File "/root/Installers/Python-2.7.8/Lib/subprocess.py", line 710, in
> __init__
>     errread, errwrite)
>   File "/root/Installers/Python-2.7.8/Lib/subprocess.py", line 1327, in
> _execute_child
>     raise child_exception
> OSError: [Errno 2] No such file or directory
>
> Appreciate any help.
>
> Regards
> Ravi.
>
>
>
>
>
>
>

Re: Storm on Centos 7

Posted by Harsha <st...@harsha.io>.
Ravi, It looks like you don't have java installed or atleast "java"
command is not in path. I tested this storm-0.9.3-rc1 on centos7
everything looks good to me. I was able to reproduce error by removing
java . So please check if java is installed on your machine and its in
path. -Harsha


On Sat, Nov 15, 2014, at 09:14 AM, Ravi Kiran wrote:
> Hi Harsha,
>
> Its Storm 0.9.3-rc1.
>
> Regards Ravi
>
> On Sat, Nov 15, 2014 at 7:47 AM, Harsha <st...@harsha.io> wrote:
>> __
>>
>> Hi Ravi, Which version of storm are you using. -Harsha
>>
>>
>> On Sat, Nov 15, 2014, at 03:23 AM, Ravi Kiran wrote:
>>> Hi , I have been trying to run Storm on Centos 7 with no luck. Has
>>> anyone out there met any success ?
>>>
>>> The exception I get is
>>>
>>> Traceback (most recent call last): File "./storm", line 514, in
>>> <module> main() File "./storm", line 511, in main
>>> (COMMANDS.get(COMMAND, unknown_command))(*ARGS) File "./storm", line
>>> 308, in nimbus jvmopts = parse_args(confvalue("nimbus.childopts",
>>> cppaths)) + [ File "./storm", line 113, in confvalue p =
>>> sub.Popen(command, stdout=sub.PIPE) File
>>> "/root/Installers/Python-2.7.8/Lib/subprocess.py", line 710, in
>>> __init__ errread, errwrite) File
>>> "/root/Installers/Python-2.7.8/Lib/subprocess.py", line 1327, in
>>> _execute_child raise child_exception OSError: [Errno 2] No such file
>>> or directory
>>>
>>> Appreciate any help.
>>>
>>> Regards Ravi.
>>
>


Re: Storm on Centos 7

Posted by Ravi Kiran <ra...@gmail.com>.
Hi Harsha,

   Its Storm 0.9.3-rc1.

Regards
Ravi

On Sat, Nov 15, 2014 at 7:47 AM, Harsha <st...@harsha.io> wrote:

>
> Hi Ravi,
>          Which version of storm are you using.
> -Harsha
>
> On Sat, Nov 15, 2014, at 03:23 AM, Ravi Kiran wrote:
>
> Hi ,
>    I have been trying to run Storm on Centos 7 with no luck. Has anyone
> out there met any success ?
>
> The exception I get is
>
> Traceback (most recent call last):
>   File "./storm", line 514, in <module>
>     main()
>   File "./storm", line 511, in main
>     (COMMANDS.get(COMMAND, unknown_command))(*ARGS)
>   File "./storm", line 308, in nimbus
>     jvmopts = parse_args(confvalue("nimbus.childopts", cppaths)) + [
>   File "./storm", line 113, in confvalue
>     p = sub.Popen(command, stdout=sub.PIPE)
>   File "/root/Installers/Python-2.7.8/Lib/subprocess.py", line 710, in
> __init__
>     errread, errwrite)
>   File "/root/Installers/Python-2.7.8/Lib/subprocess.py", line 1327, in
> _execute_child
>     raise child_exception
> OSError: [Errno 2] No such file or directory
>
> Appreciate any help.
>
> Regards
> Ravi.
>
>
>

Re: Storm on Centos 7

Posted by Harsha <st...@harsha.io>.

Hi Ravi, Which version of storm are you using. -Harsha

On Sat, Nov 15, 2014, at 03:23 AM, Ravi Kiran wrote:
> Hi , I have been trying to run Storm on Centos 7 with no luck. Has
> anyone out there met any success ?
>
> The exception I get is
>
> Traceback (most recent call last): File "./storm", line 514, in
> <module> main() File "./storm", line 511, in main
> (COMMANDS.get(COMMAND, unknown_command))(*ARGS) File "./storm", line
> 308, in nimbus jvmopts = parse_args(confvalue("nimbus.childopts",
> cppaths)) + [ File "./storm", line 113, in confvalue p =
> sub.Popen(command, stdout=sub.PIPE) File
> "/root/Installers/Python-2.7.8/Lib/subprocess.py", line 710, in
> __init__ errread, errwrite) File
> "/root/Installers/Python-2.7.8/Lib/subprocess.py", line 1327, in
> _execute_child raise child_exception OSError: [Errno 2] No such file
> or directory
>
> Appreciate any help.
>
> Regards Ravi.