HDFS-14760. Log INFO mode if snapshot usage and actual usage differ. Contributed by CR Hota.
Signed-off-by: Wei-Chiu Chuang <weichiu@apache.org>
This commit is contained in:
parent
6f068cf53f
commit
6e37d65b03
@ -140,7 +140,7 @@ ContentSummaryComputationContext computeContentSummary(final INodeDirectory dir,
|
||||
|
||||
private void checkStoragespace(final INodeDirectory dir, final long computed) {
|
||||
if (-1 != quota.getStorageSpace() && usage.getStorageSpace() != computed) {
|
||||
NameNode.LOG.error("BUG: Inconsistent storagespace for directory "
|
||||
NameNode.LOG.warn("BUG: Inconsistent storagespace for directory "
|
||||
+ dir.getFullPathName() + ". Cached = " + usage.getStorageSpace()
|
||||
+ " != Computed = " + computed);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user