incubator-heron icon indicating copy to clipboard operation
incubator-heron copied to clipboard

error on using zk tracker

Open dttlgotv opened this issue 4 years ago • 0 comments

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 main() File "heron/tools/tracker/src/python/main.py", line 289, in main http_server.listen(namespace['port']) File "/Users/zz/.pex/install/tornado-4.0.2-cp27-cp27m-macosx_10_14_intel.whl.c35aceed84e413083eda83e82b743b623007fde1/tornado-4.0.2-cp27-cp27m-macosx_10_14_intel.whl/tornado/tcpserver.py", line 125, in listen sockets = bind_sockets(port, address=address) File "/Users/zz/.pex/install/tornado-4.0.2-cp27-cp27m-macosx_10_14_intel.whl.c35aceed84e413083eda83e82b743b623007fde1/tornado-4.0.2-cp27-cp27m-macosx_10_14_intel.whl/tornado/netutil.py", line 145, in bind_sockets sock.bind(sockaddr) File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/socket.py", line 228, in meth return getattr(self._sock,name)(*args) socket.error: [Errno 48] Address already in use

dttlgotv avatar Mar 13 '20 09:03 dttlgotv