Discussion:
Issue when running the storm-starter program
YogiP
2013-01-06 10:35:08 UTC
Permalink
Hi,

I am new to storm. I just installed storm-0.9.0-wip4<https://github.com/downloads/nathanmarz/storm/storm-0.9.0-wip4.zip>from the github site on a 32-bit Linux machine. I was trying to test the
storm installation by running a sample program as suggested here<http://jayatiatblogs.blogspot.in/search?updated-min=2011-01-01T00:00:00-08:00&updated-max=2012-01-01T00:00:00-08:00&max-results=12>.
I followed the storm-starter program in this link<https://github.com/nathanmarz/storm-starter>.
I created the project and added the required jar and files. When i run the
program i get an error as shown in the attachment. Can someone please help
me with the right steps to run the program. Also, what all storm commands
am i supposed to run before starting this program. Any suggestions would be
of great help.

Thanks & Regards,
YogiP
Michael Rose
2013-01-07 22:03:25 UTC
Permalink
Caused by: java.io.IOException: Cannot run program "python" (in directory "/tmp/3fd575e
at java.lang.Proce
at backtype.storm.utils.ShellProcess.launch(ShellProcess.java:31) ~[storm-0.9.0-wip4
at backtype.storm.task.ShellBolt.prepare(ShellBolt.java:80) ~[storm-0.9.0-wip4.jar:na]
... 4 commo
Caused by: java.io.IOException: java.io.IOException: error=2, No such file or direc
You might specify the path to Python
 e.g. /usr/bin/python

--
Michael Rose (@Xorlev (https://twitter.com/xorlev))
Senior Platform Engineer, FullContact (http://fullcontact.com/)
Hi,
I am new to storm. I just installed storm-0.9.0-wip4 (https://github.com/downloads/nathanmarz/storm/storm-0.9.0-wip4.zip) from the github site on a 32-bit Linux machine. I was trying to test the storm installation by running a sample program as suggested here (http://jayatiatblogs.blogspot.in/search?updated-min=2011-01-01T00:00:00-08:00&updated-max=2012-01-01T00:00:00-08:00&max-results=12). I followed the storm-starter program in this link (https://github.com/nathanmarz/storm-starter). I created the project and added the required jar and files. When i run the program i get an error as shown in the attachment. Can someone please help me with the right steps to run the program. Also, what all storm commands am i supposed to run before starting this program. Any suggestions would be of great help.
Thanks & Regards,
YogiP
- Error.txt
YogiP
2013-01-10 04:58:53 UTC
Permalink
Hi Michael,

I specified the path to python in my $PATH variable. But i am still getting
the same error. I followed the "/tmp/e68..." path that comes in the error
trace. I observed that there is no resources folder in that path.
I believe this is causing the problem. Any suggestions would be of great
help.

Thanks & Regards,
YogiP
Caused by: java.io.IOException: Cannot run program "python" (in
directory "/tmp/3fd575e
at java.lang.Proce
at
backtype.storm.utils.ShellProcess.launch(ShellProcess.java:31)
~[storm-0.9.0-wip4
at backtype.storm.task.ShellBolt.prepare(ShellBolt.java:80)
~[storm-0.9.0-wip4.jar:na]
... 4 commo
Caused by: java.io.IOException: java.io.IOException: error=2, No such
file or direc
You might specify the path to Python
 e.g. /usr/bin/python
--
Senior Platform Engineer, FullContact <http://fullcontact.com/>
Hi,
I am new to storm. I just installed storm-0.9.0-wip4<https://github.com/downloads/nathanmarz/storm/storm-0.9.0-wip4.zip>from the github site on a 32-bit Linux machine. I was trying to test the
storm installation by running a sample program as suggested here<http://jayatiatblogs.blogspot.in/search?updated-min=2011-01-01T00:00:00-08:00&updated-max=2012-01-01T00:00:00-08:00&max-results=12>.
I followed the storm-starter program in this link<https://github.com/nathanmarz/storm-starter>.
I created the project and added the required jar and files. When i run the
program i get an error as shown in the attachment. Can someone please help
me with the right steps to run the program. Also, what all storm commands
am i supposed to run before starting this program. Any suggestions would
be of great help.
Thanks & Regards,
YogiP
- Error.txt
YogiP
2013-01-14 04:05:50 UTC
Permalink
Hi Michael,

I found a resources folder in the storm-starter zip that i downloaded. I
think the program should point to this 'resources' folder, but it searches
for the resources folder in a different path under the /tmp folder. Could
you please let me know is there a way to update that path somewhere in some
file? Any config file or properties file? Thanks in advance.

Regards,
YogiP
Post by YogiP
Hi Michael,
I specified the path to python in my $PATH variable. But i am still
getting the same error. I followed the "/tmp/e68..." path that comes in the
error trace. I observed that there is no resources folder in that path.
I believe this is causing the problem. Any suggestions would be of great
help.
Thanks & Regards,
YogiP
Caused by: java.io.IOException: Cannot run program "python" (in
directory "/tmp/3fd575e
at java.lang.Proce
at
backtype.storm.utils.ShellProcess.launch(ShellProcess.java:31)
~[storm-0.9.0-wip4
at backtype.storm.task.ShellBolt.prepare(ShellBolt.java:80)
~[storm-0.9.0-wip4.jar:na]
... 4 commo
Caused by: java.io.IOException: java.io.IOException: error=2, No such
file or direc
You might specify the path to Python
 e.g. /usr/bin/python
--
Senior Platform Engineer, FullContact <http://fullcontact.com/>
Hi,
I am new to storm. I just installed storm-0.9.0-wip4<https://github.com/downloads/nathanmarz/storm/storm-0.9.0-wip4.zip>from the github site on a 32-bit Linux machine. I was trying to test the
storm installation by running a sample program as suggested here<http://jayatiatblogs.blogspot.in/search?updated-min=2011-01-01T00:00:00-08:00&updated-max=2012-01-01T00:00:00-08:00&max-results=12>.
I followed the storm-starter program in this link<https://github.com/nathanmarz/storm-starter>.
I created the project and added the required jar and files. When i run the
program i get an error as shown in the attachment. Can someone please help
me with the right steps to run the program. Also, what all storm
commands am i supposed to run before starting this program. Any
suggestions would be of great help.
Thanks & Regards,
YogiP
- Error.txt
Eric Fulton
2013-01-29 05:12:47 UTC
Permalink
I've got the same issue. Eclipse looks for python in the TMPDIR directory.
Post by YogiP
Hi Michael,
I found a resources folder in the storm-starter zip that i downloaded. I
think the program should point to this 'resources' folder, but it searches
for the resources folder in a different path under the /tmp folder. Could
you please let me know is there a way to update that path somewhere in some
file? Any config file or properties file? Thanks in advance.
Regards,
YogiP
Post by YogiP
Hi Michael,
I specified the path to python in my $PATH variable. But i am still
getting the same error. I followed the "/tmp/e68..." path that comes in the
error trace. I observed that there is no resources folder in that path.
I believe this is causing the problem. Any suggestions would be of great
help.
Thanks & Regards,
YogiP
Caused by: java.io.IOException: Cannot run program "python" (in
directory "/tmp/3fd575e
at java.lang.Proce
at
backtype.storm.utils.ShellProcess.launch(ShellProcess.java:31)
~[storm-0.9.0-wip4
at backtype.storm.task.ShellBolt.prepare(ShellBolt.java:80)
~[storm-0.9.0-wip4.jar:na]
... 4 commo
Caused by: java.io.IOException: java.io.IOException: error=2, No such
file or direc
You might specify the path to Python… e.g. /usr/bin/python
--
Senior Platform Engineer, FullContact <http://fullcontact.com/>
Hi,
I am new to storm. I just installed storm-0.9.0-wip4<https://github.com/downloads/nathanmarz/storm/storm-0.9.0-wip4.zip>from the github site on a 32-bit Linux machine. I was trying to test the
storm installation by running a sample program as suggested here<http://jayatiatblogs.blogspot.in/search?updated-min=2011-01-01T00:00:00-08:00&updated-max=2012-01-01T00:00:00-08:00&max-results=12>.
I followed the storm-starter program in this link<https://github.com/nathanmarz/storm-starter>.
I created the project and added the required jar and files. When i run the
program i get an error as shown in the attachment. Can someone please help
me with the right steps to run the program. Also, what all storm
commands am i supposed to run before starting this program. Any
suggestions would be of great help.
Thanks & Regards,
YogiP
- Error.txt
--
You received this message because you are subscribed to the Google Groups "storm-user" group.
To unsubscribe from this group and stop receiving emails from it, send an email to storm-user+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/***@public.gmane.org
For more options, visit https://groups.google.com/groups/opt_out.
Loading...