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-dev-unsubscr...@hadoop.apache.org For additional commands, e-mail: hdfs-dev-h...@hadoop.apache.org