[
https://issues.apache.org/jira/browse/HDFS-13207?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16381198#comment-16381198
]
Bharat Viswanadham commented on HDFS-13207:
-------------------------------------------
Hi [~xyao]
Thank you for the comments.
{quote} 1. In the patch, we added the block pool used per datanode. Should we
add "block pool used" to the summary portion before the "Live datanodes" as
well?
{quote}
I think, we can add blockPoolUsed, which will show cumulative blockPoolUsed for
this namespace.
{quote}2. If there are multiple namespaces and block pools, is it possible to
separate the usage of different block pool?
{quote}
As DFSAdmin report command is made from one namespace, it will show
blockPoolused for that namespace. As DatanodeDescriptor maintains blockpoolused
for the namespace it belongs.
{quote}3. Should we default to turn this off and show the "block pool used"
only when federation is configured or a CLI switch like "-blockPoolUsed" is
provided?
{quote}
I think it is a good idea, will do that. I will try to use a switch
blockPoolUsed for dfsadmin -report command to do this.
> Add blockpool used for DFSAdmin Report command
> -----------------------------------------------
>
> Key: HDFS-13207
> URL: https://issues.apache.org/jira/browse/HDFS-13207
> Project: Hadoop HDFS
> Issue Type: Improvement
> Reporter: Bharat Viswanadham
> Assignee: Bharat Viswanadham
> Priority: Major
> Attachments: HDFS-13207.00.patch
>
>
> Add block pool used for dfsadmin -report command.
> This will be helpful on a federated cluster to know DFS used by a particular
> namespace.
>
> On a non-federated cluster, blockPoolUsed and DFSUsed will be shown as same.
>
>
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]