[
https://issues.apache.org/jira/browse/HDFS-9033?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14734304#comment-14734304
]
Brahma Reddy Battula commented on HDFS-9033:
--------------------------------------------
{{DFSusedPercent}} is also having same issue..Hence corrected for
{{DFSusedPercent}} and {{cacheUsedPercent}}, and modified the
testcases..Uploaded the patch..Kindly review.. thanks..
> In a metasave file, "NaN" is getting printed for cacheused%
> -----------------------------------------------------------
>
> 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
> 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)