The method "getChecksumObject" does not exist in "
org.apache.hadoop.hbase.util.ChecksumType" in hbase 1.2.5. While in your
environment the "org.apache.hadoop.hbase.io.hfile.ChecksumUtil" still
invoking to it. It indicates there is a "hbase-server*.jar" which isn't
v1.2.5. Please search your environment globally to identify and remove it.

Usually we suggest using a formal release of CDH/HDP/MapR, which won't have
such version conflict. If you install these components separately, there
will be such environment issues.

2017-06-03 18:29 GMT+08:00 周湘伦 <jayzho...@gmail.com>:

> Hi,all
> When i built cube,an error occurred in step 16(Convert Cuboid Data to
> HFile).
>
> The version as belows:
> hadoop-2.8.0,hbase-1.2.5,jdk1.8.0_131,kylin-2.0.0
>
> The error logs in hadoop/userlogs,the log is shown below:
>
> 2017-06-03 17:57:04,106 FATAL [main] org.apache.hadoop.mapred.YarnChild:
> Error running child : java.lang.NoSuchMethodError:
> org.apache.hadoop.hbase.util.ChecksumType.getChecksumObject()Ljava/util/
> zip/Checksum;
>         at
> org.apache.hadoop.hbase.io.hfile.ChecksumUtil.generateChecksums(
> ChecksumUtil.java:73)
>         at
> org.apache.hadoop.hbase.io.hfile.HFileBlock$Writer.
> finishBlock(HFileBlock.java:943)
>         at
> org.apache.hadoop.hbase.io.hfile.HFileBlock$Writer.
> ensureBlockReady(HFileBlock.java:895)
>         at
> org.apache.hadoop.hbase.io.hfile.HFileBlock$Writer.
> finishBlockAndWriteHeaderAndData(HFileBlock.java:1011)
>         at
> org.apache.hadoop.hbase.io.hfile.HFileBlock$Writer.
> writeHeaderAndData(HFileBlock.java:997)
>         at
> org.apache.hadoop.hbase.io.hfile.HFileBlockIndex$BlockIndexWriter.
> writeIndexBlocks(HFileBlockIndex.java:883)
>         at
> org.apache.hadoop.hbase.io.hfile.HFileWriterV2.close(
> HFileWriterV2.java:331)
>         at
> org.apache.hadoop.hbase.regionserver.StoreFile$Writer.
> close(StoreFile.java:996)
>         at
> org.apache.hadoop.hbase.mapreduce.HFileOutputFormat2$
> 1.close(HFileOutputFormat2.java:269)
>         at
> org.apache.hadoop.hbase.mapreduce.HFileOutputFormat2$
> 1.close(HFileOutputFormat2.java:277)
>         at
> org.apache.hadoop.mapred.ReduceTask$NewTrackingRecordWriter.close(
> ReduceTask.java:550)
>         at
> org.apache.hadoop.mapred.ReduceTask.runNewReducer(ReduceTask.java:629)
>         at org.apache.hadoop.mapred.ReduceTask.run(ReduceTask.java:389)
>         at org.apache.hadoop.mapred.YarnChild$2.run(YarnChild.java:175)
>         at java.security.AccessController.doPrivileged(Native Method)
>         at javax.security.auth.Subject.doAs(Subject.java:422)
>         at
> org.apache.hadoop.security.UserGroupInformation.doAs(
> UserGroupInformation.java:1807)
>         at org.apache.hadoop.mapred.YarnChild.main(YarnChild.java:169)
>
> According to others' suggest,i had copy jars which in hadoop-2.8.0 to
> hbase-1.2.5,but the problem is still not resolved.
>
> How can we solve the problem?
>
> Thanks a lot.
>



-- 
Best regards,

Shaofeng Shi 史少锋

Reply via email to