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

Second start after migration from 90 to trunk crashes

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Blocker
    • Resolution: Fixed
    • Affects Version/s: 0.92.0
    • Fix Version/s: 0.92.0
    • Component/s: master, migration
    • Labels:
      None
    • Hadoop Flags:
      Reviewed

      Description

      I started a trunk cluster to upgrade from 90, inserted a ton of data, then did a clean shutdown. When I started again, I got the following exception:

      11/09/13 12:29:09 INFO master.HMaster: Meta has HRI with HTDs. Updating meta now.
      11/09/13 12:29:09 FATAL master.HMaster: Unhandled exception. Starting shutdown.
      java.lang.NegativeArraySizeException: -102
      at org.apache.hadoop.hbase.util.Bytes.readByteArray(Bytes.java:147)
      at org.apache.hadoop.hbase.HTableDescriptor.readFields(HTableDescriptor.java:606)
      at org.apache.hadoop.hbase.migration.HRegionInfo090x.readFields(HRegionInfo090x.java:641)
      at org.apache.hadoop.hbase.util.Writables.getWritable(Writables.java:133)
      at org.apache.hadoop.hbase.util.Writables.getWritable(Writables.java:103)
      at org.apache.hadoop.hbase.util.Writables.getHRegionInfoForMigration(Writables.java:228)
      at org.apache.hadoop.hbase.catalog.MetaEditor.getHRegionInfoForMigration(MetaEditor.java:350)
      at org.apache.hadoop.hbase.catalog.MetaEditor$1.visit(MetaEditor.java:273)
      at org.apache.hadoop.hbase.catalog.MetaReader.fullScan(MetaReader.java:633)
      at org.apache.hadoop.hbase.catalog.MetaReader.fullScan(MetaReader.java:255)
      at org.apache.hadoop.hbase.catalog.MetaReader.fullScan(MetaReader.java:235)
      at org.apache.hadoop.hbase.catalog.MetaEditor.updateMetaWithNewRegionInfo(MetaEditor.java:284)
      at org.apache.hadoop.hbase.catalog.MetaEditor.migrateRootAndMeta(MetaEditor.java:298)
      at org.apache.hadoop.hbase.master.HMaster.updateMetaWithNewHRI(HMaster.java:529)
      at org.apache.hadoop.hbase.master.HMaster.finishInitialization(HMaster.java:472)
      at org.apache.hadoop.hbase.master.HMaster.run(HMaster.java:309)

        Attachments

        1. 4388.txt
          0.8 kB
          Ted Yu
        2. 4388-v2.txt
          2 kB
          Ted Yu
        3. 4388-v3.txt
          3 kB
          Ted Yu
        4. 4388-v4.txt
          33 kB
          stack
        5. hbase-4388-root.dir.tgz
          239 kB
          stack
        6. hbase-master-nase.log
          114 kB
          Suraj Varma
        7. meta.tgz
          29 kB
          Todd Lipcon

          Issue Links

            Activity

              People

              • Assignee:
                stack stack
                Reporter:
                tlipcon Todd Lipcon
              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: