incubator-heron
incubator-heron copied to clipboard
error on using zk tracker
I modify the tracker.yaml to integrating yarn. The file is below:
statemgrs:
To use 'localzk', launch a zookeeper server locally
and create the following path:
*. /heron/topologies
-
type: "zookeeper"
name: "localzk"
hostport: "127.0.0.1:2181"
rootpath: "/heron"
tunnelhost: "127.0.0.1"
To specify multiple Zookeeper Nodes for fallback
type: "zookeeper"
name: "zk"
hostport: "localhost:2181"
rootpath: "/heron"
tunnelhost: "localhost"
When I restart heron-tracker, the error is seen.
[INFO]: Using state manager:
type: zookeeper
name: zk
hostport: localhost:2181
rootpath: /heron
tunnelhost: localhost
Traceback (most recent call last):
File ".bootstrap/_pex/pex.py", line 365, in execute
File ".bootstrap/_pex/pex.py", line 293, in _wrap_coverage
File ".bootstrap/_pex/pex.py", line 325, in _wrap_profiling
File ".bootstrap/_pex/pex.py", line 408, in _execute
File ".bootstrap/_pex/pex.py", line 466, in execute_entry
File ".bootstrap/_pex/pex.py", line 471, in execute_module
File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/runpy.py", line 180, in run_module
fname, loader, pkg_name)
File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/runpy.py", line 72, in _run_code
exec code in run_globals
File "heron/tools/tracker/src/python/main.py", line 294, in