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

Ted Yu commented on HBASE-19274:
--------------------------------

{code}
            } catch (IOException e) {
              LOG.warn("Failed to find the size of hfile " + commitedStoreFile);
              storeFilesSizes.put(commitedStoreFile.getName(), 0L);
            }
{code}
As far as I can see, the {{e}} is not logged.

> Log IOException when unable to determine the size of committed file
> -------------------------------------------------------------------
>
>                 Key: HBASE-19274
>                 URL: https://issues.apache.org/jira/browse/HBASE-19274
>             Project: HBase
>          Issue Type: Improvement
>            Reporter: Ted Yu
>            Priority: Minor
>
> During troubleshooting of slow response, I saw the following in region server 
> log:
> {code}
> 2017-10-26 14:03:53,080 WARN org.apache.hadoop.hbase.regionserver.HRegion: 
> Failed to find the size of hfile 
> hdfs://BETA/hbase/data/default/beta_b_history/e514111fae9d7ffc38ed48ad72fa197f/d/04d7c9fce73d4197be114448b1eb295a_SeqId_3766_
> {code}
> Here is related code:
> {code}
>             } catch (IOException e) {
>               LOG.warn("Failed to find the size of hfile " + 
> commitedStoreFile);
> {code}
> The exception should also be logged to facilitate debugging.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

Reply via email to