从hive0.10升级到hive 0.12

时间:2014-07-01 14:00:02

标签: mapreduce hive hbase

我已将蜂巢从hive 0.10升级到hive 0.12,hive 0.10之前工作正常,但现在使用hive 0.12我遇到异常,当我执行像 从table1中选择count(*),任何帮助都将非常感谢,谢谢!

我有hadoop 1.0.3,hbase 0.92.1,hive 0.12

java.lang.NegativeArraySizeException: -1
at org.apache.hadoop.hbase.util.Bytes.readByteArray(Bytes.java:147)
at org.apache.hadoop.hbase.mapreduce.TableSplit.readFields(TableSplit.java:133)
at org.apache.hadoop.hive.hbase.HBaseSplit.readFields(HBaseSplit.java:53)
at org.apache.hadoop.hive.ql.io.HiveInputFormat$HiveInputSplit.readFields(HiveInputFormat.java:151)
at org.apache.hadoop.io.serializer.WritableSerialization$WritableDeserializer.deserialize(WritableSerialization.java:67)
at org.apache.hadoop.io.serializer.WritableSerialization$WritableDeserializer.deserialize(WritableSerialization.java:40)
at org.apache.hadoop.mapred.MapTask.getSplitDetails(MapTask.java:396)
at org.apache.hadoop.mapred.MapTask.runOldMapper(MapTask.java:412)
at org.apache.hadoop.mapred.MapTask.run(MapTask.java:372)
at org.apache.hadoop.mapred.Child$4.run(Child.java:255)
at java.security.AccessController.doPrivileged(Native Method)
at javax.security.auth.Subject.doAs(Subject.java:396)
at org.apache.hadoop.security.UserGroupInformation.doAs(UserGroupInformation.java:1121)
at org.apache.hadoop.mapred.Child.main(Child.java:249)

hive> describe tct;
OK
deviceid                string                  from deserializer   
level                   int                     from deserializer   
stage                   int                     from deserializer   
ispayer                 string                  from deserializer   

0 个答案:

没有答案