[ 
https://issues.apache.org/jira/browse/HADOOP-3159?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12585438#action_12585438
 ] 

Hadoop QA commented on HADOOP-3159:
-----------------------------------

+1 overall.  Here are the results of testing the latest attachment 
http://issues.apache.org/jira/secure/attachment/12379322/3159_20080403.patch
against trunk revision 643282.

    @author +1.  The patch does not contain any @author tags.

    tests included +1.  The patch appears to include 3 new or modified tests.

    javadoc +1.  The javadoc tool did not generate any warning messages.

    javac +1.  The applied patch does not generate any new javac compiler 
warnings.

    release audit +1.  The applied patch does not generate any new release 
audit warnings.

    findbugs +1.  The patch does not introduce any new Findbugs warnings.

    core tests +1.  The patch passed core unit tests.

    contrib tests +1.  The patch passed contrib unit tests.

Test results: 
http://hudson.zones.apache.org/hudson/job/Hadoop-Patch/2154/testReport/
Findbugs warnings: 
http://hudson.zones.apache.org/hudson/job/Hadoop-Patch/2154/artifact/trunk/build/test/findbugs/newPatchFindbugsWarnings.html
Checkstyle results: 
http://hudson.zones.apache.org/hudson/job/Hadoop-Patch/2154/artifact/trunk/build/test/checkstyle-errors.html
Console output: 
http://hudson.zones.apache.org/hudson/job/Hadoop-Patch/2154/console

This message is automatically generated.

> FileSystem cache keep overwriting cached value
> ----------------------------------------------
>
>                 Key: HADOOP-3159
>                 URL: https://issues.apache.org/jira/browse/HADOOP-3159
>             Project: Hadoop Core
>          Issue Type: Bug
>    Affects Versions: 0.16.2
>            Reporter: Tsz Wo (Nicholas), SZE
>            Assignee: Tsz Wo (Nicholas), SZE
>            Priority: Blocker
>             Fix For: 0.16.3, 0.17.0
>
>         Attachments: 3159_20080402.patch, 3159_20080403.patch
>
>
> Consider the following:
> {code}
> Configuration conf1 = new Configuration();
> FileSystem fs1 = FileSystem.get(conf1); //conf1 may be modified, the cache 
> key stored will use the modified values.
> Configuration conf2 = new Configuration(); //create another conf, which won't 
> have the modified values.
> FileSystem fs2 = FileSystem.get(conf2); //may initialize another FileSystem 
> instead of returning the cached FileSystem, since conf2 does not have the 
> modified values initially.
> {code}
> Therefore, FileSystem.get(conf) may keeps creating FileSystem and replaces 
> the cached one.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to