Uploaded image for project: 'HBase'
  1. HBase
  2. HBASE-5340

HFile/LoadIncrementalHFiles should specify file name when it fails to load a file.

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Won't Fix
    • 0.90.5, 0.92.0
    • None
    • None
    • None

    Description

      I was attempting to do a bulk load and got this error message. Unfortunately it didn't tell me which file had the problem.

      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)
      

      Attachments

        Activity

          People

            Unassigned Unassigned
            jmhsieh Jonathan Hsieh
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: