You are viewing a plain text version of this content. The canonical link for it is here.
Posted to common-issues@hadoop.apache.org by "Hudson (JIRA)" <ji...@apache.org> on 2018/04/24 20:51:06 UTC

[jira] [Commented] (HADOOP-14427) Avoid reloading of Configuration in ViewFileSystem creation.

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

Hudson commented on HADOOP-14427:
---------------------------------

SUCCESS: Integrated in Jenkins build Hadoop-trunk-Commit #14057 (See [https://builds.apache.org/job/Hadoop-trunk-Commit/14057/])
HADOOP-14427. Avoid reloading of Configuration in ViewFileSystem (xyao: rev 37d7afc29bd7035d14123ceead15dce7d7a32e0d)
* (edit) hadoop-common-project/hadoop-common/src/main/java/org/apache/hadoop/fs/viewfs/ViewFileSystem.java


> 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
>            Priority: Major
>             Fix For: 2.9.0, 3.0.0-alpha4
>
>         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
(v7.6.3#76005)

---------------------------------------------------------------------
To unsubscribe, e-mail: common-issues-unsubscribe@hadoop.apache.org
For additional commands, e-mail: common-issues-help@hadoop.apache.org