HBase
  1. HBase
  2. HBASE-5928

Hbck shouldn't npe when there are no tables.

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Minor Minor
    • Resolution: Fixed
    • Affects Version/s: 0.92.1, 0.94.0, 0.95.2
    • Fix Version/s: 0.94.1, 0.95.0
    • Component/s: None
    • Labels:
      None
    • Hadoop Flags:
      Reviewed

      Description

      hbase fsck errors out when there are no tables.

      Exception in thread "main" java.lang.NullPointerException
      at org.apache.hadoop.hbase.util.HBaseFsck.reportTablesInFlux(HBaseFsck.java:560)
      at org.apache.hadoop.hbase.util.HBaseFsck.onlineConsistencyRepair(HBaseFsck.java:346)
      at org.apache.hadoop.hbase.util.HBaseFsck.onlineHbck(HBaseFsck.java:382)
      at org.apache.hadoop.hbase.util.HBaseFsck.main(HBaseFsck.java:3120)

      1. HBASE-5928-0.patch
        0.7 kB
        Elliott Clark
      2. HBASE-5928-1.patch
        1 kB
        Elliott Clark
      3. hbase-5928-94.patch
        1 kB
        Jonathan Hsieh

        Activity

        Lars Hofhansl made changes -
        Fix Version/s 0.94.1 [ 12320257 ]
        stack made changes -
        Fix Version/s 0.95.0 [ 12324094 ]
        Fix Version/s 0.92.2 [ 12319888 ]
        Fix Version/s 0.96.0 [ 12320040 ]
        Fix Version/s 0.94.1 [ 12320257 ]
        Lars Hofhansl made changes -
        Status Resolved [ 5 ] Closed [ 6 ]
        Jonathan Hsieh made changes -
        Affects Version/s 0.92.1 [ 12318551 ]
        Affects Version/s 0.94.0 [ 12316419 ]
        Affects Version/s 0.96.0 [ 12320040 ]
        Jonathan Hsieh made changes -
        Status Patch Available [ 10002 ] Resolved [ 5 ]
        Hadoop Flags Reviewed [ 10343 ]
        Fix Version/s 0.92.2 [ 12319888 ]
        Fix Version/s 0.96.0 [ 12320040 ]
        Fix Version/s 0.94.1 [ 12320257 ]
        Resolution Fixed [ 1 ]
        Jonathan Hsieh made changes -
        Attachment hbase-5928-94.patch [ 12525536 ]
        Elliott Clark made changes -
        Attachment HBASE-5928-1.patch [ 12525529 ]
        Elliott Clark made changes -
        Status Open [ 1 ] Patch Available [ 10002 ]
        Elliott Clark made changes -
        Field Original Value New Value
        Attachment HBASE-5928-0.patch [ 12525489 ]
        Elliott Clark created issue -

          People

          • Assignee:
            Elliott Clark
            Reporter:
            Elliott Clark
          • Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development