select * from table是不走mapreduce.
一旦其它就走了,应该是配置的问题。
这里配置是否正确
[mw_shl_code=xml,true]<property>
<name>hive.aux.jars.path</name>
<value>file:///usr/hive/lib/hive-hbase-handler-0.13.0-SNAPSHOT.jar,file:///usr/hive/lib/protobuf-java-2.5.0.jar,file:///usr/hive/lib/hbase-client-0.96.0-hadoop2.jar,file:///usr/hive/lib/hbase-common-0.96.0-hadoop2.jar,file:///usr/hive/lib/zookeeper-3.4.5.jar,file:///usr/hive/lib/guava-11.0.2.jar</value>
</property>[/mw_shl_code]
更多参考
hbase0.96与hive0.12整合高可靠文档及问题总结
|