Skip to content

Commit

Permalink
HDFS-14760. Log INFO mode if snapshot usage and actual usage differ. …
Browse files Browse the repository at this point in the history
…Contributed by CR Hota.

Signed-off-by: Wei-Chiu Chuang <weichiu@apache.org>
  • Loading branch information
chittshota authored and ahussein committed Oct 29, 2019
1 parent 1caf3e8 commit 458b30d
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -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);
}
Expand Down

0 comments on commit 458b30d

Please sign in to comment.