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-94.patch
        1 kB
        Jonathan Hsieh
      2. HBASE-5928-1.patch
        1 kB
        Elliott Clark
      3. HBASE-5928-0.patch
        0.7 kB
        Elliott Clark

        Activity

        No work has yet been logged on this 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