[
https://issues.apache.org/jira/browse/HADOOP-12369?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Andrew Wang updated HADOOP-12369:
---------------------------------
Attachment: hadoop-12369.001.patch
Patch attached. Found the same issue in the yarn registry pom (it has quite
some dupes with hadoop-project's pom for some reason) and fixed it there too.
Ran a few assorted tests to get a feel, passed:
{noformat}
-> % mvn test
-Dtest=TestBlockToken,TestCredentials,TestAMRMTokens,TestRPC,TestWebHdfsUrl
{noformat}
> Point hadoop-project/pom.xml java.security.krb5.conf within target folder
> -------------------------------------------------------------------------
>
> Key: HADOOP-12369
> URL: https://issues.apache.org/jira/browse/HADOOP-12369
> Project: Hadoop Common
> Issue Type: Improvement
> Affects Versions: 2.7.1
> Reporter: Andrew Wang
> Assignee: Andrew Wang
> Priority: Minor
> Attachments: hadoop-12369.001.patch
>
>
> This is used in the unit test environment, pointing within the src tree is
> naughty. The fix is simply to update to point within the target directory
> instead:
> {noformat}
> -
> <java.security.krb5.conf>${basedir}/src/test/resources/krb5.conf</java.security.krb5.conf>
> +
> <java.security.krb5.conf>${test.cache.data}/krb5.conf</java.security.krb5.conf>
> {noformat}
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)