You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@hbase.apache.org by "Ted Yu (JIRA)" <ji...@apache.org> on 2016/09/09 20:46:20 UTC

[jira] [Created] (HBASE-16603) Detect unavailability of hbase:backup table to avoid extraneous logging

Ted Yu created HBASE-16603:
------------------------------

             Summary: Detect unavailability of hbase:backup table to avoid extraneous logging
                 Key: HBASE-16603
                 URL: https://issues.apache.org/jira/browse/HBASE-16603
             Project: HBase
          Issue Type: Bug
            Reporter: Ted Yu


We observed the following when hbase:backup was not available:
{code}
2016-09-07 13:32:11,471 ERROR [x,16000,1473269229816_ChoreService_1] master.BackupLogCleaner: Failed to get hbase:backup table, therefore will keep all files
org.apache.hadoop.hbase.TableNotFoundException: hbase:backup
        at org.apache.hadoop.hbase.client.ConnectionManager$HConnectionImplementation.locateRegionInMeta(ConnectionManager.java:1264)
        at org.apache.hadoop.hbase.client.ConnectionManager$HConnectionImplementation.locateRegion(ConnectionManager.java:1162)
        at org.apache.hadoop.hbase.client.RpcRetryingCallerWithReadReplicas.getRegionLocations(RpcRetryingCallerWithReadReplicas.java:300)
        at org.apache.hadoop.hbase.client.ScannerCallableWithReplicas.call(ScannerCallableWithReplicas.java:156)
        at org.apache.hadoop.hbase.client.ScannerCallableWithReplicas.call(ScannerCallableWithReplicas.java:60)
        at org.apache.hadoop.hbase.client.RpcRetryingCaller.callWithoutRetries(RpcRetryingCaller.java:200)
        at org.apache.hadoop.hbase.client.ClientScanner.call(ClientScanner.java:326)
        at org.apache.hadoop.hbase.client.ClientScanner.nextScanner(ClientScanner.java:301)
        at org.apache.hadoop.hbase.client.ClientScanner.initializeScannerInConstruction(ClientScanner.java:166)
        at org.apache.hadoop.hbase.client.ClientScanner.<init>(ClientScanner.java:161)
        at org.apache.hadoop.hbase.client.HTable.getScanner(HTable.java:794)
        at org.apache.hadoop.hbase.backup.impl.BackupSystemTable.hasBackupSessions(BackupSystemTable.java:573)
        at org.apache.hadoop.hbase.backup.master.BackupLogCleaner.getDeletableFiles(BackupLogCleaner.java:67)
        at org.apache.hadoop.hbase.master.cleaner.CleanerChore.checkAndDeleteFiles(CleanerChore.java:233)
        at org.apache.hadoop.hbase.master.cleaner.CleanerChore.checkAndDeleteEntries(CleanerChore.java:157)
        at org.apache.hadoop.hbase.master.cleaner.CleanerChore.chore(CleanerChore.java:124)
        at org.apache.hadoop.hbase.ScheduledChore.run(ScheduledChore.java:185)
        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)
{code}
We should detect the unavailability of hbase:backup table and log at lower level than ERROR.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)