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

FileSystem class should override .equals(Object)

    XMLWordPrintableJSON

    Details

    • Type: Improvement
    • Status: Patch Available
    • Priority: Major
    • Resolution: Unresolved
    • Affects Version/s: 1.1.1, 3.0.0-alpha1
    • Fix Version/s: None
    • Component/s: fs
    • Labels:

      Description

      The FileSystem class has a notion of equality, based on the uri. The class should override .equal(Object) so that it returns true if FileSystem objects are logically same.
      This is useful when FileSystem cache is disabled, as FileSystem.get(..) will return new object each time.

        Attachments

        1. HADOOP-9159.patch
          3 kB
          Brandon Li
        2. HADOOP-9159.patch
          3 kB
          Brandon Li

          Issue Links

            Activity

              People

              • Assignee:
                brandonli Brandon Li
                Reporter:
                thejas Thejas Nair
              • Votes:
                0 Vote for this issue
                Watchers:
                6 Start watching this issue

                Dates

                • Created:
                  Updated: