[
https://issues.apache.org/jira/browse/SLIDER-355?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Sumit Mohanty resolved SLIDER-355.
----------------------------------
Resolution: Fixed
Fix Version/s: Slider 0.60
> Agent is unable to connect to ZK on windows to retrieve AM host and port
> ------------------------------------------------------------------------
>
> Key: SLIDER-355
> URL: https://issues.apache.org/jira/browse/SLIDER-355
> Project: Slider
> Issue Type: Bug
> Components: agent, windows
> Affects Versions: Slider 0.50
> Environment: windows
> Reporter: Sumit Mohanty
> Assignee: Gour Saha
> Fix For: Slider 0.60
>
>
> Error:
> {noformat}
> error: (10038, 'An operation was attempted on something that is not a socket')
> Exception in thread Thread-3:
> Traceback (most recent call last):
> File "C:\Python27\lib\threading.py", line 810, in __bootstrap_inner
> self.run()
> File "C:\Python27\lib\threading.py", line 763, in run
> self.__target(*self.__args, **self.__kwargs)
> File
> "C:\hdpdata\hadoop\local\usercache\hadoop\appcache\application_1407457110795_0012\filecache\14\slider-agent.tar.g
> z\slider-agent\kazoo\protocol\connection.py", line 467, in zk_loop
> if retry(self._connect_loop, retry) is STOP_CONNECTING:
> File
> "C:\hdpdata\hadoop\local\usercache\hadoop\appcache\application_1407457110795_0012\filecache\14\slider-agent.tar.g
> z\slider-agent\kazoo\retry.py", line 124, in __call__
> return func(*args, **kwargs)
> File
> "C:\hdpdata\hadoop\local\usercache\hadoop\appcache\application_1407457110795_0012\filecache\14\slider-agent.tar.g
> z\slider-agent\kazoo\protocol\connection.py", line 484, in _connect_loop
> status = self._connect_attempt(host, port, retry)
> File
> "C:\hdpdata\hadoop\local\usercache\hadoop\appcache\application_1407457110795_0012\filecache\14\slider-agent.tar.g
> z\slider-agent\kazoo\protocol\connection.py", line 523, in _connect_attempt
> [], [], timeout)[0]
> File
> "C:\hdpdata\hadoop\local\usercache\hadoop\appcache\application_1407457110795_0012\filecache\14\slider-agent.tar.g
> z\slider-agent\kazoo\handlers\threading.py", line 252, in select
> return select.select(*args, **kwargs)
> error: (10038, 'An operation was attempted on something that is not a socket')
> Could not connect to zk registry at /registry/org-apache-slider/cl1 in quorum
> HADOOP1:2181. Error: Connection time-out
> {noformat}
> Possibly relevant discussion on kazoo
> -https://github.com/python-zk/kazoo/issues/78
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)