Good catch and share; Keep going 2016-04-12 15:43 GMT+08:00 qing·ye <1813724...@qq.com>:
> i resolve the problem . > > i check my hdfs log and find some information below: > > 2016-04-12 12:05:05,726 ERROR [RS_OPEN_REGION-slave2:16020-0] > handler.OpenRegionHandler: Failed open of > region=KYLIN_VKRC32OKFP,,1460433926913.73fb906719a75b2733f046e87fbe8105., > starting to roll back the global memstore size. > org.apache.hadoop.hbase.DoNotRetryIOException: Compression algorithm > 'snappy' previously failed test. at > > org.apache.hadoop.hbase.util.CompressionTest.testCompression(CompressionTest.java:91) > at > > org.apache.hadoop.hbase.regionserver.HRegion.checkCompressionCodecs(HRegion.java:6300) > at > org.apache.hadoop.hbase.regionserver.HRegion.openHRegion(HRegion.java:6251) > at > org.apache.hadoop.hbase.regionserver.HRegion.openHRegion(HRegion.java:6218) > at > org.apache.hadoop.hbase.regionserver.HRegion.openHRegion(HRegion.java:6189) > at > org.apache.hadoop.hbase.regionserver.HRegion.openHRegion(HRegion.java:6145) > at > org.apache.hadoop.hbase.regionserver.HRegion.openHRegion(HRegion.java:6096) > at > > org.apache.hadoop.hbase.regionserver.handler.OpenRegionHandler.openRegion(OpenRegionHandler.java:362) > at > > org.apache.hadoop.hbase.regionserver.handler.OpenRegionHandler.process(OpenRegionHandler.java:129) > at org.apache.hadoop.hbase.executor.EventHandler.run(EventHandler.java:129) > at > > java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145) > at > > java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) > at java.lang.Thread.run(Thread.java:745) 2016-04-12 12:05:05,727 INFO > [RS_OPEN_REGION-slave2:16020-0] coordination.ZkOpenRegionCoordination: > Opening of region {ENCODED => 73fb906719a75b2733f046e87fbe8105, NAME => > 'KYLIN_VKRC32OKFP,,1460433926913.73fb906719a75b2733f046e87fbe8105.', > STARTKEY => '', ENDKEY => '\x00\x01'} failed, transitioning from OPENING to > FAILED_OPEN in ZK, expecting version 1 2016-04-12 12:05:05,775 INFO > [PriorityRpcServer.handler=18,queue=0,port=16020] > regionserver.RSRpcServices: Open > KYLIN_VKRC32OKFP,\x00\x01,1460433926913.06978b9fb1e423563a5aae7e1df044d8. > > then i realized probably my config about Compression algorithm is wrong > so i disabled Compression algorithm of snappy by delete relative config. > > To disable compressing MR jobs you need to modify > $KYLIN_HOME/conf/kylin_job_conf.xml by removing all configuration entries > related to compression(Just grep the keyword “compress”). To disable > compressing hbase tables you need to open $KYLIN_HOME/conf/kylin.properties > and remove the line starting with kylin.hbase.default.compression.codec. > > finally, i restart my service and it works well. > > -- > View this message in context: > http://apache-kylin.74782.x6.nabble.com/an-error-occurred-when-build-a-sample-cube-at-step-5-create-HTable-tp4102p4140.html > Sent from the Apache Kylin mailing list archive at Nabble.com. > -- Best regards, Shaofeng Shi