Hello!
I've found this problem that has also appeared before.
The original problem root cause:
private static final String ZOOKEEPER_DEFAULT_SERVER_PRINCIPAL = "zookeeper/hadoop";
The setting will cause the ZK occasional authentication to fail.
The solution is to adjust the modification:
private Static final String ZOOKEEPER_DEFAULT_SERVER_PRINCIPAL = "zookeeper/hadoop.hadoop.com";
This can solve this problem - you can try it.