首页 新闻 搜索 专区 学院

调用hbase官方包hbase-server-1.3.1.jar报错:java.lang.ArrayIndexOutOfBoundsException: 2

0
悬赏园豆:200 [待解决问题]

在hbase中建立一张空表test,调用官方包的rowcount方法报错,错误如下:

[rootename0lheatmap]#hadoopjar/data/hdfs/hbase-1.3.1/lib/hbase-server-1.3.1.jarrowcountertest
SLF4]:Class path contains multiple SLF4Jbindings.
SLF4J:Found binding in [iar:file:/data/hdfs/hadoop-2.6.4/share/hadoop/common/lib/slf4j-log4j12-1.7.5.jar!/org/slf4j/impl/StaticLoggerBinder.class]
SLF4]:Found binding in [jar:file:/data/hdfs/hbase-1.3.1/lib/slf4j-10g4j12-1.7.5.jar!/org/slf4j/impl/staticLoggerBinder.class]
SLF4J:See http://ww.slf4j.org/codes.htm... for an explanation.
SLF4]:Actual binding is of type [org.slf4j.impl.Log4jLoggerFactory]
21/10/1415:20:47INFO client.RMProxy:Connecting to ResourceManager atname01/10.0.20.58:8032
21/10/1415:20:48INFO zookeeper.RecoverableZooKeeper:Processidentifier=hconnection-0xc35af2aconnecting to ZooKeeper ensemble=name01:2181,name02:2181.data03:2181
21/10/1415:20:48 INFO z00keeper.ZooKeeper:Client environment:zookeeper.version=3.4.6-1569965,builton 02/20/201409:09GMT
21/10/1415:20:48 INFO zookeeper.ZooKeeper: CLient environment:host.name=name01
21/10/1415:20:48 INFO z0okeeper.Z0oKeeper: CLient environment:java.version=1.8.0131
21/10/1415:20:48INFO zookeeper.ZooKeeper: CLient enviromment:java.vendor=Oracle Corporation
21/10/1415:20:48INFO z00keeper.ZooKeeper: CLient environment:java.home=/usr/java/idk1.8.013l/ire

21/10/1415:20:48 INFO mapreduce.JobSubmitter:number of splits:1
21/10/1415:20:48 INFO Confiquration.deprecation:io.bytes.per.checksum is deprecated.Instead,use dfs.bytes-per-checksum
21/10/1415:20:48INFO mapreduce.JobSubmitter:Submitting tokens forjob:job_1634123528723_0013
21/10/1415:20:48 INFO impl.YarnClientImpl:Submitted application application 16341235287230013
21/10/1415:20:48 INFO mapreduce.Job:The url to track thejob:http://name01:8088/proxy/appl... 0013/
21/10/1415:20:48INFOmapreduce.Job:Runningjob:j0b16341235287230013
21/10/1415:20:52 INFO mapreduce.Job:Job job_1634123528723_0013running in uber mode:false
21/10/1415:20:52INFO mapreduce.Job:map reduce
21/10/1415:20:55INFO mapreduce.Job:Task Id:attempt_1634123528723_0013m_0000000,Status:FAILED
Error:java.lang.ArrayIndexOutofBoundsException:2

at org.apache.hadoop.hbase.mapreduce.TableSplitsVersion.fromCode(TableSplit.java:75)
atorg.apache.hadoop.hbase.mapreduce.Tablesplit.readFields(TableSplit.java:277
atorg.apache.hadoop.io.serializer.WritableSerializationswritableDeserializer.deserialize(WritableSerialization.java:71
at org.apache.hadoop.io.serializer.WritableSerializationswritableDeserializer.deserialize(writableSerialization.java:42)
atorg.apache.hadoop.mapred.MapTask.getSplitDetails(MapTask.java:372)
atorg.apache.hadoop.mapred.MapTask.runNewMapper(MapTask.java:751)
atorg.apache.hadoop.mapred.MapTask.run(MapTask.java:341
atorg.apache.hadoop.mapred.YarnChilds2.run(YarnChild.java:163)
atjava.security.AccessController.doPrivileged(Native Method)
atjavax.security.auth.Subject.doAs(Subject.java:422)
atorg.apache.hadoop.security.UserGroupInfomation.doAs(UserGroupInfomation.java:1656)
hbase中表结构如下:

hbase(main):021:6describe test
Table test iS ENABLED
test
COLUHNFAMILIESDESCRIPTION
NAMEinfo,BLOOMFILTER > ROW,VERSIONS >1,INMEMORYfalse,KEEPDELETED CELLSFALSE',DATABLOCKENCODINGNONE',TTLFOREVER,COMPRESSIONNONE',MINVERSIONS,BLOCKCACHEtrue
BLOCKSIZE= 65536,REPLICATIONSCOPE=
1row(s)in0.0110seconds
hbase(main):022:0scantest
ROW COLUMNHCELL
0row(s)in0.0130seconds
不知道有没有人遇到相同的问题。。

bossCD的主页 bossCD | 初学一级 | 园豆:2
提问于:2021-10-14 16:20

你这个图太小了,看不清的

快乐的凡人721 1个月前

@快乐的凡人721: 哦哦,重新传了

bossCD 1个月前
< >
分享
所有回答(0)
清除回答草稿
   您需要登录以后才能回答,未注册用户请先注册