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

FileSystem cache should be case-insensitive

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 0.19.0
    • Component/s: fs
    • Labels:
      None
    • Hadoop Flags:
      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

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

              Dates

              • Created:
                Updated:
                Resolved: