[ https://issues.apache.org/jira/browse/HBASE-5340?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Jonathan Hsieh resolved HBASE-5340. ----------------------------------- Resolution: Won't Fix I'm going to close this since the codebase as moved on (this was likely pre atomic bulk load, 90.5ish era). If I encounter again, I'll open a new issue. > HFile/LoadIncrementalHFiles should specify file name when it fails to load a > file. > ---------------------------------------------------------------------------------- > > Key: HBASE-5340 > URL: https://issues.apache.org/jira/browse/HBASE-5340 > Project: HBase > Issue Type: Bug > Affects Versions: 0.90.5, 0.92.0 > Reporter: Jonathan Hsieh > > I was attempting to do a bulk load and got this error message. Unfortunately > it didn't tell me which file had the problem. > {code} > Exception in thread "main" java.io.IOException: Trailer 'header' is wrong; > does the trailer size match content? > at > org.apache.hadoop.hbase.io.hfile.HFile$FixedFileTrailer.deserialize(HFile.java:1527) > at > org.apache.hadoop.hbase.io.hfile.HFile$Reader.readTrailer(HFile.java:885) > at > org.apache.hadoop.hbase.io.hfile.HFile$Reader.loadFileInfo(HFile.java:819) > at > org.apache.hadoop.hbase.mapreduce.LoadIncrementalHFiles.tryLoad(LoadIncrementalHFiles.java:204) > at > org.apache.hadoop.hbase.mapreduce.LoadIncrementalHFiles.doBulkLoad(LoadIncrementalHFiles.java:173) > at > org.apache.hadoop.hbase.mapreduce.LoadIncrementalHFiles.run(LoadIncrementalHFiles.java:452) > at org.apache.hadoop.util.ToolRunner.run(ToolRunner.java:65) > at org.apache.hadoop.util.ToolRunner.run(ToolRunner.java:79) > at > org.apache.hadoop.hbase.mapreduce.LoadIncrementalHFiles.main(LoadIncrementalHFiles.java:457) > {code} -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira