kejie created RANGER-3842:
-----------------------------
Summary: Ranger Kafka test connection timeout in Kerberos
environment
Key: RANGER-3842
URL: https://issues.apache.org/jira/browse/RANGER-3842
Project: Ranger
Issue Type: Bug
Components: plugins, Ranger
Affects Versions: 2.3.0
Environment: linux
Reporter: kejie
Excuse me, how can I configure my Kafka to work normally?
The following is my related configuration and log information!
ranger-admin.log
{code:java}
2022-07-26 02:52:13,658 [http-nio-6080-exec-9] ERROR [ServiceMgr.java:198] ==>
ServiceMgr.validateConfig Error:java.util.concurrent.TimeoutException
...
...
...
2022-07-26 00:00:28,532 [http-nio-6080-exec-5] INFO [RESTErrorUtil.java:346]
Request failed. loginId=null, logMessage=Unauthenticated access not allowed
javax.ws.rs.WebApplicationException: null{code}
This is my Kafka server.log
{code:java}
[2022-07-26 11:27:05,359] WARN Error getting Roles. secureMode=false, user=root
(auth:SIMPLE), response={"httpStatusCode":400,"statusCode":0},
serviceName=kmr_kafka
(org.apache.ranger.admin.client.RangerAdminRESTClient){code}
ranger-admin ui
!image-2022-07-26-11-29-26-959.png!
!image-2022-07-26-11-34-17-217.png!
ranger-admin install.properties kerberos config
{code:java}
#------------ Kerberos Config -----------------
spnego_principal=HTTP/[email protected]
spnego_keytab=/etc/kmr/krb5/data/keytabs/kmr.keytab
token_valid=30
cookie_domain=
cookie_path=/
admin_principal=hadoop/[email protected]
admin_keytab=/etc/kmr/krb5/data/keytabs/kmr.keytab
lookup_principal=hadoop/[email protected]
lookup_keytab=/etc/kmr/krb5/data/keytabs/kmr.keytab
hadoop_conf=/mnt/kmr/hadoop/1/hadoop-3.1.1/etc/hadoop {code}
--
This message was sent by Atlassian Jira
(v8.20.10#820010)