Deze pagina is nog niet beschikbaar in uw eigen taal. We werken er hard aan om meer taalversies toe te voegen. Bedankt voor uw steun.

On this page

Show all

Help Center/ MapReduce Service/ Component Operation Guide (Normal)/ Using ZooKeeper/ Common Issues About ZooKeeper/ What Should I Do When the ZooKeeper Client Fails to Refresh a TGT?

What Should I Do When the ZooKeeper Client Fails to Refresh a TGT?

Updated on 2024-12-11 GMT+08:00

Question

The ZooKeeper client fails to refresh a TGT and therefore ZooKeeper cannot be accessed. The error message is as follows:

Login: Could not renew TGT due to problem running shell command: '***/kinit -R'; exception was:org.apache.zookeeper.Shell$ExitCodeException: kinit: Ticket expired while renewing credentials

Answer

ZooKeeper uses the system command kinit – R to refresh a ticket. In the current version of MRS, the function of this command is canceled. If a long-term task needs to be executed, you are advised to implement the authentication function in keytab mode.

In the Client installation path/ZooKeeper/zookeeper/conf/jaas.conf file, set useTicketCache to false, set useKeyTab to true, and specify the keytab path.

Feedback

Feedback

Feedback

0/500

Selected Content

Submit selected content with the feedback