[ https://issues.apache.org/jira/browse/HBASE-19274?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16256405#comment-16256405 ]
Guangxu Cheng commented on HBASE-19274: --------------------------------------- I also encountered a similar issue. The exception message can tell us why failed to find the size of hfile and make easier to debug. > 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: Trivial > > 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)