You are viewing a plain text version of this content. The canonical link for it is here.
Posted to common-issues@hadoop.apache.org by "Daryn Sharp (JIRA)" <ji...@apache.org> on 2012/11/03 22:57:12 UTC

[jira] [Created] (HADOOP-9009) Add SecurityUtil methods to get/set authentication method

Daryn Sharp created HADOOP-9009:
-----------------------------------

             Summary: Add SecurityUtil methods to get/set authentication method
                 Key: HADOOP-9009
                 URL: https://issues.apache.org/jira/browse/HADOOP-9009
             Project: Hadoop Common
          Issue Type: Sub-task
    Affects Versions: 2.0.0-alpha, 3.0.0
            Reporter: Daryn Sharp
            Assignee: Daryn Sharp


The authentication method is handled as a string when an enum is available.  Adding methods to get/set the conf value based on the enum will simplify adding new SASL auths such as PLAIN.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

[jira] [Updated] (HADOOP-9009) Add SecurityUtil methods to get/set authentication method

Posted by "Daryn Sharp (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/HADOOP-9009?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Daryn Sharp updated HADOOP-9009:
--------------------------------

    Status: Patch Available  (was: Open)
    
> Add SecurityUtil methods to get/set authentication method
> ---------------------------------------------------------
>
>                 Key: HADOOP-9009
>                 URL: https://issues.apache.org/jira/browse/HADOOP-9009
>             Project: Hadoop Common
>          Issue Type: Sub-task
>          Components: fs, security
>    Affects Versions: 2.0.0-alpha, 3.0.0
>            Reporter: Daryn Sharp
>            Assignee: Daryn Sharp
>         Attachments: HADOOP-9009.patch
>
>
> The authentication method is handled as a string when an enum is available.  Adding methods to get/set the conf value based on the enum will simplify adding new SASL auths such as PLAIN.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

[jira] [Commented] (HADOOP-9009) Add SecurityUtil methods to get/set authentication method

Posted by "Robert Joseph Evans (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/HADOOP-9009?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13490791#comment-13490791 ] 

Robert Joseph Evans commented on HADOOP-9009:
---------------------------------------------

Patch looks good to me. I am +1 on it. I'll check it in.
                
> Add SecurityUtil methods to get/set authentication method
> ---------------------------------------------------------
>
>                 Key: HADOOP-9009
>                 URL: https://issues.apache.org/jira/browse/HADOOP-9009
>             Project: Hadoop Common
>          Issue Type: Sub-task
>          Components: fs, security
>    Affects Versions: 2.0.0-alpha, 3.0.0
>            Reporter: Daryn Sharp
>            Assignee: Daryn Sharp
>         Attachments: HADOOP-9009.patch
>
>
> The authentication method is handled as a string when an enum is available.  Adding methods to get/set the conf value based on the enum will simplify adding new SASL auths such as PLAIN.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

[jira] [Commented] (HADOOP-9009) Add SecurityUtil methods to get/set authentication method

Posted by "Hudson (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/HADOOP-9009?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13491370#comment-13491370 ] 

Hudson commented on HADOOP-9009:
--------------------------------

Integrated in Hadoop-Yarn-trunk #28 (See [https://builds.apache.org/job/Hadoop-Yarn-trunk/28/])
    HADOOP-9009. Add SecurityUtil methods to get/set authentication method (daryn via bobby) (Revision 1405904)

     Result = SUCCESS
