[ 
https://issues.apache.org/jira/browse/HADOOP-12209?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Allen Wittenauer updated HADOOP-12209:
--------------------------------------
    Description: FileStatus implements Comparable interface without type, so 
Collections.binarySearch do not work for a FileStatus list.  This changes the 
interface to require FileStatus. See also HADOOP-14683.  (was: FileStatus 
implements Comparable interface without type, so Collections.binarySearch not 
work for FileStatus list.)

> Comparable type should be in FileStatus
> ---------------------------------------
>
>                 Key: HADOOP-12209
>                 URL: https://issues.apache.org/jira/browse/HADOOP-12209
>             Project: Hadoop Common
>          Issue Type: Bug
>          Components: fs
>    Affects Versions: 2.7.1
>            Reporter: Yong Zhang
>            Assignee: Yong Zhang
>            Priority: Minor
>             Fix For: 2.8.0, 3.0.0-alpha1
>
>         Attachments: HADOOP-12209.patch, HADOOP-12209.patch
>
>
> FileStatus implements Comparable interface without type, so 
> Collections.binarySearch do not work for a FileStatus list.  This changes the 
> interface to require FileStatus. See also HADOOP-14683.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to