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

Avoid reloading of Configuration in ViewFileSystem creation.

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • 2.9.0, 3.0.0-alpha4
    • viewfs
    • None
    • Reviewed

    Description

      Avoid new Configuration() in below code. during viewfilesystem creation

          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;
          }

      Attachments

        1. HADOOP-14427-01.patch
          1 kB
          Vinayakumar B

        Activity

          People

            vinayakumarb Vinayakumar B
            vinayakumarb Vinayakumar B
            Votes:
            0 Vote for this issue
            Watchers:
            6 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: