Hello After upgrading from datahub v0.8.45 to 0.9...
# troubleshoot
r
Hello After upgrading from datahub v0.8.45 to 0.9.3 the mae and mce are unable to communicate with kerberised kafka broker. Same settings work fine if i switch back to v0.8.45. Is it because datahub v0.9.3 has upgraded to openjdk11 which does not support legacy KRB5-based cipher suites. If yes how can i mitigate this ? Exception:
Copy code
KafkaMessageListenerContainer$ListenerConsumer Consumer exception
java.lang.IllegalStateException: This error handler cannot process 'org.apache.kafka.common.errors.SaslAuthenticationException's; no record information is available
        at org.springframework.kafka.listener.SeekUtils.seekOrRecover(SeekUtils.java:200)
        at org.springframework.kafka.listener.SeekToCurrentErrorHandler.handle(SeekToCurrentErrorHandler.java:112)
        at org.springframework.kafka.listener.KafkaMessageListenerContainer$ListenerConsumer.handleConsumerException(KafkaMessageListenerContainer.java:1604)
        at org.springframework.kafka.listener.KafkaMessageListenerContainer$ListenerConsumer.run(KafkaMessageListenerContainer.java:1212)
        at java.base/java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:515)
        at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264)
        at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128)
        at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628)
        at java.base/java.lang.Thread.run(Thread.java:829)
Caused by: org.apache.kafka.common.errors.SaslAuthenticationException: Authentication failed during authentication due to invalid credentials with SASL mechanism GSSAPI
linear 1
b
Please let us know how this worked out
r
Does not work. Still getting the same error. If i use jdk8 instead of 11 will i face any issues. I can see a lot of code was converted to jdk11 https://github.com/datahub-project/datahub/pull/5836/files
If there are any other workarounds then please suggest. If you want i can present the issue on a zoom session.
b
0.9.0 we migrated the codebase from jdk8 to jdk11
r
that's why 0.8.45 works fine.
b
Does not work. Still getting the same error.
How did you try this? Did you comment out the line as suggested? And build container with that file?
r
Yes
b
🙌 @rich-policeman-92383 thanks for getting back with the solution.