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 "DDillon (Jira)" <ji...@apache.org> on 2022/12/19 19:45:00 UTC

[jira] [Created] (HDFS-16873) FileStatus compareTo does not specify ordering

DDillon created HDFS-16873:
------------------------------

             Summary: 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


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