A Message Is Displayed Stating "Unable to read HiveServer2 configs from ZooKeeper" During the Use of the Secondary Development Program
Question
A Message Is Displayed Stating "Unable to read HiveServer2 configs from ZooKeeper" During the Use of the Secondary Development Program.
Answer
- Possible Causes
- The used krb5.conf and user.keytab may not be the latest ones, or the user names in the files do not match with those in example codes.
- The difference between the time of the client and that of the connected cluster is greater than 5 minutes.
- Possible Causes
- Check the code and download the latest credential file for user authentication.
- Check whether the difference between the time of the client and that of the connected cluster is greater than 5 minutes. If yes, adjust the time of the client.
Feedback
Was this page helpful?
Provide feedbackThank you very much for your feedback. We will continue working to improve the documentation.