[
https://issues.apache.org/jira/browse/HDFS-4312?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13803044#comment-13803044
]
Ivan A. Veselovsky commented on HDFS-4312:
------------------------------------------
See also https://issues.apache.org/jira/browse/HDFS-5410 : it makes
org/apache/hadoop/hdfs/server/datanode/TestStartSecureDataNode work on MiniKdc.
> fix test TestSecureNameNode and improve test TestSecureNameNodeWithExternalKdc
> ------------------------------------------------------------------------------
>
> Key: HDFS-4312
> URL: https://issues.apache.org/jira/browse/HDFS-4312
> Project: Hadoop HDFS
> Issue Type: Bug
> Affects Versions: 3.0.0
> Reporter: Ivan A. Veselovsky
> Assignee: Ivan A. Veselovsky
> Attachments: HDFS-4312.patch, HDFS-4312-trunk--N2.patch
>
>
> TestSecureNameNode does not work on Java6 without
> "dfs.web.authentication.kerberos.principal" config property set.
> Also the following improved:
> 1) keytab files are checked for existence and readability to provide
> fast-fail on config error.
> 2) added comment to TestSecureNameNode describing the required sys props.
> 3) string literals replaced with config constants.
--
This message was sent by Atlassian JIRA
(v6.1#6144)