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

Comparable type should be in FileStatus

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • 2.7.1
    • 2.8.0, 3.0.0-alpha1
    • fs
    • None
    • 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

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

              Dates

                Created:
                Updated:
                Resolved: