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

in FsShell, UGI params should be overidden through env vars(-D arg)

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 2.7.0
    • Fix Version/s: 3.1.0, 2.10.0, 2.9.1, 3.0.1, 2.8.4
    • Component/s: None
    • Labels:
      None
    • Hadoop Flags:
      Reviewed

      Description

      org.apache.hadoop.security.UserGroupInformation#ensureInitialized,will always get the configure from the configuration files.So that, -D args will not take effect.

        private static void ensureInitialized() {
          if (conf == null) {
            synchronized(UserGroupInformation.class) {
              if (conf == null) { // someone might have beat us
                initialize(new Configuration(), false);
              }
            }
          }
        }
      

        Attachments

        1. HADOOP-15150.patch
          2 kB
          Brahma Reddy Battula
        2. HADOOP-15150-002.patch
          2 kB
          Brahma Reddy Battula

          Activity

            People

            • Assignee:
              brahmareddy Brahma Reddy Battula
              Reporter:
              brahmareddy Brahma Reddy Battula
            • Votes:
              0 Vote for this issue
              Watchers:
              6 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: