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

FileSystem cache key should be updated after a FileSystem object is created

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 0.16.2, 0.17.0
    • Fix Version/s: 0.16.2
    • Component/s: fs
    • Labels:
      None

      Description

      In FileSystem.get(uri, conf), it first creates a cache key from the uri and the conf and then lookups the corresponding FileSystem object in the cache. If the object is not found, it initializes a FileSystem object and put it to the cache with the key. However, during FileSystem creation, the conf might be modified. In such case, the key should be updated before putting it to the cache.

        Attachments

        1. 3003_20080311.patch
          5 kB
          Tsz Wo Nicholas Sze
        2. 3003_20080313.patch
          8 kB
          Tsz Wo Nicholas Sze
        3. 3003_20080318.patch
          8 kB
          Tsz Wo Nicholas Sze

          Activity

            People

            • Assignee:
              szetszwo Tsz Wo Nicholas Sze
              Reporter:
              szetszwo Tsz Wo Nicholas Sze
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: