[ https://issues.apache.org/jira/browse/HDFS-4312?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14014250#comment-14014250 ]
Chris Nauroth commented on HDFS-4312: ------------------------------------- Hello, [~iveselovsky]. I just stumbled across this patch, and I'd love to help get it committed so that we get more regular coverage of security during pre-commit test runs. The last attachment no longer applies to current trunk, so would you please rebase it? I can volunteer to code review and commit. > 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-trunk--N2.patch, HDFS-4312.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.2#6252)