Details

    • Type: Improvement Improvement
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 0.23.11, 2.3.0
    • Component/s: None
    • Labels:
      None

      Description

      For storm I would love to let Hadoop initialize based off of credentials that were already populated in a Subject. This is not currently possible because logging in a user always creates a new blank Subject. This is to allow a user to be logged in based off a pre-existing subject through a new method.

      1. login-from-subject.txt
        5 kB
        Robert Joseph Evans
      2. login-from-subject-branch-0.23.txt
        5 kB
        Robert Joseph Evans

        Issue Links

          Activity

          Hide
          Robert Joseph Evans added a comment -

          login-from-subject-branch-0.23 is only for branch-0.23. login-from-subject applies to trunk, branch-2, and branch-2.2

          Show
          Robert Joseph Evans added a comment - login-from-subject-branch-0.23 is only for branch-0.23. login-from-subject applies to trunk, branch-2, and branch-2.2
          Hide
          Hadoop QA added a comment -

          -1 overall. Here are the results of testing the latest attachment
          http://issues.apache.org/jira/secure/attachment/12618624/login-from-subject.txt
          against trunk revision .

          +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 javac. The applied patch does not increase the total number of javac compiler warnings.

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

          +1 eclipse:eclipse. The patch built with eclipse:eclipse.

          +1 findbugs. The patch does not introduce any new Findbugs (version 1.3.9) warnings.

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

          -1 core tests. The patch failed these unit tests in hadoop-common-project/hadoop-common:

          org.apache.hadoop.metrics2.impl.TestMetricsSystemImpl

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

          Test results: https://builds.apache.org/job/PreCommit-HADOOP-Build/3358//testReport/
          Console output: https://builds.apache.org/job/PreCommit-HADOOP-Build/3358//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/12618624/login-from-subject.txt against trunk revision . +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 javac . The applied patch does not increase the total number of javac compiler warnings. +1 javadoc . The javadoc tool did not generate any warning messages. +1 eclipse:eclipse . The patch built with eclipse:eclipse. +1 findbugs . The patch does not introduce any new Findbugs (version 1.3.9) warnings. +1 release audit . The applied patch does not increase the total number of release audit warnings. -1 core tests . The patch failed these unit tests in hadoop-common-project/hadoop-common: org.apache.hadoop.metrics2.impl.TestMetricsSystemImpl +1 contrib tests . The patch passed contrib unit tests. Test results: https://builds.apache.org/job/PreCommit-HADOOP-Build/3358//testReport/ Console output: https://builds.apache.org/job/PreCommit-HADOOP-Build/3358//console This message is automatically generated.
          Hide
          Robert Joseph Evans added a comment -

          The test failure appears to be spurious. The test failed for me 1 out of 4 runs. It is a multi-threaded test case that failed too. I will look into it a bit more and will file a JIRA about the test failure.

          I did not include any new tests, because it is a really small re-factor and the existing tests should all pass.

          Show
          Robert Joseph Evans added a comment - The test failure appears to be spurious. The test failed for me 1 out of 4 runs. It is a multi-threaded test case that failed too. I will look into it a bit more and will file a JIRA about the test failure. I did not include any new tests, because it is a really small re-factor and the existing tests should all pass.
          Hide
          Robert Joseph Evans added a comment -

          Ahh it looks someone else found this already HADOOP-10062.

          Show
          Robert Joseph Evans added a comment - Ahh it looks someone else found this already HADOOP-10062 .
          Hide
          Daryn Sharp added a comment -

          +1 Looks simple enough.

          Show
          Daryn Sharp added a comment - +1 Looks simple enough.
          Hide
          Robert Joseph Evans added a comment -

          Great I'll merge it in.

          Show
          Robert Joseph Evans added a comment - Great I'll merge it in.
          Hide
          Robert Joseph Evans added a comment -

          I checked this into trunk, branch-2, and branch-0.23

          Show
          Robert Joseph Evans added a comment - I checked this into trunk, branch-2, and branch-0.23
          Hide
          Hudson added a comment -

          SUCCESS: Integrated in Hadoop-trunk-Commit #4911 (See https://builds.apache.org/job/Hadoop-trunk-Commit/4911/)
          HADOOP-10164. Allow UGI to login with a known Subject (bobby) (bobby: http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1552104)

          • /hadoop/common/trunk/hadoop-common-project/hadoop-common/CHANGES.txt
          • /hadoop/common/trunk/hadoop-common-project/hadoop-common/src/main/java/org/apache/hadoop/security/UserGroupInformation.java
          Show
          Hudson added a comment - SUCCESS: Integrated in Hadoop-trunk-Commit #4911 (See https://builds.apache.org/job/Hadoop-trunk-Commit/4911/ ) HADOOP-10164 . Allow UGI to login with a known Subject (bobby) (bobby: http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1552104 ) /hadoop/common/trunk/hadoop-common-project/hadoop-common/CHANGES.txt /hadoop/common/trunk/hadoop-common-project/hadoop-common/src/main/java/org/apache/hadoop/security/UserGroupInformation.java
          Hide
          Hudson added a comment -

          FAILURE: Integrated in Hadoop-Hdfs-0.23-Build #825 (See https://builds.apache.org/job/Hadoop-Hdfs-0.23-Build/825/)
          HADOOP-10164. Allow UGI to login with a known Subject (bobby) (bobby: http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1552112)

          • /hadoop/common/branches/branch-0.23/hadoop-common-project/hadoop-common/CHANGES.txt
          • /hadoop/common/branches/branch-0.23/hadoop-common-project/hadoop-common/src/main/java/org/apache/hadoop/security/UserGroupInformation.java
          Show
          Hudson added a comment - FAILURE: Integrated in Hadoop-Hdfs-0.23-Build #825 (See https://builds.apache.org/job/Hadoop-Hdfs-0.23-Build/825/ ) HADOOP-10164 . Allow UGI to login with a known Subject (bobby) (bobby: http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1552112 ) /hadoop/common/branches/branch-0.23/hadoop-common-project/hadoop-common/CHANGES.txt /hadoop/common/branches/branch-0.23/hadoop-common-project/hadoop-common/src/main/java/org/apache/hadoop/security/UserGroupInformation.java
          Hide
          Hudson added a comment -

          FAILURE: Integrated in Hadoop-Yarn-trunk #426 (See https://builds.apache.org/job/Hadoop-Yarn-trunk/426/)
          HADOOP-10164. Allow UGI to login with a known Subject (bobby) (bobby: http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1552104)

          • /hadoop/common/trunk/hadoop-common-project/hadoop-common/CHANGES.txt
          • /hadoop/common/trunk/hadoop-common-project/hadoop-common/src/main/java/org/apache/hadoop/security/UserGroupInformation.java
          Show
          Hudson added a comment - FAILURE: Integrated in Hadoop-Yarn-trunk #426 (See https://builds.apache.org/job/Hadoop-Yarn-trunk/426/ ) HADOOP-10164 . Allow UGI to login with a known Subject (bobby) (bobby: http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1552104 ) /hadoop/common/trunk/hadoop-common-project/hadoop-common/CHANGES.txt /hadoop/common/trunk/hadoop-common-project/hadoop-common/src/main/java/org/apache/hadoop/security/UserGroupInformation.java
          Hide
          Hudson added a comment -

          FAILURE: Integrated in Hadoop-Mapreduce-trunk #1643 (See https://builds.apache.org/job/Hadoop-Mapreduce-trunk/1643/)
          HADOOP-10164. Allow UGI to login with a known Subject (bobby) (bobby: http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1552104)

          • /hadoop/common/trunk/hadoop-common-project/hadoop-common/CHANGES.txt
          • /hadoop/common/trunk/hadoop-common-project/hadoop-common/src/main/java/org/apache/hadoop/security/UserGroupInformation.java
          Show
          Hudson added a comment - FAILURE: Integrated in Hadoop-Mapreduce-trunk #1643 (See https://builds.apache.org/job/Hadoop-Mapreduce-trunk/1643/ ) HADOOP-10164 . Allow UGI to login with a known Subject (bobby) (bobby: http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1552104 ) /hadoop/common/trunk/hadoop-common-project/hadoop-common/CHANGES.txt /hadoop/common/trunk/hadoop-common-project/hadoop-common/src/main/java/org/apache/hadoop/security/UserGroupInformation.java
          Hide
          Hudson added a comment -

          FAILURE: Integrated in Hadoop-Hdfs-trunk #1617 (See https://builds.apache.org/job/Hadoop-Hdfs-trunk/1617/)
          HADOOP-10164. Allow UGI to login with a known Subject (bobby) (bobby: http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1552104)

          • /hadoop/common/trunk/hadoop-common-project/hadoop-common/CHANGES.txt
          • /hadoop/common/trunk/hadoop-common-project/hadoop-common/src/main/java/org/apache/hadoop/security/UserGroupInformation.java
          Show
          Hudson added a comment - FAILURE: Integrated in Hadoop-Hdfs-trunk #1617 (See https://builds.apache.org/job/Hadoop-Hdfs-trunk/1617/ ) HADOOP-10164 . Allow UGI to login with a known Subject (bobby) (bobby: http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1552104 ) /hadoop/common/trunk/hadoop-common-project/hadoop-common/CHANGES.txt /hadoop/common/trunk/hadoop-common-project/hadoop-common/src/main/java/org/apache/hadoop/security/UserGroupInformation.java

            People

            • Assignee:
              Robert Joseph Evans
              Reporter:
              Robert Joseph Evans
            • Votes:
              0 Vote for this issue
              Watchers:
              6 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Development