Uploaded image for project: 'Hadoop Common'
  1. Hadoop Common
  2. HADOOP-12209

Comparable type should be in FileStatus

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 2.7.1
    • Fix Version/s: 2.8.0, 3.0.0-alpha1
    • Component/s: fs
    • Labels:
      None
    • Hadoop Flags:
      Incompatible change

      Description

      FileStatus implements Comparable interface without type, so Collections.binarySearch do not work for a FileStatus list. This changes the interface to require FileStatus. See also HADOOP-14683.

        Attachments

        1. HADOOP-12209.patch
          5 kB
          Yong Zhang
        2. HADOOP-12209.patch
          5 kB
          Yong Zhang

          Issue Links

            Activity

              People

              • Assignee:
                zhangyongxyz Yong Zhang
                Reporter:
                zhangyongxyz Yong Zhang
              • Votes:
                0 Vote for this issue
                Watchers:
                5 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: