How to fix ranger tagsync issue

  1. Check the log /var/log/ranger/tagsync/tagsync.out, if it complains missing classes, copy two jar files: commons-codec-1.4.jar and commons-compress-1.4.1.jar from /usr/hdp/current/hadoop-client/lib/ to /usr/hdp/current/ranger-tagsync/lib/.

How to fix kafka-consumer-group command getting error ‘disconnected’

If you have PLAINTEXTSASL enabled and you get the error similar as below:

WARN Bootstrap broker <host>:<port> (id: -2 rack: null) disconnected (org.apache.kafka.clients.NetworkClient)

You can try to fix it by adding a command option: –security-protocol PLAINTEXTSASL.