Could not open client transport with JDBC Uri: jdbc:hive2

172.20.85.44 | FAILED | rc=1 >>
SLF4J: Class path contains multiple SLF4J bindings.
SLF4J: Found binding in [jar:file:/opt/cloudera/parcels/CDH-6.0.1-1.cdh6.0.1.p0.590678/jars/log4j-slf4j-impl-2.8.2.jar!/org/slf4j/impl/StaticLoggerBinder.class]
SLF4J: Found binding in [jar:file:/opt/cloudera/parcels/CDH-6.0.1-1.cdh6.0.1.p0.590678/jars/slf4j-log4j12-1.7.25.jar!/org/slf4j/impl/StaticLoggerBinder.class]
SLF4J: See http://www.slf4j.org/codes.html#multiple_bindings for an explanation.
SLF4J: Actual binding is of type [org.apache.logging.slf4j.Log4jLoggerFactory]
19/01/07 10:33:02 [main]: WARN jdbc.HiveConnection: Failed to connect to 172.20.15.11:21050
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: Could not open client transport with JDBC Uri: jdbc:hive2://172.20.15.11:21050/default: null (state=08S01,code=0)
Cannot run commands specified using -e. No current connectionnon-zero return code

Error: Could not open client transport with JDBC Uri: jdbc:hive2://172.20.15.12:10000/default: Peer indicated failure: Error validating the login (state=08S01,code=0)

image

解决方法:

hive.server2.thrift.max.worker.threads =100   改成

hive.server2.thrift.max.worker.threads =1000

您可以选择一种方式赞助本站

发表评论

:?: :razz: :sad: :evil: :!: :smile: :oops: :grin: :eek: :shock: :???: :cool: :lol: :mad: :twisted: :roll: :wink: :idea: :arrow: :neutral: :cry: :mrgreen:

图片 表情