Hadoop Common
  1. Hadoop Common
  2. HADOOP-3003

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

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Major 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.

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

        Activity

        Nigel Daley made changes -
        Status Resolved [ 5 ] Closed [ 6 ]
        Nigel Daley made changes -
        Fix Version/s 0.17.0 [ 12312913 ]
        dhruba borthakur made changes -
        Resolution Fixed [ 1 ]
        Status Patch Available [ 10002 ] Resolved [ 5 ]
        Tsz Wo Nicholas Sze made changes -
        Status Open [ 1 ] Patch Available [ 10002 ]
        Tsz Wo Nicholas Sze made changes -
        Attachment 3003_20080318.patch [ 12378180 ]
        Tsz Wo Nicholas Sze made changes -
        Status Patch Available [ 10002 ] Open [ 1 ]
        Tsz Wo Nicholas Sze made changes -
        Status Open [ 1 ] Patch Available [ 10002 ]
        Affects Version/s 0.16.2 [ 12313051 ]
        Fix Version/s 0.16.2 [ 12313051 ]
        Tsz Wo Nicholas Sze made changes -
        Status Patch Available [ 10002 ] Open [ 1 ]
        Tsz Wo Nicholas Sze made changes -
        Attachment 3003_20080313.patch [ 12377835 ]
        Tsz Wo Nicholas Sze made changes -
        Affects Version/s 0.17.0 [ 12312913 ]
        Fix Version/s 0.17.0 [ 12312913 ]
        Fix Version/s 0.16.2 [ 12313051 ]
        Tsz Wo Nicholas Sze made changes -
        Status Open [ 1 ] Patch Available [ 10002 ]
        Tsz Wo Nicholas Sze made changes -
        Field Original Value New Value
        Attachment 3003_20080311.patch [ 12377663 ]
        Tsz Wo Nicholas Sze created issue -

          People

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

            Dates

            • Created:
              Updated:
              Resolved:

              Development