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

Hbck shouldn't npe when there are no tables.

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • 0.92.1, 0.94.0, 0.95.2
    • 0.94.1, 0.95.0
    • None
    • None
    • 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)

      Attachments

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

        Activity

          People

            eclark Elliott Neil Clark
            eclark Elliott Neil Clark
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: