You are viewing a plain text version of this content. The canonical link for it is here.
Posted to common-issues@hadoop.apache.org by "Allen Wittenauer (JIRA)" <ji...@apache.org> on 2017/08/28 18:05:00 UTC

[jira] [Updated] (HADOOP-12209) Comparable type should be in FileStatus

     [ 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: common-issues-unsubscribe@hadoop.apache.org
For additional commands, e-mail: common-issues-help@hadoop.apache.org