bobby : http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1405904
Files : 
* /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/SecurityUtil.java
* /hadoop/common/trunk/hadoop-common-project/hadoop-common/src/main/java/org/apache/hadoop/security/UserGroupInformation.java
* /hadoop/common/trunk/hadoop-common-project/hadoop-common/src/test/java/org/apache/hadoop/ipc/MiniRPCBenchmark.java
* /hadoop/common/trunk/hadoop-common-project/hadoop-common/src/test/java/org/apache/hadoop/ipc/TestRPC.java
* /hadoop/common/trunk/hadoop-common-project/hadoop-common/src/test/java/org/apache/hadoop/ipc/TestSaslRPC.java
* /hadoop/common/trunk/hadoop-common-project/hadoop-common/src/test/java/org/apache/hadoop/security/TestDoAsEffectiveUser.java
* /hadoop/common/trunk/hadoop-common-project/hadoop-common/src/test/java/org/apache/hadoop/security/TestSecurityUtil.java
* /hadoop/common/trunk/hadoop-common-project/hadoop-common/src/test/java/org/apache/hadoop/security/TestUGIWithSecurityOn.java

                
> Add SecurityUtil methods to get/set authentication method
> ---------------------------------------------------------
>
>                 Key: HADOOP-9009
>                 URL: https://issues.apache.org/jira/browse/HADOOP-9009
>             Project: Hadoop Common
>          Issue Type: Sub-task
>          Components: fs, security
>    Affects Versions: 2.0.0-alpha, 3.0.0
>            Reporter: Daryn Sharp
>            Assignee: Daryn Sharp
>             Fix For: 3.0.0, 2.0.3-alpha
>
>         Attachments: HADOOP-9009.patch
>
>
> The authentication method is handled as a string when an enum is available.  Adding methods to get/set the conf value based on the enum will simplify adding new SASL auths such as PLAIN.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

[jira] [Commented] (HADOOP-9009) Add SecurityUtil methods to get/set authentication method

Posted by "Hudson (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/HADOOP-9009?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13490803#comment-13490803 ] 

Hudson commented on HADOOP-9009:
--------------------------------

Integrated in Hadoop-trunk-Commit #2954 (See [https://builds.apache.org/job/Hadoop-trunk-Commit/2954/])
    HADOOP-9009. Add SecurityUtil methods to get/set authentication method (daryn via bobby) (Revision 1405904)

     Result = SUCCESS
bobby : http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1405904
Files : 
* /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/SecurityUtil.java
* /hadoop/common/trunk/hadoop-common-project/hadoop-common/src/main/java/org/apache/hadoop/security/UserGroupInformation.java
* /hadoop/common/trunk/hadoop-common-project/hadoop-common/src/test/java/org/apache/hadoop/ipc/MiniRPCBenchmark.java
* /hadoop/common/trunk/hadoop-common-project/hadoop-common/src/test/java/org/apache/hadoop/ipc/TestRPC.java
* /hadoop/common/trunk/hadoop-common-project/hadoop-common/src/test/java/org/apache/hadoop/ipc/TestSaslRPC.java
* /hadoop/common/trunk/hadoop-common-project/hadoop-common/src/test/java/org/apache/hadoop/security/TestDoAsEffectiveUser.java
* /hadoop/common/trunk/hadoop-common-project/hadoop-common/src/test/java/org/apache/hadoop/security/TestSecurityUtil.java
* /hadoop/common/trunk/hadoop-common-project/hadoop-common/src/test/java/org/apache/hadoop/security/TestUGIWithSecurityOn.java

                
> Add SecurityUtil methods to get/set authentication method
> ---------------------------------------------------------
>
>                 Key: HADOOP-9009
>                 URL: https://issues.apache.org/jira/browse/HADOOP-9009
>             Project: Hadoop Common
>          Issue Type: Sub-task
>          Components: fs, security
>    Affects Versions: 2.0.0-alpha, 3.0.0
>            Reporter: Daryn Sharp
>            Assignee: Daryn Sharp
>             Fix For: 3.0.0, 2.0.3-alpha
>
>         Attachments: HADOOP-9009.patch
>
>
> The authentication method is handled as a string when an enum is available.  Adding methods to get/set the conf value based on the enum will simplify adding new SASL auths such as PLAIN.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

[jira] [Updated] (HADOOP-9009) Add SecurityUtil methods to get/set authentication method

Posted by "Robert Joseph Evans (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/HADOOP-9009?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Robert Joseph Evans updated HADOOP-9009:
----------------------------------------

       Resolution: Fixed
    Fix Version/s: 2.0.3-alpha
                   3.0.0
           Status: Resolved  (was: Patch Available)

Thanks Daryn I put this into trunk and branch-2
                
