You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@slider.apache.org by "JP Bordenave (JIRA)" <ji...@apache.org> on 2015/05/15 16:32:00 UTC

[jira] [Updated] (SLIDER-876) slider destroy instance fail UnicodeDecodeError: 'utf8' codec can't decode byte 0xc3 in position 0

     [ https://issues.apache.org/jira/browse/SLIDER-876?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

JP Bordenave updated SLIDER-876:
--------------------------------
    Attachment: screenshot-1.png

> slider destroy instance fail UnicodeDecodeError: 'utf8' codec can't decode byte 0xc3 in position 0
> --------------------------------------------------------------------------------------------------
>
>                 Key: SLIDER-876
>                 URL: https://issues.apache.org/jira/browse/SLIDER-876
>             Project: Slider
>          Issue Type: Bug
>          Components: process
>    Affects Versions: Slider 0.61, Slider 0.70
>         Environment: ubuntu 14.04, hadoop 2.6.0, python 2.7,  slider 0.6.1, zookeeper 3.4.6
>            Reporter: JP Bordenave
>            Priority: Critical
>              Labels: patch
>         Attachments: screenshot-1.png
>
>
> Hello,
> 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/192.168.0.11:8032
> 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
>     self.run()
>   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



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)