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

TableNotFoundException: hbase:quota is thrown when region server is restarted.

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 3.0.0, 2.3.0, 2.1.7, 2.2.2
    • Component/s: Quotas
    • Labels:
      None
    • Hadoop Flags:
      Reviewed

      Description

      During Master startup if quota feature is enabled and region server is running TableNotFoundException occurs in regionServer logs

      SpaceQuotaRefresherChore does not checks whether hbase:quota table is present,before starting its operation which sometimes may result to TableNotFoundExceptions like below.

      This is because master has not created the hbase:quota table and SpaceQuotaRefresherChore is running.

      
      java.io.UncheckedIOException: org.apache.hadoop.hbase.
      TableNotFoundException: hbase:quota
      at org.apache.hadoop.hbase.client.ResultScanner$1.hasNext(ResultScanner.java:55)
       at org.apache.hadoop.hbase.quotas.SpaceQuotaRefresherChore.fetchSnapshotsFromQuotaTable(SpaceQuotaRefresherChore.java:170)
       at org.apache.hadoop.hbase.quotas.SpaceQuotaRefresherChore.chore(SpaceQuotaRefresherChore.java:84)
       at org.apache.hadoop.hbase.ScheduledChore.run(ScheduledChore.java:186)
       at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
       at java.util.concurrent.FutureTask.runAndReset(FutureTask.java:308)
       at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$301(ScheduledThreadPoolExecutor.java:180)
       at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:294)
       at org.apache.hadoop.hbase.JitterScheduledThreadPoolExecutorImpl$JitteredRunnableScheduledFuture.run(JitterScheduledThreadPoolExecutorImpl.java:111)
       at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
       at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
       at java.lang.Thread.run(Thread.java:748)
      

       

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                shardulsingh Shardul Singh
                Reporter:
                shardulsingh Shardul Singh
              • Votes:
                0 Vote for this issue
                Watchers:
                5 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: