[
https://issues.apache.org/jira/browse/SLIDER-876?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14545698#comment-14545698
]
JP Bordenave commented on SLIDER-876:
-------------------------------------
Hello,
i am very sorry, now the issue is solve, i understand in wrong way the
context of error with utf8
it just a problem wrong port number for zookeeper in slider-client.xml
me bad
destroy is working, but i don't understand why it not fail before.
hduser@stargate:/usr/local/slider$ ./bin/slider destroy cl1
2015-05-15 17:53:33,772 [main] INFO client.RMProxy - Connecting to
ResourceManager at stargate/192.168.0.11:8032
2015-05-15 17:53:34,074 [main] INFO zk.BlockingZKWatcher - waiting for ZK event
2015-05-15 17:53:34,183 [main-EventThread] INFO zk.BlockingZKWatcher - ZK
binding callback received
2015-05-15 17:53:35,484 [main] INFO client.SliderClient - Destroyed cluster cl1
2015-05-15 17:53:35,487 [main] INFO util.ExitUtil - Exiting with status 0
Thank for your support :)
KR
JP
> 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, screenshot-2-SliderInRunningMode.png,
> screenshot-AllNodeActive.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)