Wyy_Ck 发表于 2017-9-20 11:19 既然报了错,先添加进去。 |
nextuser 发表于 2017-9-20 08:12 OK Hbase 是必须的吗? |
Wyy_Ck 发表于 2017-9-19 23:34 which: no hbase in (/opt/java/jdk/bin:/opt/zookeeper/bin:/opt/scala/bin:/opt/hive/bin:/opt/spark/bin:/opt/hadoop/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/root/bin) 上面括号中确实没有hbase的配置。 SLF4J: Class path contains multiple SLF4J bindings.这个错误是因为多个地方都包含了这个jar包 |
配置文件修改为: [mw_shl_code=shell,true]<property> <name>hadoop.proxyuser.root.hosts</name> <value>*</value> </property> <property> <name>hadoop.proxyuser.root.groups</name> <value>*</value> </property> [/mw_shl_code] |
后面 我处理了下 有出现现在问题: [mw_shl_code=shell,true][root@master ~]# beeline -u jdbc:hive2://master:10000/default -n root which: no hbase in (/opt/java/jdk/bin:/opt/zookeeper/bin:/opt/scala/bin:/opt/hive/bin:/opt/spark/bin:/opt/hadoop/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/root/bin) SLF4J: Class path contains multiple SLF4J bindings. SLF4J: Found binding in [jar:file:/opt/hive/lib/log4j-slf4j-impl-2.4.1.jar!/org/slf4j/impl/StaticLoggerBinder.class] SLF4J: Found binding in [jar:file:/opt/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] Connecting to jdbc:hive2://master:10000/default [/mw_shl_code] |