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

Avoid reloading of Configuration in ViewFileSystem creation.

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 2.9.0, 3.0.0-alpha4
    • Component/s: viewfs
    • Labels:
      None
    • Hadoop Flags:
      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

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

              Dates

              • Created:
                Updated:
                Resolved: