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

FileSystem cache should be case-insensitive

VotersWatch issueWatchersCreate sub-taskLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 0.19.0
    • fs
    • None
    • Reviewed

    Description

      We cache FileSystem instances based on URI scheme & authority, plus username. Elsewhere we compare URI schemes and authorities case-insensitively, but the cache is case-sensitive. In particular, the Cache.Key#equals() and Cache.Key#hashCode() should be made case-insensitive.

      This should not be a blocker, since the worst it causes is a few extra FileSystem instances to be cached.

      Attachments

        1. HADOOP-3785.patch
          3 kB
          Bill de hOra

        Activity

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

          People

            dehora Bill de hOra
            cutting Doug Cutting
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment