zinking opened a new issue #1170:
URL: https://github.com/apache/incubator-kyuubi/issues/1170


   ### Code of Conduct
   
   - [X] I agree to follow this project's [Code of 
Conduct](https://www.apache.org/foundation/policies/conduct)
   
   
   ### Search before asking
   
   - [X] I have searched in the 
[issues](https://github.com/apache/incubator-kyuubi/issues?q=is%3Aissue) and 
found no similar issues.
   
   
   ### Describe the bug
   
   versions: 
   spark 3.1.1
   hdfs 3.2.1
   hive 3.1.2
   
   after connected to kyuubi console using beeline and issued the first 
command.  console replies 
   
   ```
   0: jdbc:hive2://xxx-header-1:10009/> select 1 + 1;
   Unexpected end of file when reading from HS2 server. The root cause might be 
too many concurrent connections. Please ask the administrator to check the 
number of active connections, and adjust hive.server2.thrift.max.worker.threads 
if applicable.
   Error: org.apache.thrift.transport.TTransportException (state=08S01,code=0)
   
   ```
   
   I've seen SO answers asking to change hive thrift protocol to `http` etc.  
doesn't work and doesn't make sense.
   
   ### Affects Version(s)
   
   branch-1.3
   
   ### Kyuubi Server Log Output
   
   ```logtalk
   21/09/27 20:01:04 ERROR TThreadPoolServer: Thrift error occurred during 
processing of message.
   org.apache.thrift.protocol.TProtocolException: Missing version in 
readMessageBegin, old client?
           at 
org.apache.thrift.protocol.TBinaryProtocol.readMessageBegin(TBinaryProtocol.java:228)
           at org.apache.thrift.TBaseProcessor.process(TBaseProcessor.java:27)
           at 
org.apache.kyuubi.service.authentication.TSetIpAddressProcessor.process(TSetIpAddressProcessor.scala:36)
           at 
org.apache.thrift.server.TThreadPoolServer$WorkerProcess.run(TThreadPoolServer.java:286)
           at 
java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
           at 
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
           at java.lang.Thread.run(Thread.java:748)
   ```
   
   
   ### Kyuubi Engine Log Output
   
   ```logtalk
   21/09/27 19:39:36 ERROR [ThriftFrontendServiceHandler-Pool: Thread-131] 
TThreadPoolServer: Thrift error occurred during processing of message.
   org.apache.thrift.transport.TTransportException
           at 
org.apache.thrift.transport.TIOStreamTransport.read(TIOStreamTransport.java:132)
           at org.apache.thrift.transport.TTransport.readAll(TTransport.java:86)
           at 
org.apache.thrift.transport.TSaslTransport.readLength(TSaslTransport.java:374)
           at 
org.apache.thrift.transport.TSaslTransport.readFrame(TSaslTransport.java:451)
           at 
org.apache.thrift.transport.TSaslTransport.read(TSaslTransport.java:433)
           at 
org.apache.thrift.transport.TSaslServerTransport.read(TSaslServerTransport.java:43)
           at org.apache.thrift.transport.TTransport.readAll(TTransport.java:86)
           at 
org.apache.thrift.protocol.TBinaryProtocol.readAll(TBinaryProtocol.java:425)
           at 
org.apache.thrift.protocol.TBinaryProtocol.readI32(TBinaryProtocol.java:321)
           at 
org.apache.thrift.protocol.TBinaryProtocol.readMessageBegin(TBinaryProtocol.java:225)
           at org.apache.thrift.TBaseProcessor.process(TBaseProcessor.java:27)
           at 
org.apache.kyuubi.service.authentication.TSetIpAddressProcessor.process(TSetIpAddressProcessor.scala:36)
           at 
org.apache.thrift.server.TThreadPoolServer$WorkerProcess.run(TThreadPoolServer.java:310)
           at 
java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
           at 
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
           at java.lang.Thread.run(Thread.java:748)
   ```
   
   
   ### Kyuubi Server Configurations
   
   ```yaml
   nothing special
   
   auth=None
   ```
   
   
   ### Kyuubi Engine Configurations
   
   _No response_
   
   ### Additional context
   
   _No response_
   
   ### Are you willing to submit PR?
   
   - [X] Yes I am willing to submit a PR!


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


Reply via email to