You are viewing a plain text version of this content. The canonical link for it is here.
Posted to hdfs-issues@hadoop.apache.org by "Todd Lipcon (Created) (JIRA)" <ji...@apache.org> on 2012/02/09 07:09:59 UTC

[jira] [Created] (HDFS-2924) Standby checkpointing fails to authenticate in secure cluster

Standby checkpointing fails to authenticate in secure cluster
-------------------------------------------------------------

                 Key: HDFS-2924
                 URL: https://issues.apache.org/jira/browse/HDFS-2924
             Project: Hadoop HDFS
          Issue Type: Sub-task
          Components: ha, name-node, security
    Affects Versions: HA branch (HDFS-1623)
            Reporter: Todd Lipcon
            Priority: Critical


When running HA on a secure cluster, the SBN checkpointing process doesn't seem to pick up the keytab-based credentials for its RPC connection to the active. I think we're just missing a doAs() in the right spot.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Updated] (HDFS-2924) Standby checkpointing fails to authenticate in secure cluster

Posted by "Todd Lipcon (Updated) (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/HDFS-2924?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Todd Lipcon updated HDFS-2924:
------------------------------

    Attachment: hdfs-2924.txt

Attached patch fixes the issue in my secure test environment. I also ran existing non-secure HA tests and they passed
                
> Standby checkpointing fails to authenticate in secure cluster
> -------------------------------------------------------------
>
>                 Key: HDFS-2924
>                 URL: https://issues.apache.org/jira/browse/HDFS-2924
>             Project: Hadoop HDFS
>          Issue Type: Sub-task
>          Components: ha, name-node, security
>    Affects Versions: HA branch (HDFS-1623)
>            Reporter: Todd Lipcon
>            Assignee: Todd Lipcon
>            Priority: Critical
>         Attachments: hdfs-2924.txt
>
>
> When running HA on a secure cluster, the SBN checkpointing process doesn't seem to pick up the keytab-based credentials for its RPC connection to the active. I think we're just missing a doAs() in the right spot.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Assigned] (HDFS-2924) Standby checkpointing fails to authenticate in secure cluster

Posted by "Todd Lipcon (Assigned) (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/HDFS-2924?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Todd Lipcon reassigned HDFS-2924:
---------------------------------

    Assignee: Todd Lipcon
    
> Standby checkpointing fails to authenticate in secure cluster
> -------------------------------------------------------------
>
>                 Key: HDFS-2924
>                 URL: https://issues.apache.org/jira/browse/HDFS-2924
>             Project: Hadoop HDFS
>          Issue Type: Sub-task
>          Components: ha, name-node, security
>    Affects Versions: HA branch (HDFS-1623)
>            Reporter: Todd Lipcon
>            Assignee: Todd Lipcon
>            Priority: Critical
>
> When running HA on a secure cluster, the SBN checkpointing process doesn't seem to pick up the keytab-based credentials for its RPC connection to the active. I think we're just missing a doAs() in the right spot.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Commented] (HDFS-2924) Standby checkpointing fails to authenticate in secure cluster

Posted by "Aaron T. Myers (Commented) (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/HDFS-2924?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13204702#comment-13204702 ] 

Aaron T. Myers commented on HDFS-2924:
--------------------------------------

+1, the patch looks good to me. Thanks a lot for finding/fixing this issue, Todd.
                
> Standby checkpointing fails to authenticate in secure cluster
> -------------------------------------------------------------
>
>                 Key: HDFS-2924
>                 URL: https://issues.apache.org/jira/browse/HDFS-2924
>             Project: Hadoop HDFS
>          Issue Type: Sub-task
>          Components: ha, name-node, security
>    Affects Versions: HA branch (HDFS-1623)
>            Reporter: Todd Lipcon
>            Assignee: Todd Lipcon
>            Priority: Critical
>         Attachments: hdfs-2924.txt
>
>
> When running HA on a secure cluster, the SBN checkpointing process doesn't seem to pick up the keytab-based credentials for its RPC connection to the active. I think we're just missing a doAs() in the right spot.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Commented] (HDFS-2924) Standby checkpointing fails to authenticate in secure cluster

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

