[
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)