hadoop-hdfs-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Arpit Gupta (JIRA)" <j...@apache.org>
Subject [jira] [Created] (HDFS-4105) the SPNEGO user for secondary namenode should use the web keytab
Date Mon, 22 Oct 2012 23:20:12 GMT
Arpit Gupta created HDFS-4105:
---------------------------------

             Summary: the SPNEGO user for secondary namenode should use the web keytab
                 Key: HDFS-4105
                 URL: https://issues.apache.org/jira/browse/HDFS-4105
             Project: Hadoop HDFS
          Issue Type: Bug
    Affects Versions: 2.0.2-alpha, 1.1.0
            Reporter: Arpit Gupta
            Assignee: Arpit Gupta


This is similar to HDFS-3466 where we made sure the namenode checks for the web keytab before
it uses the namenode keytab.

The same needs to be done for secondary namenode as well.

{code}
String httpKeytab = 
              conf.get(DFSConfigKeys.DFS_SECONDARY_NAMENODE_KEYTAB_FILE_KEY);
            if (httpKeytab != null && !httpKeytab.isEmpty()) {
              params.put("kerberos.keytab", httpKeytab);
            }
{code}

--
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

Mime
View raw message