HBASE-19274 Log IOException when unable to determine the size of committed file

Signed-off-by: tedyu <yuzhihong@gmail.com>
This commit is contained in:
Guangxu Cheng 2017-11-17 11:20:46 +08:00 committed by tedyu
parent ade66e2868
commit 63b02a072a
1 changed files with 1 additions and 1 deletions

View File

@ -5958,7 +5958,7 @@ public class HRegion implements HeapSize, PropagatingConfigurationObserver, Regi
storeFilesSizes.put(commitedStoreFile.getName(), fs.getFileStatus(commitedStoreFile)
.getLen());
} catch (IOException e) {
LOG.warn("Failed to find the size of hfile " + commitedStoreFile);
LOG.warn("Failed to find the size of hfile " + commitedStoreFile, e);
storeFilesSizes.put(commitedStoreFile.getName(), 0L);
}