Hi all, I am new in using Apache Ranger plugin. So I download plugin from https://github.com/apache/ranger. Then I build using "$ mvn clean compile package install assembly:assembly" command. But I get error message like this :
[INFO] ------------------------------------------------------- [INFO] T E S T S [INFO] ------------------------------------------------------- [INFO] Running org.apache.ranger.authorization.kafka.authorizer.KafkaRangerAuthorizerSASLSSLTest log4j:WARN No appenders could be found for logger (org.apache.zookeeper.server.ZooKeeperServerMain). log4j:WARN Please initialize the log4j system properly. log4j:WARN See http://logging.apache.org/log4j/1.2/faq.html#noconfig for more info. [INFO] Running org.apache.ranger.authorization.kafka.authorizer.KafkaRangerAuthorizerTest log4j:WARN No appenders could be found for logger (org.apache.zookeeper.server.ZooKeeperServerMain). log4j:WARN Please initialize the log4j system properly. log4j:WARN See http://logging.apache.org/log4j/1.2/faq.html#noconfig for more info. [INFO] Tests run: 4, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 19.1 s - in org.apache.ranger.authorization.kafka.authorizer.KafkaRangerAuthorizerTest [INFO] Running org.apache.ranger.authorization.kafka.authorizer.KafkaRangerAuthorizerGSSTest log4j:WARN No appenders could be found for logger (org.apache.kerby.kerberos.kerb.identity.backend.AbstractIdentityBackend). log4j:WARN Please initialize the log4j system properly. log4j:WARN See http://logging.apache.org/log4j/1.2/faq.html#noconfig for more info. [ERROR] Tests run: 2, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 12.479 s <<< FAILURE! - in org.apache.ranger.authorization.kafka.authorizer.KafkaRangerAuthorizerGSSTest [ERROR] testAuthorizedRead(org.apache.ranger.authorization.kafka.authorizer.KafkaRangerAuthorizerGSSTest) Time elapsed: 0.728 s <<< ERROR! org.apache.kafka.common.errors.TopicAuthorizationException: Not authorized to access topics: [test] [INFO] [INFO] Results: [INFO] [ERROR] Errors: [ERROR] KafkaRangerAuthorizerGSSTest.testAuthorizedRead ยป TopicAuthorization Not autho... [INFO] [ERROR] Tests run: 6, Failures: 0, Errors: 1, Skipped: 0 How to resolve this problem ? Thanks.