hadoop-common-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Steve Loughran (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (HADOOP-12209) Comparable type should be in FileStatus
Date Mon, 20 Jul 2015 11:33:04 GMT

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

Steve Loughran updated HADOOP-12209:
------------------------------------
    Resolution: Fixed
        Status: Resolved  (was: Patch Available)

+1, patch applied.

There will be problems if the path is null, but as HADOOP-6796 concluded, "don't do that"

> 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
>
>         Attachments: HADOOP-12209.patch, HADOOP-12209.patch
>
>
> FileStatus implements Comparable interface without type, so Collections.binarySearch
not work for FileStatus list.



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

Mime
View raw message