[
https://issues.apache.org/jira/browse/HDFS-14760?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16917432#comment-16917432
]
Hudson commented on HDFS-14760:
-------------------------------
FAILURE: Integrated in Jenkins build Hadoop-trunk-Commit #17192 (See
[https://builds.apache.org/job/Hadoop-trunk-Commit/17192/])
HDFS-14760. Log INFO mode if snapshot usage and actual usage differ. (weichiu:
rev 6e37d65b03ff57cca25a46695ca3852da795d6f7)
* (edit)
hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/server/namenode/DirectoryWithQuotaFeature.java
> Log INFO mode if snapshot usage and actual usage differ
> -------------------------------------------------------
>
> Key: HDFS-14760
> URL: https://issues.apache.org/jira/browse/HDFS-14760
> Project: Hadoop HDFS
> Issue Type: Improvement
> Reporter: CR Hota
> Assignee: CR Hota
> Priority: Major
> Fix For: 3.3.0
>
> Attachments: HDFS-14760.001.patch, HDFS-14760.002.patch
>
>
> In DirectoryWithQuotaFeature#checkStoragespace code logs in error mode
> without throwing any exceptions or action and pollutes logs. This should be
> in INFO mode.
> {code}
> private void checkStoragespace(final INodeDirectory dir, final long
> computed) {
> if (-1 != quota.getStorageSpace() && usage.getStorageSpace() != computed)
> {
> NameNode.LOG.error("BUG: Inconsistent storagespace for directory "
> + dir.getFullPathName() + ". Cached = " + usage.getStorageSpace()
> + " != Computed = " + computed);
> }
> }
> {code}
--
This message was sent by Atlassian Jira
(v8.3.2#803003)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]