[jira] [Commented] (HDFS-2203) Add additional fields to the JMX output on NameNode
[ https://issues.apache.org/jira/browse/HDFS-2203?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=14536239#comment-14536239 ] Haohui Mai commented on HDFS-2203: -- I believe that percentage should be calculated on the client side instead -- the client has more information to determine about format, precisions, etc. Note that the NN Web UI has taken this approach and worked reliably. Given that any fields added in the JMX output have compatibility concerns, and most of the proposed information is available through JMX today, I'm closing this one as won't fix. Add additional fields to the JMX output on NameNode --- Key: HDFS-2203 URL: https://issues.apache.org/jira/browse/HDFS-2203 Project: Hadoop HDFS Issue Type: Improvement Components: namenode Affects Versions: 0.20.204.0, 0.20.205.0, 0.23.0 Reporter: Charles Wimmer Assignee: Tanping Wang Priority: Minor Labels: BB2015-05-RFC, newbie Attachments: HDFS-2203-2.patch, HDFS-2203.patch When accessing the JMX data via http (http://namenode:50070/jmx) there are a couple of useful fields missing from this bean: name : Hadoop:service=NameNode,name=NameNodeInfo, modelerType : org.apache.hadoop.hdfs.server.namenode.FSNamesystem, Please add the number of blocks and the configured capacity. -- This message was sent by Atlassian JIRA (v6.3.4#6332)
[jira] [Commented] (HDFS-2203) Add additional fields to the JMX output on NameNode
[ https://issues.apache.org/jira/browse/HDFS-2203?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=14536246#comment-14536246 ] Hadoop QA commented on HDFS-2203: - \\ \\ | (x) *{color:red}-1 overall{color}* | \\ \\ || Vote || Subsystem || Runtime || Comment || | {color:blue}0{color} | pre-patch | 14m 34s | Pre-patch trunk compilation is healthy. | | {color:green}+1{color} | @author | 0m 0s | The patch does not contain any @author tags. | | {color:red}-1{color} | tests included | 0m 0s | The patch doesn't appear to include any new or modified tests. Please justify why no new tests are needed for this patch. Also please list what manual steps were performed to verify this patch. | | {color:green}+1{color} | javac | 7m 29s | There were no new javac warning messages. | | {color:green}+1{color} | javadoc | 9m 32s | There were no new javadoc warning messages. | | {color:green}+1{color} | release audit | 0m 22s | The applied patch does not increase the total number of release audit warnings. | | {color:red}-1{color} | checkstyle | 2m 16s | The applied patch generated 41 new checkstyle issues (total was 1354, now 1174). | | {color:red}-1{color} | whitespace | 0m 3s | The patch has 17 line(s) that end in whitespace. Use git apply --whitespace=fix. | | {color:green}+1{color} | install | 1m 40s | mvn install still works. | | {color:green}+1{color} | eclipse:eclipse | 0m 34s | The patch built with eclipse:eclipse. | | {color:green}+1{color} | findbugs | 3m 2s | The patch does not introduce any new Findbugs (version 2.0.3) warnings. | | {color:green}+1{color} | native | 3m 13s | Pre-build of native portion | | {color:red}-1{color} | hdfs tests | 165m 43s | Tests failed in hadoop-hdfs. | | | | 208m 33s | | \\ \\ || Reason || Tests || | Failed unit tests | hadoop.tracing.TestTraceAdmin | | | hadoop.hdfs.tools.TestHdfsConfigFields | \\ \\ || Subsystem || Report/Notes || | Patch URL | http://issues.apache.org/jira/secure/attachment/12731664/HDFS-2203-2.patch | | Optional Tests | javadoc javac unit findbugs checkstyle | | git revision | trunk / 333f9a8 | | checkstyle | https://builds.apache.org/job/PreCommit-HDFS-Build/10891/artifact/patchprocess/diffcheckstylehadoop-hdfs.txt | | whitespace | https://builds.apache.org/job/PreCommit-HDFS-Build/10891/artifact/patchprocess/whitespace.txt | | hadoop-hdfs test log | https://builds.apache.org/job/PreCommit-HDFS-Build/10891/artifact/patchprocess/testrun_hadoop-hdfs.txt | | Test Results | https://builds.apache.org/job/PreCommit-HDFS-Build/10891/testReport/ | | Java | 1.7.0_55 | | uname | Linux asf901.gq1.ygridcore.net 3.13.0-36-lowlatency #63-Ubuntu SMP PREEMPT Wed Sep 3 21:56:12 UTC 2014 x86_64 x86_64 x86_64 GNU/Linux | | Console output | https://builds.apache.org/job/PreCommit-HDFS-Build/10891/console | This message was automatically generated. Add additional fields to the JMX output on NameNode --- Key: HDFS-2203 URL: https://issues.apache.org/jira/browse/HDFS-2203 Project: Hadoop HDFS Issue Type: Improvement Components: namenode Affects Versions: 0.20.204.0, 0.20.205.0, 0.23.0 Reporter: Charles Wimmer Assignee: Tanping Wang Priority: Minor Labels: BB2015-05-RFC, newbie Attachments: HDFS-2203-2.patch, HDFS-2203.patch When accessing the JMX data via http (http://namenode:50070/jmx) there are a couple of useful fields missing from this bean: name : Hadoop:service=NameNode,name=NameNodeInfo, modelerType : org.apache.hadoop.hdfs.server.namenode.FSNamesystem, Please add the number of blocks and the configured capacity. -- This message was sent by Atlassian JIRA (v6.3.4#6332)
[jira] [Commented] (HDFS-2203) Add additional fields to the JMX output on NameNode
[ https://issues.apache.org/jira/browse/HDFS-2203?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=14394552#comment-14394552 ] Hadoop QA commented on HDFS-2203: - {color:red}-1 overall{color}. Here are the results of testing the latest attachment http://issues.apache.org/jira/secure/attachment/12488270/HDFS-2203.patch against trunk revision 72f6bd4. {color:red}-1 patch{color}. The patch command could not apply the patch. Console output: https://builds.apache.org/job/PreCommit-HDFS-Build/10171//console This message is automatically generated. Add additional fields to the JMX output on NameNode --- Key: HDFS-2203 URL: https://issues.apache.org/jira/browse/HDFS-2203 Project: Hadoop HDFS Issue Type: Improvement Components: namenode Affects Versions: 0.20.204.0, 0.20.205.0, 0.23.0 Reporter: Charles Wimmer Assignee: Tanping Wang Priority: Minor Labels: newbie Attachments: HDFS-2203.patch When accessing the JMX data via http (http://namenode:50070/jmx) there are a couple of useful fields missing from this bean: name : Hadoop:service=NameNode,name=NameNodeInfo, modelerType : org.apache.hadoop.hdfs.server.namenode.FSNamesystem, Please add the number of blocks and the configured capacity. -- This message was sent by Atlassian JIRA (v6.3.4#6332)
[jira] [Commented] (HDFS-2203) Add additional fields to the JMX output on NameNode
[ https://issues.apache.org/jira/browse/HDFS-2203?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13072096#comment-13072096 ] Tanping Wang commented on HDFS-2203: Adding the following attributes for each live data node capacity nonDFSUsed remaining usedPercent remainingPercent blocks blockPoolUsed blockPoolUsedPercent failedVolumes along with the three already exposed attributes: usedSpace, lastContact and adminState Add additional fields to the JMX output on NameNode --- Key: HDFS-2203 URL: https://issues.apache.org/jira/browse/HDFS-2203 Project: Hadoop HDFS Issue Type: Improvement Components: name-node Affects Versions: 0.20.204.0, 0.20.205.0, 0.23.0 Reporter: Charles Wimmer Priority: Minor Labels: newbie When accessing the JMX data via http (http://namenode:50070/jmx) there are a couple of useful fields missing from this bean: name : Hadoop:service=NameNode,name=NameNodeInfo, modelerType : org.apache.hadoop.hdfs.server.namenode.FSNamesystem, Please add the number of blocks and the configured capacity. -- This message is automatically generated by JIRA. For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Commented] (HDFS-2203) Add additional fields to the JMX output on NameNode
[ https://issues.apache.org/jira/browse/HDFS-2203?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13071287#comment-13071287 ] Tanping Wang commented on HDFS-2203: I just checked out HDFS source and did a build on my local box. I am able to see BlocksTotal and CapacityTotal attributes from the bean named, Hadoop:service=NameNode,name=FSNamesystemState : {noformat} { name : Hadoop:service=NameNode,name=FSNamesystemState, modelerType : org.apache.hadoop.hdfs.server.namenode.FSNamesystem, CapacityTotal : 152897236992, CapacityUsed : 24576, CapacityRemaining : 69198626816, TotalLoad : 1, BlocksTotal : 0, FilesTotal : 1, PendingReplicationBlocks : 0, UnderReplicatedBlocks : 0, ScheduledReplicationBlocks : 0, FSState : Operational, NumLiveDataNodes : 1, NumDeadDataNodes : 0 }, {noformat} As far as I remebered, the JMXJsonServlet was checked into trunk. So it should be available to 0.23. release. Add additional fields to the JMX output on NameNode --- Key: HDFS-2203 URL: https://issues.apache.org/jira/browse/HDFS-2203 Project: Hadoop HDFS Issue Type: Improvement Components: name-node Affects Versions: 0.20.204.0, 0.20.205.0, 0.23.0 Reporter: Charles Wimmer Priority: Minor Labels: newbie When accessing the JMX data via http (http://namenode:50070/jmx) there are a couple of useful fields missing from this bean: name : Hadoop:service=NameNode,name=NameNodeInfo, modelerType : org.apache.hadoop.hdfs.server.namenode.FSNamesystem, Please add the number of blocks and the configured capacity. -- This message is automatically generated by JIRA. For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Commented] (HDFS-2203) Add additional fields to the JMX output on NameNode
[ https://issues.apache.org/jira/browse/HDFS-2203?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13071293#comment-13071293 ] Charles Wimmer commented on HDFS-2203: -- I meant per DataNode blocks and configured capacity: LiveNodes: {hostA:{usedSpace:8264583897088,lastContact:0},hostB:{usedSpace:7914785189533,lastContact:0},hostC:{usedSpace:4715591979008,lastContact:2},hostD:{usedSpace:6168919373255,lastContact:1},hostE:{usedSpace:8315075813376,lastContact:1},hostF: snip hostY:{usedSpace:8272411804419,lastContact:1},hostZ:{usedSpace:8359994176231,lastContact:0}}, I would like the same data that shows up on the live nodes page: http://namenode:50070/dfsnodelist.jsp?whatNodes=LIVE Add additional fields to the JMX output on NameNode --- Key: HDFS-2203 URL: https://issues.apache.org/jira/browse/HDFS-2203 Project: Hadoop HDFS Issue Type: Improvement Components: name-node Affects Versions: 0.20.204.0, 0.20.205.0, 0.23.0 Reporter: Charles Wimmer Priority: Minor Labels: newbie When accessing the JMX data via http (http://namenode:50070/jmx) there are a couple of useful fields missing from this bean: name : Hadoop:service=NameNode,name=NameNodeInfo, modelerType : org.apache.hadoop.hdfs.server.namenode.FSNamesystem, Please add the number of blocks and the configured capacity. -- This message is automatically generated by JIRA. For more information on JIRA, see: http://www.atlassian.com/software/jira