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

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

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 0.16.2, 0.17.0
    • 0.16.2
    • fs
    • 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_20080318.patch
          8 kB
          Tsz-wo Sze
        2. 3003_20080313.patch
          8 kB
          Tsz-wo Sze
        3. 3003_20080311.patch
          5 kB
          Tsz-wo Sze

        Activity

          People

            szetszwo Tsz-wo Sze
            szetszwo Tsz-wo Sze
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: