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:
parent
ade66e2868
commit
63b02a072a
|
@ -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);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue