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.
其实这个错误我上次就碰到了,乍一看貌似问题出在两个方面
1.连接zk失败
2.worker.threads少了?
检查1 连接zk成功,显示hiveserver2节点ok
检查2 不用检查 这个值默认是200 根本没这么多人用
那问题出在哪?
憨憨啊 要用引号括起来
beeline -u "jdbc:hive2://node04.data.com:2181,node06.data.com:2181,node08.data.com:2181/;serviceDiscoveryMode=zooKeeper;zooKeeperNamespace=hiveserver2"