错误信息:
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.
原因:
在hive-site.xml中配置了:
<property>
<name>hive.server2.authentication</name>
<value>NOSASL</value>
</property>
解决方案:
将hive.server2.authentication 配置改为NONE或者beeline连接时用:/usr/bin/beeline -n platform -u jdbc:hive2://xxxx:10501/tmp;auth=noSasl