Hadoop Common
  1. Hadoop Common
  2. HADOOP-6633

normalize property names for JT/NN kerberos principal names in configuration

    Details

    • Type: Improvement Improvement
    • Status: Resolved
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: None
    • Labels:
      None

      Description

      change:
      DFS_NAMENODE_USER_NAME_KEY = "dfs.namenode.user.name" to "dfs.namenode.kerberos.user.name";
      DFS_NAMENODE_KRB_HTTPS_USER_NAME_KEY = "dfs.namenode.https.user.name" to "dfs.namenode.kerberos.https.user.name"

      DFS_SECONDARY_NAMENODE_USER_NAME_KEY = "dfs.secondary.namenode.user.name" to "dfs.secondary.namenode.kerberos.user.name";
      DFS_SECONDARY_NAMENODE_KRB_HTTPS_USER_NAME_KEY = "dfs.secondary.namenode.https.user.name" to "dfs.secondary.namenode.kerberos.https.user.name";

      DFS_DATANODE_USER_NAME_KEY = "dfs.datanode.user.name" to "dfs.datanode.kerberos.user.name"

      JT_USER_NAME = "mapreduce.jobtracker.user.name" to "mapreduce.jobtracker.kerberos.user.name";
      TT_USER_NAME = "mapreduce.tasktracker.user.name" to "mapreduce.tasktracker.kerberos.user.name"

      1. HADOOP-6633.patch
        0.9 kB
        Boris Shkolnik
      2. HADOOP-6633-BP20.patch
        3 kB
        Boris Shkolnik
      3. HADOOP-6633-BP20-1.patch
        4 kB
        Boris Shkolnik
      4. HADOOP-6633-BP20-2.patch
        4 kB
        Boris Shkolnik

        Issue Links

          Activity

          Hide
          Devaraj Das added a comment -

          Resolving.

          Show
          Devaraj Das added a comment - Resolving.
          Hide
          Hudson added a comment -

          Integrated in Hadoop-Common-trunk #346 (See http://hudson.zones.apache.org/hudson/job/Hadoop-Common-trunk/346/)

          Show
          Hudson added a comment - Integrated in Hadoop-Common-trunk #346 (See http://hudson.zones.apache.org/hudson/job/Hadoop-Common-trunk/346/ )
          Hide
          Hudson added a comment -

          Integrated in Hadoop-Common-trunk-Commit #258 (See http://hudson.zones.apache.org/hudson/job/Hadoop-Common-trunk-Commit/258/)
          HADOOP-6633. normalize property names for JT/NN kerberos principal names in configuration

          Show
          Hudson added a comment - Integrated in Hadoop-Common-trunk-Commit #258 (See http://hudson.zones.apache.org/hudson/job/Hadoop-Common-trunk-Commit/258/ ) HADOOP-6633 . normalize property names for JT/NN kerberos principal names in configuration
          Hide
          Jitendra Nath Pandey added a comment -

          +1 for the patch.

          Show
          Jitendra Nath Pandey added a comment - +1 for the patch.
          Hide
          Hadoop QA added a comment -

          -1 overall. Here are the results of testing the latest attachment
          http://issues.apache.org/jira/secure/attachment/12444862/HADOOP-6633.patch
          against trunk revision 945953.

          +1 @author. The patch does not contain any @author tags.

          -1 tests included. The patch doesn't appear to include any new or modified tests.
          Please justify why no new tests are needed for this patch.
          Also please list what manual steps were performed to verify this patch.

          +1 javadoc. The javadoc tool did not generate any warning messages.

          +1 javac. The applied patch does not increase the total number of javac compiler warnings.

          +1 findbugs. The patch does not introduce any new Findbugs warnings.

          +1 release audit. The applied patch does not increase the total number of release audit warnings.

          +1 core tests. The patch passed core unit tests.

          +1 contrib tests. The patch passed contrib unit tests.

          Test results: http://hudson.zones.apache.org/hudson/job/Hadoop-Patch-h4.grid.sp2.yahoo.net/529/testReport/
          Findbugs warnings: http://hudson.zones.apache.org/hudson/job/Hadoop-Patch-h4.grid.sp2.yahoo.net/529/artifact/trunk/build/test/findbugs/newPatchFindbugsWarnings.html
          Checkstyle results: http://hudson.zones.apache.org/hudson/job/Hadoop-Patch-h4.grid.sp2.yahoo.net/529/artifact/trunk/build/test/checkstyle-errors.html
          Console output: http://hudson.zones.apache.org/hudson/job/Hadoop-Patch-h4.grid.sp2.yahoo.net/529/console

          This message is automatically generated.

          Show
          Hadoop QA added a comment - -1 overall. Here are the results of testing the latest attachment http://issues.apache.org/jira/secure/attachment/12444862/HADOOP-6633.patch against trunk revision 945953. +1 @author. The patch does not contain any @author tags. -1 tests included. The patch doesn't appear to include any new or modified tests. Please justify why no new tests are needed for this patch. Also please list what manual steps were performed to verify this patch. +1 javadoc. The javadoc tool did not generate any warning messages. +1 javac. The applied patch does not increase the total number of javac compiler warnings. +1 findbugs. The patch does not introduce any new Findbugs warnings. +1 release audit. The applied patch does not increase the total number of release audit warnings. +1 core tests. The patch passed core unit tests. +1 contrib tests. The patch passed contrib unit tests. Test results: http://hudson.zones.apache.org/hudson/job/Hadoop-Patch-h4.grid.sp2.yahoo.net/529/testReport/ Findbugs warnings: http://hudson.zones.apache.org/hudson/job/Hadoop-Patch-h4.grid.sp2.yahoo.net/529/artifact/trunk/build/test/findbugs/newPatchFindbugsWarnings.html Checkstyle results: http://hudson.zones.apache.org/hudson/job/Hadoop-Patch-h4.grid.sp2.yahoo.net/529/artifact/trunk/build/test/checkstyle-errors.html Console output: http://hudson.zones.apache.org/hudson/job/Hadoop-Patch-h4.grid.sp2.yahoo.net/529/console This message is automatically generated.
          Hide
          Boris Shkolnik added a comment -

          to summarize keys changes:
          hdfs-site.xml
          "dfs.namenode.user.name" to "dfs.namenode.kerberos.principal";
          "dfs.namenode.https.user.name" to "dfs.namenode.kerberos.https.principal"

          "dfs.secondary.namenode.user.name" to "dfs.secondary.namenode.kerberos.principal";
          "dfs.secondary.namenode.https.user.name" to "dfs.secondary.namenode.kerberos.https.principal";

          "dfs.datanode.user.name" to "dfs.datanode.kerberos.principal"

          mapred-site.xml
          "mapreduce.jobtracker.user.name" to "mapreduce.jobtracker.kerberos.principal";
          "mapreduce.tasktracker.user.name" to "mapreduce.tasktracker.kerberos.principal"

          superuser stuff:
          "hadoop.proxyuser."userName".ip-addresses to "hadoop.proxyuser."userName".hosts
          "hadoop.proxyuser."userName".users" to "hadoop.proxyuser."userName".groups"

          Show
          Boris Shkolnik added a comment - to summarize keys changes: hdfs-site.xml "dfs.namenode.user.name" to "dfs.namenode.kerberos.principal"; "dfs.namenode.https.user.name" to "dfs.namenode.kerberos.https.principal" "dfs.secondary.namenode.user.name" to "dfs.secondary.namenode.kerberos.principal"; "dfs.secondary.namenode.https.user.name" to "dfs.secondary.namenode.kerberos.https.principal"; "dfs.datanode.user.name" to "dfs.datanode.kerberos.principal" mapred-site.xml "mapreduce.jobtracker.user.name" to "mapreduce.jobtracker.kerberos.principal"; "mapreduce.tasktracker.user.name" to "mapreduce.tasktracker.kerberos.principal" superuser stuff: "hadoop.proxyuser."userName".ip-addresses to "hadoop.proxyuser."userName".hosts "hadoop.proxyuser."userName".users" to "hadoop.proxyuser."userName".groups"
          Hide
          Boris Shkolnik added a comment -

          addressed Allen's comment. 'principal' makes more sense.

          Show
          Boris Shkolnik added a comment - addressed Allen's comment. 'principal' makes more sense.
          Hide
          Allen Wittenauer added a comment -

          Instead of user name, shouldn't this be principal?

          Show
          Allen Wittenauer added a comment - Instead of user name, shouldn't this be principal?
          Hide
          Boris Shkolnik added a comment -

          added changes to proxyuser keys.
          "hadoop.proxyuser."userName".ip-addresses and
          "hadoop.proxyuser."userName".users"

          Show
          Boris Shkolnik added a comment - added changes to proxyuser keys. "hadoop.proxyuser." userName ".ip-addresses and "hadoop.proxyuser." userName ".users"
          Hide
          Boris Shkolnik added a comment -

          for previous version, not for commit.

          Show
          Boris Shkolnik added a comment - for previous version, not for commit.

            People

            • Assignee:
              Boris Shkolnik
              Reporter:
              Boris Shkolnik
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Development