无法在apache storm中运行拓扑

sqyvllje  于 2021-06-21  发布在  Storm
关注(0)|答案(1)|浏览(488)

我使用的是相同版本的Petrel0.9.3和ApacheStorm。当我尝试运行拓扑时,出现以下错误:

(petrel)[root@localhost example1]# petrel submit --config topology.yaml --logdir `pwd`
[Errno 2] No such file or directory
Traceback (most recent call last):
  File "/usr/local/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 "/usr/local/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 "/usr/local/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 "/usr/local/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/lib64/python2.7/subprocess.py", line 568, in check_output
    process = Popen(stdout=PIPE, *popenargs,**kwargs)
  File "/usr/lib64/python2.7/subprocess.py", line 711, in __init__
    errread, errwrite)
  File "/usr/lib64/python2.7/subprocess.py", line 1327, in _execute_child
    raise child_exception
6pp0gazn

6pp0gazn1#

我不得不将风暴箱位置添加到$path

相关问题