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

FileSystem cache should be case-insensitive

    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

          People

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

            Dates

              Created:
              Updated:
              Resolved: