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

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

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 2.7.0
    • 3.1.0, 2.10.0, 2.9.1, 3.0.1, 2.8.4
    • None
    • None
    • 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

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

            Dates

              Created:
              Updated:
              Resolved: