Hi All, I am facing an issue while setting up a...
# troubleshooting
v
Hi All, I am facing an issue while setting up a realtime table in Pinot with Kafka as the stream. When creating the table via Swagger APIs, I’m seeing the following error in the Pinot logs:
ERROR [Metadata] Topic authorization failed for topics [test_pinot]
I’ve confirmed that ACLs are active and the required
READ
,
WRITE
, and
DESCRIBE
permissions are correctly granted to
pinot@XXXXX.XXX
. Setup: - Pinot + Kafka with SASL/GSSAPI authentication. Table Config Snippet: { "security.protocol": "SASL_SSL", "sasl.kerberos.service.name": "kafka", "sasl.mechanism": "GSSAPI", "sasl.jaas.config": "com.sun.security.auth.module.Krb5LoginModule required useKeyTab=true keyTab=\"/etc/security/keytabs/kafka.service.keytab\" storeKey=true useTicketCache=false serviceName=\"kafka\" principal=\"xxx.xxxxx.xxx@XXXXX.XXX\" doNotPrompt=true;", "stream.kafka.topic.name": "test_pinot" } - Does the JAAS configuration in the table setup look correct? - Are there any known issues with Pinot and Kafka ACLs?
m
@Ragesh Rajagopalan ^^
r
The configurations does look right. There are no known issues with Pinot and Kafka ACLs. You can find couple of recipes here and here. We do not have a Kerberos example readily available. If it's possible, you may try with the approaches listed in these recipes. The error seems to come from the Kafka library and not Pinot – ref. Additional troubleshooting reference can be found here. It would be good to check if your are able to connect to this cluster without using Pinot to further isolate the problem.