[ 
https://issues.apache.org/jira/browse/HDFS-7116?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14708696#comment-14708696
 ] 

Akira AJISAKA commented on HDFS-7116:
-------------------------------------

bq. This seems wrong to show it in metric since it is a mostly constant value. 
Just like that we won't show other conf values in metric.
I understand. Thanks [~szetszwo] for the comment.

bq. Now, your approach is avoiding this problem. I'll start preparing a patch 
if others agree to this approach.
Agree.

bq. Command options are case insensitive.
{code:title=DFSAdmin.java}
    try {
      if ("-report".equals(cmd)) {
        report(argv, i);
      } else if ("-safemode".equals(cmd)) {
        setSafeMode(argv, i);
      } else if ("-allowSnapshot".equalsIgnoreCase(cmd)) {
        allowSnapshot(argv);
...
{code}
dfsadmin command options are case sensitive except allowSnapshot and 
disallowSnapshot. I'm thinking we should make them case insensitive in a 
separate jira.

> Add a metric to expose the bandwidth of balancer
> ------------------------------------------------
>
>                 Key: HDFS-7116
>                 URL: https://issues.apache.org/jira/browse/HDFS-7116
>             Project: Hadoop HDFS
>          Issue Type: New Feature
>          Components: balancer & mover
>            Reporter: Akira AJISAKA
>            Assignee: Rakesh R
>         Attachments: HDFS-7116-00.patch, HDFS-7116-01.patch, 
> HDFS-7116-02.patch, HDFS-7116-03.patch, HDFS-7116-04.patch, HDFS-7116-05.patch
>
>
> Now reading logs is the only way to check how the balancer bandwidth is set. 
> It would be useful for administrators if they can get the value of the same. 
> This jira to discuss & implement the way to access the balancer bandwidth 
> value of the datanode.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to