AirSage / Petrel

Tools for writing, submitting, debugging, and monitoring Storm topologies in pure Python
BSD 3-Clause "New" or "Revised" License
247 stars 70 forks source link

Unable to run petrel example #69

Closed npk7 closed 8 years ago

npk7 commented 9 years ago

Hi I get this error while running the petrel sample. Followed your instructions. Please can you help:

I am using apache Storm 0.9.3, Petrel 0.9.3.0.3

Error log: [Errno 2] No such file or directory Traceback (most recent call last): File "/home/newuser/apache-storm/bin/petrel/lib/python2.7/site-packages/petrel-0.9.3.0.3-py2.7.egg/petrel/cmdline.py", line 111, in main func(_args.dict) File "/home/newuser/apache-storm/bin/petrel/lib/python2.7/site-packages/petrel-0.9.3.0.3-py2.7.egg/petrel/cmdline.py", line 32, in submit sourcejar = get_sourcejar() File "/home/newuser/apache-storm/bin/petrel/lib/python2.7/site-packages/petrel-0.9.3.0.3-py2.7.egg/petrel/cmdline.py", line 23, in get_sourcejar storm_version = get_storm_version() File "/home/newuser/apache-storm/bin/petrel/lib/python2.7/site-packages/petrel-0.9.3.0.3-py2.7.egg/petrel/cmdline.py", line 17, in get_storm_version version = subprocess.check_output(['storm', 'version']).strip() File "/usr/lib/python2.7/subprocess.py", line 566, in check_output process = Popen(stdout=PIPE, popenargs, *_kwargs) 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

barrywhart commented 9 years ago

Looks like the storm executable is not in your PATH.