Hudson commented on HDFS-2924:
------------------------------

Integrated in Hadoop-Hdfs-HAbranch-build #74 (See [https://builds.apache.org/job/Hadoop-Hdfs-HAbranch-build/74/])
    HDFS-2924. Standby checkpointing fails to authenticate in secure cluster. Contributed by Todd Lipcon.

todd : http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1242439
Files : 
* /hadoop/common/branches/HDFS-1623/hadoop-common-project/hadoop-common/src/main/java/org/apache/hadoop/security/SecurityUtil.java
* /hadoop/common/branches/HDFS-1623/hadoop-hdfs-project/hadoop-hdfs/CHANGES.HDFS-1623.txt
* /hadoop/common/branches/HDFS-1623/hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/server/namenode/SecondaryNameNode.java
* /hadoop/common/branches/HDFS-1623/hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/server/namenode/ha/EditLogTailer.java
* /hadoop/common/branches/HDFS-1623/hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/server/namenode/ha/StandbyCheckpointer.java

                
> Standby checkpointing fails to authenticate in secure cluster
> -------------------------------------------------------------
>
>                 Key: HDFS-2924
>                 URL: https://issues.apache.org/jira/browse/HDFS-2924
>             Project: Hadoop HDFS
>          Issue Type: Sub-task
>          Components: ha, name-node, security
>    Affects Versions: HA branch (HDFS-1623)
>            Reporter: Todd Lipcon
>            Assignee: Todd Lipcon
>            Priority: Critical
>             Fix For: HA branch (HDFS-1623)
>
>         Attachments: hdfs-2924.txt
>
>
> When running HA on a secure cluster, the SBN checkpointing process doesn't seem to pick up the keytab-based credentials for its RPC connection to the active. I think we're just missing a doAs() in the right spot.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Updated] (HDFS-2924) HA: Standby checkpointing fails to authenticate in secure cluster

Posted by "Uma Maheswara Rao G (Updated) (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/HDFS-2924?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Uma Maheswara Rao G updated HDFS-2924:
--------------------------------------

    Summary: HA: Standby checkpointing fails to authenticate in secure cluster  (was: Standby checkpointing fails to authenticate in secure cluster)
    
> HA: Standby checkpointing fails to authenticate in secure cluster
> -----------------------------------------------------------------
>
>                 Key: HDFS-2924
>                 URL: https://issues.apache.org/jira/browse/HDFS-2924
>             Project: Hadoop HDFS
>          Issue Type: Sub-task
>          Components: ha, name-node, security
>    Affects Versions: HA branch (HDFS-1623)
>            Reporter: Todd Lipcon
>            Assignee: Todd Lipcon
>            Priority: Critical
>             Fix For: HA branch (HDFS-1623)
>
>         Attachments: hdfs-2924.txt
>
>
> When running HA on a secure cluster, the SBN checkpointing process doesn't seem to pick up the keytab-based credentials for its RPC connection to the active. I think we're just missing a doAs() in the right spot.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Resolved] (HDFS-2924) Standby checkpointing fails to authenticate in secure cluster

Posted by "Todd Lipcon (Resolved) (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/HDFS-2924?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Todd Lipcon resolved HDFS-2924.
-------------------------------

       Resolution: Fixed
    Fix Version/s: HA branch (HDFS-1623)
     Hadoop Flags: Reviewed

Committed to HA branch, thanks for the review.
                
> Standby checkpointing fails to authenticate in secure cluster
> -------------------------------------------------------------
>
>                 Key: HDFS-2924
>                 URL: https://issues.apache.org/jira/browse/HDFS-2924
>             Project: Hadoop HDFS
>          Issue Type: Sub-task
>          Components: ha, name-node, security
>    Affects Versions: HA branch (HDFS-1623)
>            Reporter: Todd Lipcon
>            Assignee: Todd Lipcon
>            Priority: Critical
>             Fix For: HA branch (HDFS-1623)
>
>         Attachments: hdfs-2924.txt
>
>
> When running HA on a secure cluster, the SBN checkpointing process doesn't seem to pick up the keytab-based credentials for its RPC connection to the active. I think we're just missing a doAs() in the right spot.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira