【问题标题】:Can't run a topology in Apache Storm无法在 Apache Storm 中运行拓扑
【发布时间】:2016-02-18 12:40:46
【问题描述】:

我正在使用相同版本的 petrel 0.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

【问题讨论】:

    标签: apache-storm topology


    【解决方案1】:

    我必须将 Storm bin 位置添加到 $PATH

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2023-04-02
      • 2016-11-18
      • 1970-01-01
      相关资源
      最近更新 更多