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

Raju commented on HDFS-3735:
----------------------------

Hey Brahma,
{code}
case FIELD_FAILED_VOL:
          ret = d1.getVolumeFailures() - d2.getVolumeFailures();
          break;
{code}

Since we are using this code in comparator its good to return -1,0 or 1 as its 
return value. Even without that with current fix it will work. But in general 
the mentioned values are returned.
                
> [ NNUI --> NNJspHelper.java ] Last three fields not considered for display 
> data in sorting
> ------------------------------------------------------------------------------------------
>
>                 Key: HDFS-3735
>                 URL: https://issues.apache.org/jira/browse/HDFS-3735
>             Project: Hadoop HDFS
>          Issue Type: Bug
>          Components: name-node
>    Affects Versions: 2.0.0-alpha, 2.0.1-alpha
>            Reporter: Brahma Reddy Battula
>            Priority: Minor
>
> Live datanode list is not correctly sorted for columns Block Pool Used (GB),
> Block Pool Used (%)  and Failed Volumes. Read comments for more details.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Reply via email to