端口号被占用,lsof -i:10000查看端口号占用情况,kill -9 10000杀掉端口号重新启动hiveserver2;
问题:[root@hadoop ~]# hiveserver2 which: no hbase in (/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/soft/hadoop/bin:/usr/soft/hadoop/sbin:/usr/soft/hive/bin:/usr/soft/jdk/bin:/root/bin) SLF4J: Class path contains multiple SLF4J bindings. SLF4J: Found binding in [jar:file:/usr/soft/hive/lib/log4j-slf4j-impl-2.4.1.jar!/org/slf4j/impl/StaticLoggerBinder.class] SLF4J: Found binding in [jar:file:/usr/soft/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] [root@hadoop ~]# #会自动返回解决问题:
[root@hadoop ~]# jps 45552 Jps 43842 RunJar 35348 SecondaryNameNode 35061 NameNode 35158 DataNode 42935 RunJar 43529 RunJar 35500 ResourceManager 43356 RunJar 42590 RunJar 35598 NodeManager [root@hadoop ~]# kill -9 43842 #杀掉端口号重新启动hiveserver2; [root@hadoop ~]# kill -9 42935 [root@hadoop ~]# kill -9 43529 [root@hadoop ~]# kill -9 43356 [root@hadoop ~]# kill -9 42580 -bash: kill: (42580) - No such process



