[ https://issues.apache.org/jira/browse/HDFS-9396?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15001366#comment-15001366 ]
Hudson commented on HDFS-9396: ------------------------------ FAILURE: Integrated in Hadoop-Yarn-trunk-Java8 #671 (See [https://builds.apache.org/job/Hadoop-Yarn-trunk-Java8/671/]) HDFS-9396. Total files and directories on jmx and web UI on standby is (kihwal: rev a2a104f3d30182953db6690304146f0a582ed241) * hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/server/namenode/FSDirectory.java * hadoop-hdfs-project/hadoop-hdfs/src/test/java/org/apache/hadoop/hdfs/server/namenode/ha/TestHAMetrics.java * hadoop-hdfs-project/hadoop-hdfs/CHANGES.txt > Total files and directories on jmx and web UI on standby is uninitialized > ------------------------------------------------------------------------- > > Key: HDFS-9396 > URL: https://issues.apache.org/jira/browse/HDFS-9396 > Project: Hadoop HDFS > Issue Type: Bug > Reporter: Kihwal Lee > Assignee: Kihwal Lee > Priority: Blocker > Fix For: 3.0.0, 2.8.0 > > Attachments: HDFS-9396.patch, HDFS-9396.v2.patch > > > After HDFS-6763, the quota on the standby namenode is not being updated until > it transitions to active. This causes the jmx and the web ui files and dir > count to be uninitialized or unupdated. In some cases it shows a negative > number. > It is because the legacy way of getting the inode count, which existed since > before the creation of inode table. It relies on the root inode's quota being > properly updated. We can make it simply return the size of the inode table. -- This message was sent by Atlassian JIRA (v6.3.4#6332)