hbase-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Ted Yu (JIRA)" <j...@apache.org>
Subject [jira] [Resolved] (HBASE-16603) Detect unavailability of hbase:backup table to avoid extraneous logging
Date Mon, 12 Sep 2016 01:37:20 GMT

     [ https://issues.apache.org/jira/browse/HBASE-16603?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Ted Yu resolved HBASE-16603.
----------------------------
      Resolution: Fixed
        Assignee: Ted Yu
    Hadoop Flags: Reviewed

Thanks for the review, Stephen.

> 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
>            Assignee: Ted Yu
>              Labels: backup
>         Attachments: 16603.v1.txt
>
>
> 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)

Mime
View raw message