> Add SecurityUtil methods to get/set authentication method
> ---------------------------------------------------------
>
>                 Key: HADOOP-9009
>                 URL: https://issues.apache.org/jira/browse/HADOOP-9009
>             Project: Hadoop Common
>          Issue Type: Sub-task
>          Components: fs, security
>    Affects Versions: 2.0.0-alpha, 3.0.0
>            Reporter: Daryn Sharp
>            Assignee: Daryn Sharp
>             Fix For: 3.0.0, 2.0.3-alpha
>
>         Attachments: HADOOP-9009.patch
>
>
> The authentication method is handled as a string when an enum is available.  Adding methods to get/set the conf value based on the enum will simplify adding new SASL auths such as PLAIN.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

[jira] [Commented] (HADOOP-9009) Add SecurityUtil methods to get/set authentication method

Posted by "Hudson (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/HADOOP-9009?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13491427#comment-13491427 ] 

Hudson commented on HADOOP-9009:
--------------------------------

Integrated in Hadoop-Hdfs-trunk #1218 (See [https://builds.apache.org/job/Hadoop-Hdfs-trunk/1218/])
    HADOOP-9009. Add SecurityUtil methods to get/set authentication method (daryn via bobby) (Revision 1405904)

     Result = SUCCESS
bobby : http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1405904
Files : 
* /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/SecurityUtil.java
* /hadoop/common/trunk/hadoop-common-project/hadoop-common/src/main/java/org/apache/hadoop/security/UserGroupInformation.java
* /hadoop/common/trunk/hadoop-common-project/hadoop-common/src/test/java/org/apache/hadoop/ipc/MiniRPCBenchmark.java
* /hadoop/common/trunk/hadoop-common-project/hadoop-common/src/test/java/org/apache/hadoop/ipc/TestRPC.java
* /hadoop/common/trunk/hadoop-common-project/hadoop-common/src/test/java/org/apache/hadoop/ipc/TestSaslRPC.java
* /hadoop/common/trunk/hadoop-common-project/hadoop-common/src/test/java/org/apache/hadoop/security/TestDoAsEffectiveUser.java
* /hadoop/common/trunk/hadoop-common-project/hadoop-common/src/test/java/org/apache/hadoop/security/TestSecurityUtil.java
* /hadoop/common/trunk/hadoop-common-project/hadoop-common/src/test/java/org/apache/hadoop/security/TestUGIWithSecurityOn.java

                
> Add SecurityUtil methods to get/set authentication method
> ---------------------------------------------------------
>
>                 Key: HADOOP-9009
>                 URL: https://issues.apache.org/jira/browse/HADOOP-9009
>             Project: Hadoop Common
>          Issue Type: Sub-task
>          Components: fs, security
>    Affects Versions: 2.0.0-alpha, 3.0.0
>            Reporter: Daryn Sharp
>            Assignee: Daryn Sharp
>             Fix For: 3.0.0, 2.0.3-alpha
>
>         Attachments: HADOOP-9009.patch
>
>
> The authentication method is handled as a string when an enum is available.  Adding methods to get/set the conf value based on the enum will simplify adding new SASL auths such as PLAIN.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

[jira] [Commented] (HADOOP-9009) Add SecurityUtil methods to get/set authentication method

Posted by "Hudson (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/HADOOP-9009?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13491458#comment-13491458 ] 

Hudson commented on HADOOP-9009:
--------------------------------

Integrated in Hadoop-Mapreduce-trunk #1248 (See [https://builds.apache.org/job/Hadoop-Mapreduce-trunk/1248/])
    HADOOP-9009. Add SecurityUtil methods to get/set authentication method (daryn via bobby) (Revision 1405904)

     Result = FAILURE
