[ https://issues.apache.org/jira/browse/HDFS-9033?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14736670#comment-14736670 ]
Hudson commented on HDFS-9033: ------------------------------ SUCCESS: Integrated in Hadoop-Mapreduce-trunk #2310 (See [https://builds.apache.org/job/Hadoop-Mapreduce-trunk/2310/]) HDFS-9033. dfsadmin -metasave prints "NaN" for cache used%. Contributed by Brahma Reddy Battula. (aajisaka: rev 0113e4528deda7563b62a29745fbf209ab31b81a) * hadoop-hdfs-project/hadoop-hdfs/CHANGES.txt * hadoop-hdfs-project/hadoop-hdfs-client/src/main/java/org/apache/hadoop/hdfs/protocol/DatanodeInfo.java * hadoop-hdfs-project/hadoop-hdfs/src/test/java/org/apache/hadoop/hdfs/server/namenode/TestMetaSave.java > dfsadmin -metasave prints "NaN" for cache used% > ----------------------------------------------- > > Key: HDFS-9033 > URL: https://issues.apache.org/jira/browse/HDFS-9033 > Project: Hadoop HDFS > Issue Type: Bug > Reporter: Archana T > Assignee: Brahma Reddy Battula > Fix For: 2.7.2 > > Attachments: HDFS-9033.patch > > > In a metasave file, "NaN" is getting printed for cacheused% -- > For metasave file -- > hdfs dfsadmin -metasave fnew > vi fnew > Metasave: Number of datanodes: 3 > DN1:50076 IN 211378954240(196.86 GB) 2457942(2.34 MB) 0.00% > 185318637568(172.59 GB) 0(0 B) 0(0 B) {color:red}NaN% {color}0(0 B) Mon Sep > 07 17:22:42 > In DN report, Cache is - > hdfs dfsadmin -report > Decommission Status : Normal > Configured Capacity: 211378954240 (196.86 GB) > DFS Used: 3121152 (2.98 MB) > Non DFS Used: 16376107008 (15.25 GB) > DFS Remaining: 194999726080 (181.61 GB) > DFS Used%: 0.00% > DFS Remaining%: 92.25% > {color:red} > Configured Cache Capacity: 0 (0 B) > Cache Used: 0 (0 B) > Cache Remaining: 0 (0 B) > Cache Used%: 100.00% > Cache Remaining%: 0.00% > {color} -- This message was sent by Atlassian JIRA (v6.3.4#6332)