Uploaded image for project: 'Slider'
  1. Slider
  2. SLIDER-355

Agent is unable to connect to ZK on windows to retrieve AM host and port

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • Slider 0.50
    • Slider 0.60
    • agent, windows
    • None
    • windows

    • Slider October #2

    Description

      Error:

      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
      

      Possibly relevant discussion on kazoo -https://github.com/python-zk/kazoo/issues/78

      Attachments

        Activity

          People

            gsaha Gour Saha
            sumitmohanty Sumit Mohanty
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: