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

FileSystem class should override .equals(Object)

Add voteVotersWatch issueWatchersCreate sub-taskLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    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

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

            brandonli Brandon Li
            thejas Thejas Nair

            Dates

              Created:
              Updated:

              Slack

                Issue deployment