Re: How to setup local environment to run kerberos test cases.

2016-09-29 Thread Steve Loughran
> On 29 Sep 2016, at 08:43, Yuanbo Liu wrote: > > Hi, Rakesh > Thanks for your response. Those docs are helpful but not what I'm asking. I > was running test cases in my local machine, some test cases threw > exception. > For example: >mvn clean package -Dtest=TestSecureNameNode > it threw:

Re: How to setup local environment to run kerberos test cases.

2016-09-29 Thread Rakesh Radhakrishnan
May be its due to file permission issues or something else. The test uses MiniKdc, which is based on Apache Directory Server and is embedded in test cases. Could you share the complete logs of the failed test, I think you can look at the your machine/env location: $HADOOP_HOME/hadoop-hdfs-project/

Re: How to setup local environment to run kerberos test cases.

2016-09-29 Thread Yuanbo Liu
Hi, Rakesh Thanks for your response. Those docs are helpful but not what I'm asking. I was running test cases in my local machine, some test cases threw exception. For example: mvn clean package -Dtest=TestSecureNameNode it threw: Tests run: 2, Failures: 0, Errors: 1, Skipped: 0, Time elapsed:

Re: How to setup local environment to run kerberos test cases.

2016-09-29 Thread Rakesh Radhakrishnan
I hope the following documents will help you, it contains the details about the way to build and run hadoop test cases. Please take a look at it. https://github.com/apache/hadoop/blob/branch-2.7.3/BUILDING.txt http://hadoop.apache.org/docs/r2.7.3/hadoop-auth/BuildingIt.html Please give few more d

How to setup local environment to run kerberos test cases.

2016-09-28 Thread Yuanbo Liu
Hi, developers I'd like to run kerberos test cases in my local machine, such as "TestSecureNameNode", but I can't make it. Can anybody tell me how to setup local environment so that those test cases can run successfully. Any help will be appreciated, thanks in advance.