bobby : http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1405904
Files : 
* /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/SecurityUtil.java
* /hadoop/common/trunk/hadoop-common-project/hadoop-common/src/main/java/org/apache/hadoop/security/UserGroupInformation.java
* /hadoop/common/trunk/hadoop-common-project/hadoop-common/src/test/java/org/apache/hadoop/ipc/MiniRPCBenchmark.java
* /hadoop/common/trunk/hadoop-common-project/hadoop-common/src/test/java/org/apache/hadoop/ipc/TestRPC.java
* /hadoop/common/trunk/hadoop-common-project/hadoop-common/src/test/java/org/apache/hadoop/ipc/TestSaslRPC.java
* /hadoop/common/trunk/hadoop-common-project/hadoop-common/src/test/java/org/apache/hadoop/security/TestDoAsEffectiveUser.java
* /hadoop/common/trunk/hadoop-common-project/hadoop-common/src/test/java/org/apache/hadoop/security/TestSecurityUtil.java
* /hadoop/common/trunk/hadoop-common-project/hadoop-common/src/test/java/org/apache/hadoop/security/TestUGIWithSecurityOn.java

                
> Add SecurityUtil methods to get/set authentication method
> ---------------------------------------------------------
>
>                 Key: HADOOP-9009
>                 URL: https://issues.apache.org/jira/browse/HADOOP-9009
>             Project: Hadoop Common
>          Issue Type: Sub-task
>          Components: fs, security
>    Affects Versions: 2.0.0-alpha, 3.0.0
>            Reporter: Daryn Sharp
>            Assignee: Daryn Sharp
>             Fix For: 3.0.0, 2.0.3-alpha
>
>         Attachments: HADOOP-9009.patch
>
>
> The authentication method is handled as a string when an enum is available.  Adding methods to get/set the conf value based on the enum will simplify adding new SASL auths such as PLAIN.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

[jira] [Commented] (HADOOP-9009) Add SecurityUtil methods to get/set authentication method

Posted by "Hadoop QA (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/HADOOP-9009?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13490114#comment-13490114 ] 

Hadoop QA commented on HADOOP-9009:
-----------------------------------

{color:green}+1 overall{color}.  Here are the results of testing the latest attachment 
  http://issues.apache.org/jira/secure/attachment/12552001/HADOOP-9009.patch
  against trunk revision .

    {color:green}+1 @author{color}.  The patch does not contain any @author tags.

    {color:green}+1 tests included{color}.  The patch appears to include 6 new or modified test files.

    {color:green}+1 javac{color}.  The applied patch does not increase the total number of javac compiler warnings.

    {color:green}+1 javadoc{color}.  The javadoc tool did not generate any warning messages.

    {color:green}+1 eclipse:eclipse{color}.  The patch built with eclipse:eclipse.

    {color:green}+1 findbugs{color}.  The patch does not introduce any new Findbugs (version 1.3.9) warnings.

    {color:green}+1 release audit{color}.  The applied patch does not increase the total number of release audit warnings.

    {color:green}+1 core tests{color}.  The patch passed unit tests in hadoop-common-project/hadoop-common.

    {color:green}+1 contrib tests{color}.  The patch passed contrib unit tests.

Test results: https://builds.apache.org/job/PreCommit-HADOOP-Build/1704//testReport/
Console output: https://builds.apache.org/job/PreCommit-HADOOP-Build/1704//console

This message is automatically generated.
                
> Add SecurityUtil methods to get/set authentication method
> ---------------------------------------------------------
>
>                 Key: HADOOP-9009
>                 URL: https://issues.apache.org/jira/browse/HADOOP-9009
>             Project: Hadoop Common
>          Issue Type: Sub-task
>          Components: fs, security
>    Affects Versions: 2.0.0-alpha, 3.0.0
>            Reporter: Daryn Sharp
>            Assignee: Daryn Sharp
>         Attachments: HADOOP-9009.patch
>
>
> The authentication method is handled as a string when an enum is available.  Adding methods to get/set the conf value based on the enum will simplify adding new SASL auths such as PLAIN.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

[jira] [Updated] (HADOOP-9009) Add SecurityUtil methods to get/set authentication method

Posted by "Daryn Sharp (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/HADOOP-9009?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Daryn Sharp updated HADOOP-9009:
--------------------------------

    Attachment: HADOOP-9009.patch

Add getter & setter, add tests, and update existing tests to use the methods.
                
> Add SecurityUtil methods to get/set authentication method
> ---------------------------------------------------------
>
>                 Key: HADOOP-9009
>                 URL: https://issues.apache.org/jira/browse/HADOOP-9009
>             Project: Hadoop Common
>          Issue Type: Sub-task
>          Components: fs, security
>    Affects Versions: 2.0.0-alpha, 3.0.0
>            Reporter: Daryn Sharp
>            Assignee: Daryn Sharp
>         Attachments: HADOOP-9009.patch
>
>
> The authentication method is handled as a string when an enum is available.  Adding methods to get/set the conf value based on the enum will simplify adding new SASL auths such as PLAIN.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira