You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@hbase.apache.org by "Ian Varley (JIRA)" <ji...@apache.org> on 2012/08/29 15:27:08 UTC

[jira] [Commented] (HBASE-5340) HFile/LoadIncrementalHFiles should specify file name when it fails to load a file.

    [ https://issues.apache.org/jira/browse/HBASE-5340?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13444046#comment-13444046 ] 

Ian Varley commented on HBASE-5340:
-----------------------------------

Hsieh, does this issue still apply? I did a codebase search and that phrase ("does the trailer size match content") doesn't appear to exist any longer, so I'm assuming HFilev2 might have fixed this.
                
> 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