forked from docs/doc-exports
Reviewed-by: Hasko, Vladimir <vladimir.hasko@t-systems.com> Co-authored-by: Yang, Tong <yangtong2@huawei.com> Co-committed-by: Yang, Tong <yangtong2@huawei.com>
1.6 KiB
1.6 KiB
Why Cannot the Client Connect to ZooKeeper using the IBM JDK?
Question
When the IBM JDK is used, the client fails to connect to ZooKeeper.
Answer
The possible cause is that the jaas.conf file format of the IBM JDK is different from that of the common JDK.
If IBM JDK is used, use the following jaas.conf template. The useKeytab file path must start with file://, followed by an absolute path.
Client { com.ibm.security.auth.module.Krb5LoginModule required useKeytab="file://D:/install/HbaseClientSample/conf/user.keytab" principal="hbaseuser1" credsType="both"; };
Parent topic: Common Issues About ZooKeeper