On 16 April 2014 23:42, Mohammad Islam <misla...@yahoo.com> wrote:

> Hi,
> I tried to run a test case using this command from my Linux box:
> mvn clean test  -PtestKerberos -Dtest=TestJHSSecurity
>
> And I got the following exception. I know it is  related to setup the
> principal and other kerberos settings.
>
> Can someone please help me  about this? such as what is the mvn command
> and what other settings are required?



it'll need the kerberos credentials used to talk to the cluster, which you
pick up client side via kinit ; the Java code will pick them up.



> Do I need to run my own KDC or provide own keytab?
>
>
you will need your own KDC, this is easy enough to set up on Linux -even in
a VM- and you can certainly use Linux or OSX as test boxes.

-- 
CONFIDENTIALITY NOTICE
NOTICE: This message is intended for the use of the individual or entity to 
which it is addressed and may contain information that is confidential, 
privileged and exempt from disclosure under applicable law. If the reader 
of this message is not the intended recipient, you are hereby notified that 
any printing, copying, dissemination, distribution, disclosure or 
forwarding of this communication is strictly prohibited. If you have 
received this communication in error, please contact the sender immediately 
and delete it from your system. Thank You.

Reply via email to