[ 
https://issues.apache.org/jira/browse/PHOENIX-5067?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16834422#comment-16834422
 ] 

Mihir Monani commented on PHOENIX-5067:
---------------------------------------

[~karanmehta93] To run pherf agains kerberised cluster , two things are 
required.

1) You need location of krb5.conf ex. 
-Djava.security.krb5.conf=$KRB_DIR/krb5.conf

2) You need zk-jaas.conf file which will be located under hbase/conf folder ex. 
-Djava.security.auth.login.config=hbase_dir/conf/*

Pass above two parameter with java file and it should work.

something like this :- 

bin/java . -Djava.security.auth.login.config=hbase_dir/conf/* 
-Djava.security.krb5.conf=$KRB_DIR/krb5.conf -cp $CLASSPATH 
org.apache.phoenix.pherf.Pherf

> Support for secure Phoenix cluster in Pherf
> -------------------------------------------
>
>                 Key: PHOENIX-5067
>                 URL: https://issues.apache.org/jira/browse/PHOENIX-5067
>             Project: Phoenix
>          Issue Type: Improvement
>            Reporter: Biju Nair
>            Assignee: Sandeep Pal
>            Priority: Minor
>         Attachments: PHOENIX-5067-4.x-HBase-1.1, 
> PHOENIX-5067-4.x-HBase-1.1.patch
>
>
> Currently Phoenix performance and functional testing tool {{Pherf}} doesn't 
> have options to pass in Kerberos principal and Keytab to connect to a secure 
> (Kerberized) Phoenix cluster. This prevents running the tool against a 
> Kerberized clusters.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to