You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@slider.apache.org by "David.Serafini" <Da...@target.com> on 2017/03/02 00:20:39 UTC

Re: slider 0.91 install keytab problem

greetings,

    I can't figure out what this error message is telling me or how to debug it:
    
    If I execute:
    
        $  bin/slider keytab --install --debug -—keytab ./keytab 
    
    I get:
    
    Exception in thread Thread-2:
    Traceback (most recent call last):
      File "/usr/lib64/python2.6/threading.py", line 532, in __bootstrap_inner
        self.run()
      File "/usr/lib64/python2.6/threading.py", line 484, in run
        self.__target(*self.__args, **self.__kwargs)
      File "/home_dir/z002llk/Pkg/slider-0.91.0-incubating/bin/slider.py", line 172, in print_output
        (line, done) = read(src, line)
      File "/home_dir/z002llk/Pkg/slider-0.91.0-incubating/bin/slider.py", line 149, in read
        o = c.decode('utf-8')
      File "/usr/lib64/python2.6/encodings/utf_8.py", line 16, in decode
        return codecs.utf_8_decode(input, errors, True)
    UnicodeDecodeError: 'utf8' codec can't decode byte 0xe2 in position 0: unexpected end of data
    
    
    I built slider from  slider-0.91.0-incubating-source-release.tar.gz dated Jun2016 on RHEL 6.7 using Java 1.8.0
     The keytab file was created using ktutil as a krb5 keytab file.
    I successfully installed the tomcat example application, so the slider installation seems to be ok.
    
    Help please?
    
    TIA,
    -david  <david.serafini>@target.com
    
    
    


Re: slider 0.91 install keytab problem

Posted by Gour Saha <gs...@hortonworks.com>.
Can you use Java 1.7 and try that cmd?

-Gour

- Sent from my iPhone

> On Mar 1, 2017, at 4:56 PM, Jonathan Maron <jo...@gmail.com> wrote:
> 
> Do other slider commands appear to work (e.g. list)?  I would suspect an illegal character in a slider client xml file. 
> 
> 
>> On Mar 1, 2017, at 7:20 PM, David.Serafini <Da...@target.com> wrote:
>> 
>> 0xe2
> 

Re: [EXTERNAL] Re: slider 0.91 install keytab problem

Posted by "David.Serafini" <Da...@target.com>.
On 3/1/17, 4:56 PM, <jo...@gmail.com> wrote:

    Do other slider commands appear to work (e.g. list)?  I would suspect an illegal character in a slider client xml file. 
    
Yes.   slider list  works, and slider create didn't get this error (it failed because it didn't find a keytab).

    
    > On Mar 1, 2017, at 7:20 PM, David.Serafini <Da...@target.com> wrote:
    > 
    > 0xe2
    
    


Re: slider 0.91 install keytab problem

Posted by Jonathan Maron <jo...@gmail.com>.
Do other slider commands appear to work (e.g. list)?  I would suspect an illegal character in a slider client xml file. 


> On Mar 1, 2017, at 7:20 PM, David.Serafini <Da...@target.com> wrote:
> 
> 0xe2

Re: [EXTERNAL] Re: slider 0.91 install keytab problem

Posted by "David.Serafini" <Da...@target.com>.
Wow.  Great catch.  I'm not seeing the longdash in my shell window: I don't know what's going on with that.
 But I retyped the whole command and it worked, so you must be right.

thanks very much,
-david


On 3/2/17, 1:29 PM, <bi...@gmail.com> wrote:

    It looks like you have a long dash before the keytab option: -—keytab
    instead of --keytab. I can reproduce the error by using this long dash.
    
    On Wed, Mar 1, 2017 at 4:20 PM, David.Serafini <Da...@target.com>
    wrote:
    
    > greetings,
    >
    >     I can't figure out what this error message is telling me or how to
    > debug it:
    >
    >     If I execute:
    >
    >         $  bin/slider keytab --install --debug -—keytab ./keytab
    >
    >     I get:
    >
    >     Exception in thread Thread-2:
    >     Traceback (most recent call last):
    >       File "/usr/lib64/python2.6/threading.py", line 532, in
    > __bootstrap_inner
    >         self.run()
    >       File "/usr/lib64/python2.6/threading.py", line 484, in run
    >         self.__target(*self.__args, **self.__kwargs)
    >       File "/home_dir/z002llk/Pkg/slider-0.91.0-incubating/bin/slider.py",
    > line 172, in print_output
    >         (line, done) = read(src, line)
    >       File "/home_dir/z002llk/Pkg/slider-0.91.0-incubating/bin/slider.py",
    > line 149, in read
    >         o = c.decode('utf-8')
    >       File "/usr/lib64/python2.6/encodings/utf_8.py", line 16, in decode
    >         return codecs.utf_8_decode(input, errors, True)
    >     UnicodeDecodeError: 'utf8' codec can't decode byte 0xe2 in position 0:
    > unexpected end of data
    >
    >
    >     I built slider from  slider-0.91.0-incubating-source-release.tar.gz
    > dated Jun2016 on RHEL 6.7 using Java 1.8.0
    >      The keytab file was created using ktutil as a krb5 keytab file.
    >     I successfully installed the tomcat example application, so the slider
    > installation seems to be ok.
    >
    >     Help please?
    >
    >     TIA,
    >     -david  <david.serafini>@target.com
    >
    >
    >
    >
    >
    


Re: slider 0.91 install keytab problem

Posted by Billie Rinaldi <bi...@gmail.com>.
It looks like you have a long dash before the keytab option: -—keytab
instead of --keytab. I can reproduce the error by using this long dash.

On Wed, Mar 1, 2017 at 4:20 PM, David.Serafini <Da...@target.com>
wrote:

> greetings,
>
>     I can't figure out what this error message is telling me or how to
> debug it:
>
>     If I execute:
>
>         $  bin/slider keytab --install --debug -—keytab ./keytab
>
>     I get:
>
>     Exception in thread Thread-2:
>     Traceback (most recent call last):
>       File "/usr/lib64/python2.6/threading.py", line 532, in
> __bootstrap_inner
>         self.run()
>       File "/usr/lib64/python2.6/threading.py", line 484, in run
>         self.__target(*self.__args, **self.__kwargs)
>       File "/home_dir/z002llk/Pkg/slider-0.91.0-incubating/bin/slider.py",
> line 172, in print_output
>         (line, done) = read(src, line)
>       File "/home_dir/z002llk/Pkg/slider-0.91.0-incubating/bin/slider.py",
> line 149, in read
>         o = c.decode('utf-8')
>       File "/usr/lib64/python2.6/encodings/utf_8.py", line 16, in decode
>         return codecs.utf_8_decode(input, errors, True)
>     UnicodeDecodeError: 'utf8' codec can't decode byte 0xe2 in position 0:
> unexpected end of data
>
>
>     I built slider from  slider-0.91.0-incubating-source-release.tar.gz
> dated Jun2016 on RHEL 6.7 using Java 1.8.0
>      The keytab file was created using ktutil as a krb5 keytab file.
>     I successfully installed the tomcat example application, so the slider
> installation seems to be ok.
>
>     Help please?
>
>     TIA,
>     -david  <david.serafini>@target.com
>
>
>
>
>