[
https://issues.apache.org/jira/browse/HDFS-12810?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16250501#comment-16250501
]
Virajith Jalaparti commented on HDFS-12810:
-------------------------------------------
As part of HDFS-12775, we have been trying to extend the Namenode's Web UI to
display capacity information for the {{PROVIDED}} storage type. When the
{{capacityRemaining}} for {{PROVIDED}} StorageType is 0, the Namenode's Web UI
displays an empty string ("()") instead of "0 (0%)"
([screenshot|https://issues.apache.org/jira/secure/attachment/12897372/provided_storagetype_capacity.png]).
The JMX does return the correct value i.e., 0
([screenshot|https://issues.apache.org/jira/secure/attachment/12897399/provided_storagetype_capacity_jmx.png]).
This should be displayed "0 (0%)" and not as an empty string. This isn't
related to the {{PROVIDED}} storage type but is an issue with the Web UI
(happens for the DISK StorageType as well when {{capacityRemaining}} is set to
0 in {{dfshealth.js}}).
> Under "DFS Storage Types", the Namenode Web UI doesn't display the
> capacityRemaining correctly when it is 0.
> ------------------------------------------------------------------------------------------------------------
>
> Key: HDFS-12810
> URL: https://issues.apache.org/jira/browse/HDFS-12810
> Project: Hadoop HDFS
> Issue Type: Bug
> Reporter: Virajith Jalaparti
>
> When the {{capacityRemaining}} for a StorageType is 0, the Namenode's Web UI
> displays an empty string ("()") instead of "0 (0%)".
--
This message was sent by Atlassian JIRA
(v6.4.14#64029)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]