当前位置:   article > 正文

hiveserver2总是启动不起来_hiveserver2启动[fatal error] :-1:-1: premature end o

hiveserver2启动[fatal error] :-1:-1: premature end of file.

在这里插入图片描述

问题1:端口占用

启动情况如下

lcc@lcc conf$
lcc@lcc conf$ hive --service hiveserver2
SLF4J: Class path contains multiple SLF4J bindings.
SLF4J: Found binding in [jar:file:/Users/lcc/soft/hive/hive/lib/log4j-slf4j-impl-2.6.2.jar!/org/slf4j/impl/StaticLoggerBinder.class]
SLF4J: Found binding in [jar:file:/Users/lcc/soft/hadoop/hadoop/share/hadoop/common/lib/slf4j-log4j12-1.7.10.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]
lcc@lcc conf$
  • 1
  • 2
  • 3
  • 4
  • 5
  • 6
  • 7
  • 8

结果启动结束了,看日志直接报错

2018-06-29T15:09:37,723 ERROR [Thread-9] thrift.ThriftCLIService: Error starting HiveServer2: could not start ThriftBinaryCLIService
org.apache.thrift.transport.TTransportException
  • 1
声明:本文内容由网友自发贡献,转载请注明出处:【wpsshop】
推荐阅读
相关标签
  

闽ICP备14008679号