[ 
https://issues.apache.org/jira/browse/HADOOP-14427?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Mingliang Liu updated HADOOP-14427:
-----------------------------------
       Resolution: Fixed
     Hadoop Flags: Reviewed
    Fix Version/s: 3.0.0-alpha3
                   2.9.0
           Status: Resolved  (was: Patch Available)

Committed to {{trunk}} and {{branch-2}}. Thanks for your contribution 
[~vinayrpet]. Thanks for your review [~brahmareddy].

> Avoid reloading of Configuration in ViewFileSystem creation.
> ------------------------------------------------------------
>
>                 Key: HADOOP-14427
>                 URL: https://issues.apache.org/jira/browse/HADOOP-14427
>             Project: Hadoop Common
>          Issue Type: Bug
>          Components: viewfs
>            Reporter: Vinayakumar B
>            Assignee: Vinayakumar B
>             Fix For: 2.9.0, 3.0.0-alpha3
>
>         Attachments: HADOOP-14427-01.patch
>
>
> Avoid {{new Configuration()}} in below code. during viewfilesystem creation
> {code}    public InternalDirOfViewFs(final InodeTree.INodeDir<FileSystem> dir,
>         final long cTime, final UserGroupInformation ugi, URI uri)
>       throws URISyntaxException {
>       myUri = uri;
>       try {
>         initialize(myUri, new Configuration());
>       } catch (IOException e) {
>         throw new RuntimeException("Cannot occur");
>       }
>       theInternalDir = dir;
>       creationTime = cTime;
>       this.ugi = ugi;
>     }{code}



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to