Alejandro Abdelnur created HADOOP-10947:
-------------------------------------------

             Summary: Get rid of test krb5.conf files in test resources
                 Key: HADOOP-10947
                 URL: https://issues.apache.org/jira/browse/HADOOP-10947
             Project: Hadoop Common
          Issue Type: Bug
          Components: test
    Affects Versions: 2.6.0
            Reporter: Alejandro Abdelnur
            Assignee: Alejandro Abdelnur


HADOOP-8078 added to trunk the possibility to run apacheds kdc for tests, 
downloading and configuring it by hand. Doing this, changed krb5.conf file in 
test/resources. 

krb5.conf is set as a system property, getDefaultRealm() resolves to that the 
first use. 

In trunk default realm is set to EXAMPLE.COM, in branch-2 to APACHE.ORG 
(because HADOOP-8078 was never merged into branch-2).

This causes problems with tests using minikdc. I've noticed this while merging 
HADOOP-10771 into branch-2.

We can get rid of krb5.conf files and revert HADOOP-8078 because we can use 
embedded minikdc in test cases now.






--
This message was sent by Atlassian JIRA
(v6.2#6252)

Reply via email to