You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@hbase.apache.org by "Jonathan Hsieh (Created) (JIRA)" <ji...@apache.org> on 2012/02/06 20:12:02 UTC

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

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.92.0, 0.90.5
            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: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

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

Posted by "Ian Varley (JIRA)" <ji...@apache.org>.
    [ 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

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

Posted by "Jonathan Hsieh (JIRA)" <ji...@apache.org>.
     [ 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