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

slider destroy instance fail UnicodeDecodeError: 'utf8' codec can't decode byte 0xc3 in position 0


    • Type: Bug
    • Status: Reopened
    • Priority: Critical
    • Resolution: Unresolved
    • Affects Version/s: Slider 0.61, Slider 0.70
    • Fix Version/s: None
    • Component/s: process
    • Labels:
    • Environment:

      ubuntu 14.04, hadoop 2.6.0, python 2.7, slider 0.6.1, zookeeper 3.4.6



      i install 0.61.0 slider

      after install application MEMCACHED for test slider under hadoop 2.6.0
      on hdfs

      i can create instance cl1 on hdfs
      i can start
      i can stop

      but when i destroy
      ./bin/slider destroy cl1
      i get exception python on utf8 (i have 2.7) and i must break destroy because it is hanging for ever. check log below

      after this fail, the cl1 instance is removed from cluster, if try to launch again, i get exit code 73 application in use on start/stop/destroy . i dont see any process actif.

      i test also with the version 0.70.1 slider, i get same error. i saw pyhton 2.6
      seem required by slider, but i use about 10 component in my ecosystem under my cluster all are working. hadoop 2.6.0 seem support python 2.7.

      Thanks for information and solution if possible, i consider slider interessing.
      for application deployment with hdfs

      i dont see any jira about this issue

      log below
      hduser@stargate:/usr/local/slider$ ./bin/slider destroy cl1
      2015-05-15 01:33:08,218 [main] INFO client.RMProxy - Connecting to ResourceManager at stargate/
      2015-05-15 01:33:08,603 [main] INFO zk.BlockingZKWatcher - waiting for ZK event
      2015-05-15 01:33:08,607 [main-SendThread(stargate:2180)] WARN zookeeper.ClientCnxn - Session 0x0 for server null, unexpected error, closing socket connection and attempting reconnect
      Exception in thread Thread-2:
      Traceback (most recent call last):
      File "/usr/lib/python2.7/threading.py", line 810, in __bootstrap_inner
      File "/usr/lib/python2.7/threading.py", line 763, in run
      self._target(*self.args, **self._kwargs)
      File "/usr/local/slider-0.61.0-incubating/bin/slider.py", line 168, in print_output
      (line, done) = read(src, line)
      File "/usr/local/slider-0.61.0-incubating/bin/slider.py", line 146, in read
      o = c.decode('utf-8')
      File "/usr/lib/python2.7/encodings/utf_8.py", line 16, in decode
      return codecs.utf_8_decode(input, errors, True)
      UnicodeDecodeError: 'utf8' codec can't decode byte 0xc3 in position 0: unexpected end of data


        1. screenshot-1.png
          108 kB
          JP Bordenave
        2. screenshot-2-SliderInRunningMode.png
          189 kB
          JP Bordenave
        3. screenshot-AllNodeActive.png
          189 kB
          JP Bordenave



            • Assignee:
              jpbordi JP Bordenave
            • Votes:
              0 Vote for this issue
              4 Start watching this issue


              • Created: