Support Questions
Find answers, ask questions, and share your expertise

org.apache.thrift.transport.TTransportException: Invalid status -128 ,CDH 6.2.1 , no kerb

New Contributor

Please help on the below :


[HiveServer2-Handler-Pool: Thread-13365]: Error occurred during processing of message. java.lang.RuntimeException: org.apache.thrift.transport.TTransportException: Invalid status -128 at org.apache.thrift.transport.TSaslServerTransport$Factory.getTransport( ~[hive-exec-2.1.1-cdh6.2.1.jar:2.1.1-cdh6.2.1] at org.apache.thrift.server.TThreadPoolServer$ [hive-exec-2.1.1-cdh6.2.1.jar:2.1.1-cdh6.2.1] at java.util.concurrent.ThreadPoolExecutor.runWorker( [?:1.8.0_181] at java.util.concurrent.ThreadPoolExecutor$ [?:1.8.0_181] at [?:1.8.0_181] Caused by: org.apache.thrift.transport.TTransportException: Invalid status -128 at org.apache.thrift.transport.TSaslTransport.sendAndThrowMessage( ~[hive-exec-2.1.1-cdh6.2.1.jar:2.1.1-cdh6.2.1] at org.apache.thrift.transport.TSaslTransport.receiveSaslMessage( ~[hive-exec-2.1.1-cdh6.2.1.jar:2.1.1-cdh6.2.1] at org.apache.thrift.transport.TSaslServerTransport.handleSaslStartMessage( ~[hive-exec-2.1.1-cdh6.2.1.jar:2.1.1-cdh6.2.1] at ~[hive-exec-2.1.1-cdh6.2.1.jar:2.1.1-cdh6.2.1] at ~[hive-exec-2.1.1-cdh6.2.1.jar:2.1.1-cdh6.2.1] at org.apache.thrift.transport.TSaslServerTransport$Factory.getTransport( ~[hive-exec-2.1.1-cdh6.2.1.jar:2.1.1-cdh6.2.1] ... 4 more


@shrimaha Not very much clear from the logs but you might be hitting something similar reported here :


Was your question answered? Make sure to mark the answer as the accepted solution.
If you find a reply useful, say thanks by clicking on the thumbs up button.

New Contributor

have configured postgres as external db .. there were issues in connecting to hive ..So have already replaced postgres jdbc jars with latest ones available .Please help to resolve the same .


@shrimaha It looks like you're using wrong jdbc connection string to connect to Hive, could you please check your connection string details once.




New Contributor

The Issue was due postgresql jdbc jar whcih comes with Cdh was not latest .


I had manually downloaded the latest jars and replaced the old ones and then the issue was resolved .

Thanks for the help !!!

; ;