[
https://issues.apache.org/jira/browse/HDFS-4312?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Ivan A. Veselovsky updated HDFS-4312:
-------------------------------------
Attachment: HDFS-4312-trunk--N2.patch
Test remade with MiniKdc.
Also the patch removes "startKdc" profile from pom, since it is not needed any
more.
> 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)