Reply
Explorer
Posts: 7
Registered: ‎03-27-2014

impala-shell 1.3.1 problems

[ Edited ]

We are using a kerberos cluster running cdh4.7 with hbase, sentry and impala 1.3.1.

1) Connecting without kerberos is succesful, but some commands fail

 

a) select 1 returns a result

b) show tables; show databases; commands work

c) selecting from a sandbox table returns successfully.

d) running a select on certain tables generates one of 2 errors, depending on how often you run it

Trying to read tables that need ERROR: ExecPlanRequest rpc query_id=5845a82696ff2522:d3a8f29cdc074182 instance_id=5845a82696ff2522:d3a8f29cdc074184 failed: No more data to read.

Or

ERROR: ExecPlanRequest rpc query_id=5845a82696ff2522:d3a8f29cdc074182 instance_id=5845a82696ff2522:d3a8f29cdc074184 failed: No more data to read.

 

2) Connecting with kerberos just hangs

This is all it does

Starting Impala Shell using Kerberos authentication
Using service name 'impala'

 

a) I know I have the correct principal because if I try something that doesn't exist, it errors with user not found in kerberos db.

b) I am connected because when I disconnect, this is logged in the impala log

I0613 16:06:28.721554 12984 impala-server.cc:1641] Connection from client xxxxx:57338 closed, closing 1 associated session(s)

 

We might turn sentry off in the next few  days, see if that makes a difference.

 

If I ctrl-C out of the connect, this is the traceback

 

Traceback (most recent call last):
File "/usr/lib/impala-shell/impala_shell.py", line 1174, in <module>
shell = ImpalaShell(options)
File "/usr/lib/impala-shell/impala_shell.py", line 159, in __init__
self.do_connect(options.impalad)
File "/usr/lib/impala-shell/impala_shell.py", line 455, in do_connect
self.__connect()
File "/usr/lib/impala-shell/impala_shell.py", line 500, in __connect
self.transport.open()
File "/usr/lib/impala-shell/lib/thrift_sasl.py", line 80, in open
status, payload = self._recv_sasl_message()
File "/usr/lib/impala-shell/lib/thrift_sasl.py", line 98, in _recv_sasl_message
header = self._trans.readAll(5)
File "/usr/lib/impala-shell/lib/thrift/transport/TTransport.py", line 58, in readAll
chunk = self.read(sz - have)
File "/usr/lib/impala-shell/lib/thrift/transport/TSocket.py", line 103, in read
buff = self.handle.recv(sz)
KeyboardInterrupt

Highlighted
Explorer
Posts: 7
Registered: ‎03-27-2014

Re: impala-shell 1.3.1 problems

Sorted problem a). The packages do not stop and start impala during a package upgrade. Once we restarted all the impala services, the deserialise messages and errors reading data went away.

 

Still cannot connect with kerberos options.

Announcements