[ 
https://issues.apache.org/jira/browse/HDFS-1358?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12903117#action_12903117
 ] 

Kan Zhang commented on HDFS-1358:
---------------------------------

You may want to consider adding the following to SecurityUtil.login(), just 
like UGI.loginUserFromKeytab() does. Also, shouldn't we throw an exception when 
keytabFilename == null?
{code}
    if (!UserGroupInformation.isSecurityEnabled())
      return;
{code}

> Namenode start (init) fails because of invalid kerberos key, even when 
> security set to "simple"
> -----------------------------------------------------------------------------------------------
>
>                 Key: HDFS-1358
>                 URL: https://issues.apache.org/jira/browse/HDFS-1358
>             Project: Hadoop HDFS
>          Issue Type: Bug
>            Reporter: Boris Shkolnik
>            Assignee: Boris Shkolnik
>             Fix For: 0.22.0
>
>         Attachments: HDFS-1358.patch
>
>
> NameNode.initialize() calls login() method even when security set to simple

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to