2
HDFS에서 HBase로 데이터를로드 중입니다.Hbase 대량로드 예외 (HFile 버전)
Caused by: java.lang.IllegalArgumentException: Invalid HFile version: 2099722 (expected to be between 2 and 3)
at org.apache.hadoop.hbase.io.hfile.HFile.checkFormatVersion(HFile.java:888)
at org.apache.hadoop.hbase.io.hfile.FixedFileTrailer.readFromStream(FixedFileTrailer.java:402)
at org.apache.hadoop.hbase.io.hfile.HFile.pickReaderVersion(HFile.java:537)
Exception in thread "main" org.apache.hadoop.hbase.io.hfile.CorruptHFileException: Problem reading HFile Trailer from file hdfs:...
at org.apache.hadoop.hbase.io.hfile.HFile.pickReaderVersion(HFile.java:552)
at org.apache.hadoop.hbase.io.hfile.HFile.createReader(HFile.java:595)
수는 조언 뭔가 : 여기
FileOutputFormat.setOutputPath(job, output);
HTable table = new HTable(conf, tableName);
HFileOutputFormat.configureIncrementalLoad(job, table);
.......
LoadIncrementalHFiles loader = new LoadIncrementalHFiles(config);
loader.doBulkLoad(new Path(inPath), hTable);
은 예외인가? 사전에
감사합니다!