hive0.9.0与hbase0.94.0整合问题

hiall:

今天将hive和hbase升级,分别将hive升级到0.9.0,hbase升级到0.94.0,原来hadoop的环境是1.0.3,升级完后,hive和hbase能单独运行成功,当然,hadoop集群是正常启动的。但是发现,在hive中使用showtables、desctable操作,都是正常的,但是使用select的时候就会报错,查看hive的日志,有以下问题:

2012-07-2709:13:18,951WARNsnappy.LoadSnappy(LoadSnappy.java:<clinit>(46))-Snappynativelibraryn

otloaded

2012-07-2709:13:57,298WARNclient.ZooKeeperSaslClient(ZooKeeperSaslClient.java:<init>(123))-Securi

tyException:java.lang.SecurityException:无法定位登录配置occurredwhentryingtofindJAASconfigurati

on.

2012-07-2709:13:57,685ERRORmapreduce.TableInputFormatBase(TableInputFormatBase.java:getSplits(167))

-Cannotresolvethehostnamefor/172.17.1.230becauseofjavax.naming.NameNotFoundException:DNSname

notfound[responsecode3];remainingname'230.1.17.172.in-addr.arpa'

2012-07-2709:13:57,698ERRORCliDriver(SessionState.java:printError(400))-Failedwithexceptionjava

.io.IOException:java.lang.NullPointerException

java.io.IOException:java.lang.NullPointerException

atorg.apache.hadoop.hive.ql.exec.FetchOperator.getNextRow(FetchOperator.java:341)

atorg.apache.hadoop.hive.ql.exec.FetchTask.fetch(FetchTask.java:154)

atorg.apache.hadoop.hive.ql.Driver.getResults(Driver.java:1377)

atorg.apache.hadoop.hive.cli.CliDriver.processLocalCmd(CliDriver.java:269)

atorg.apache.hadoop.hive.cli.CliDriver.processCmd(CliDriver.java:215)

atorg.apache.hadoop.hive.cli.CliDriver.processLine(CliDriver.java:406)

atorg.apache.hadoop.hive.cli.CliDriver.run(CliDriver.java:689)

atorg.apache.hadoop.hive.cli.CliDriver.main(CliDriver.java:557)

但是奇怪的是,在hbase集群上,HRegionserver和HQuorumPeer进程的启动正常,上面也说了,单独使用hive或者hbase都是正常的,请问大家,这是什么原因?

相关推荐