hbase-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "James Taylor (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HBASE-12039) Lower log level for TableNotFoundException log message when throwing
Date Sat, 27 Sep 2014 04:23:34 GMT

    [ https://issues.apache.org/jira/browse/HBASE-12039?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14150386#comment-14150386
] 

James Taylor commented on HBASE-12039:
--------------------------------------

Changing log level to INFO or DEBUG solves the issue for us (as does removing the log line
altogether). Leaving as-is doesn't, though :-)

> Lower log level for TableNotFoundException log message when throwing
> --------------------------------------------------------------------
>
>                 Key: HBASE-12039
>                 URL: https://issues.apache.org/jira/browse/HBASE-12039
>             Project: HBase
>          Issue Type: Bug
>            Reporter: James Taylor
>            Assignee: stack
>            Priority: Minor
>             Fix For: 0.98.7, 0.94.25
>
>         Attachments: 12039-0.94.txt, 12039.txt
>
>
> Our HBase client tries to get the HTable descriptor for a table that may or may not exist.
We catch and ignore the TableNotFoundException if it occurs, but the log message appear regardless
of this which confuses our users. Would it be possible to lower the log level of this message
since the exception is already being throw (making it up to the caller how they want to handle
this).
> 14/09/20 20:01:54 WARN client.HConnectionManager$HConnectionImplementation: Encountered
problems when prefetch META table: 
> org.apache.hadoop.hbase.TableNotFoundException: Cannot find row in .META. for table:
_IDX_TEST.TESTING, row=_IDX_TEST.TESTING,,99999999999999
>         at org.apache.hadoop.hbase.client.MetaScanner.metaScan(MetaScanner.java:151)
>         at org.apache.hadoop.hbase.client.HConnectionManager$HConnectionImplementation.prefetchRegionCache(HConnectionManager.java:1059)
>         at org.apache.hadoop.hbase.client.HConnectionManager$HConnectionImplementation.locateRegionInMeta(HConnectionManager.java:1121)
>         at org.apache.hadoop.hbase.client.HConnectionManager$HConnectionImplementation.locateRegion(HConnectionManager.java:1001)
>         at org.apache.hadoop.hbase.client.HConnectionManager$HConnectionImplementation.locateRegion(HConnectionManager.java:958)
>         at org.apache.hadoop.hbase.client.HTable.finishSetup(HTable.java:251)
>         at org.apache.hadoop.hbase.client.HTable.<init>(HTable.java:243)



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

Mime
View raw message