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
e6e731cb86
commit
e8ae6d4b73
|
@ -5958,7 +5958,7 @@ public class HRegion implements HeapSize, PropagatingConfigurationObserver, Regi
|
||||||
storeFilesSizes.put(commitedStoreFile.getName(), fs.getFileStatus(commitedStoreFile)
|
storeFilesSizes.put(commitedStoreFile.getName(), fs.getFileStatus(commitedStoreFile)
|
||||||
.getLen());
|
.getLen());
|
||||||
} catch (IOException e) {
|
} 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);
|
storeFilesSizes.put(commitedStoreFile.getName(), 0L);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue