[
https://issues.apache.org/jira/browse/HDFS-12775?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16250503#comment-16250503
]
Virajith Jalaparti commented on HDFS-12775:
-------------------------------------------
bq. For RBF, this is good, the problem is the naming as it uses {{totalSpace}}
and then {{providedCapacity}}.
I changed {{providedCapacity}} to {{providedSpace}} in the RBF related code in
v3.
bq. For the remaining capacity it seems to be having some issue with the 0
values.
The problem isn't in {{fmt_bytes}}. I tested by removing {{fmt_bytes}} in
{{dfshealth.html}} and it still was displaying an empty string. I believe this
a problem with {{capacityRemaining}} being 0 for PROVIDED StorageType. The jmx
reports it correctly (see attachment: [jmx
screenshot|https://issues.apache.org/jira/secure/attachment/12897399/provided_storagetype_capacity_jmx.png]).
I filed HDFS-12810 to fix this.
> [READ] Fix reporting of Provided volumes
> ----------------------------------------
>
> Key: HDFS-12775
> URL: https://issues.apache.org/jira/browse/HDFS-12775
> Project: Hadoop HDFS
> Issue Type: Sub-task
> Reporter: Virajith Jalaparti
> Assignee: Virajith Jalaparti
> Attachments: HDFS-12775-HDFS-9806.001.patch,
> HDFS-12775-HDFS-9806.002.patch, HDFS-12775-HDFS-9806.003.patch,
> provided_capacity_nn.png, provided_storagetype_capacity.png,
> provided_storagetype_capacity_jmx.png
>
>
> Provided Volumes currently report infinite capacity and 0 space used.
> Further, PROVIDED locations are reported as {{/default-rack/null:0}} in fsck.
> This JIRA is for making this more readable, and replace these with what users
> would expect.
--
This message was sent by Atlassian JIRA
(v6.4.14#64029)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]