Uploaded image for project: 'Hadoop HDFS'
  1. Hadoop HDFS
  2. HDFS-16873

FileStatus compareTo does not specify ordering

    XMLWordPrintableJSON

Details

    • Reviewed

    Description

      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.  

      Attachments

        Issue Links

          Activity

            People

              djdillon DDillon
              djdillon DDillon
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: