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

FileSystem class should override .equals(Object)

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Patch Available
    • Major
    • Resolution: Unresolved
    • 1.1.1, 3.0.0-alpha1
    • None
    • fs

    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

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

              Dates

                Created:
                Updated: