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

Anu Engineer commented on HDFS-8211:
------------------------------------

I looked at the SimulatedFSDataSet unfortunately it always have been doing the 
right thing, it is only now that I noticed it though :)

{code:title=SimulatedFSDataSet.java}
    @Override
    public String getStorageUuid() {
      return storage.getStorageUuid();
    }
{code}

So invoking it will pass my tests, but I am afraid would not touch the code 
that path I modified right now. Please let me know if my understanding is 
correct 


> DataNode UUID is always null in the JMX counter
> -----------------------------------------------
>
>                 Key: HDFS-8211
>                 URL: https://issues.apache.org/jira/browse/HDFS-8211
>             Project: Hadoop HDFS
>          Issue Type: Bug
>          Components: HDFS
>    Affects Versions: 2.7.0
>            Reporter: Anu Engineer
>            Assignee: Anu Engineer
>            Priority: Minor
>         Attachments: hdfs-8211.001.patch
>
>
> The DataNode JMX counters are tagged with DataNode UUID, but it always gets a 
> null value instead of the UUID.
> {code}
> Hadoop:service=DataNode,name=FSDatasetState*-null*.
> {code}
> This null is supposed be the datanode UUID.



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

Reply via email to