Skip to content
This repository has been archived by the owner on Apr 19, 2022. It is now read-only.

snakebite in kerberos cluster not able to authenticate #224

Open
rajeshcode opened this issue Jan 14, 2017 · 0 comments
Open

snakebite in kerberos cluster not able to authenticate #224

rajeshcode opened this issue Jan 14, 2017 · 0 comments

Comments

@rajeshcode
Copy link

I was getting error as below any idea?
++++
$ python
Python 2.6.6 (r266:84292, Jul 23 2015, 15:22:56)
[GCC 4.4.7 20120313 (Red Hat 4.4.7-11)] on linux2
Type "help", "copyright", "credits" or "license" for more information.

from snakebite.client import Client
Traceback (most recent call last):
File "", line 1, in
File "/usr/lib/python2.6/site-packages/snakebite-2.11.0-py2.6.egg/snakebite/client.py", line 16, in
import snakebite.protobuf.ClientNamenodeProtocol_pb2 as client_proto
File "/usr/lib/python2.6/site-packages/snakebite-2.11.0-py2.6.egg/snakebite/protobuf/ClientNamenodeProtocol_pb2.py", line 12, in
import Security_pb2
File "/usr/lib/python2.6/site-packages/snakebite-2.11.0-py2.6.egg/snakebite/protobuf/Security_pb2.py", line 231, in
DESCRIPTOR.message_types_by_name['TokenProto'] = _TOKENPROTO
AttributeError: 'FileDescriptor' object has no attribute 'message_types_by_name'
++++
python ./inject.py host-namen-node 8030 [email protected] hdfs "/bin/ls"
Traceback (most recent call last):
File "./inject.py", line 3, in
from snakebite.client import Client
File "/home/hadoop/poc/snakebite/client.py", line 16, in
import snakebite.protobuf.ClientNamenodeProtocol_pb2 as client_proto
File "/home/hadoop/poc/snakebite/protobuf/ClientNamenodeProtocol_pb2.py", line 12, in
import Security_pb2
File "/home/hadoop/poc/snakebite/protobuf/Security_pb2.py", line 231, in
DESCRIPTOR.message_types_by_name['TokenProto'] = _TOKENPROTO
AttributeError: 'FileDescriptor' object has no attribute ‘message_types_by_name'
++

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant