You are viewing a plain text version of this content. The canonical link for it is here.
Posted to hdfs-issues@hadoop.apache.org by "Wei-Chiu Chuang (Jira)" <ji...@apache.org> on 2022/12/21 02:07:00 UTC
[jira] [Assigned] (HDFS-16873) FileStatus compareTo does not specify ordering
[ https://issues.apache.org/jira/browse/HDFS-16873?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Wei-Chiu Chuang reassigned HDFS-16873:
--------------------------------------
Assignee: DDillon
> FileStatus compareTo does not specify ordering
> ----------------------------------------------
>
> Key: HDFS-16873
> URL: https://issues.apache.org/jira/browse/HDFS-16873
> Project: Hadoop HDFS
> Issue Type: Improvement
> Reporter: DDillon
> Assignee: DDillon
> Priority: Trivial
>
> 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: hdfs-issues-unsubscribe@hadoop.apache.org
For additional commands, e-mail: hdfs-issues-help@hadoop.apache.org