[
https://issues.apache.org/jira/browse/HDFS-16873?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Shilun Fan updated HDFS-16873:
------------------------------
Target Version/s: 3.4.0
Affects Version/s: 3.4.0
> FileStatus compareTo does not specify ordering
> ----------------------------------------------
>
> Key: HDFS-16873
> URL: https://issues.apache.org/jira/browse/HDFS-16873
> Project: Hadoop HDFS
> Issue Type: Improvement
> Affects Versions: 3.4.0
> Reporter: DDillon
> Assignee: DDillon
> Priority: Trivial
> Labels: pull-request-available
> Fix For: 3.4.0
>
>
> The Javadoc of FileStatus does not specify the field and manner in which
> objects are ordered. In order to use the Comparable interface, this is
> critical to understand to avoid making any assumptions. Inspection of code
> showed that it is by path name quite quickly, but we shouldn't have to go
> into code to confirm any obvious assumptions.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]