java.lang.IllegalArgumentException: You must pass java.security.auth.login.config in secure mode.

Stack Overflow | A.GARMES | 7 months ago
tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.
  1. 1

    spark kafka security kerberos

    Stack Overflow | 7 months ago | A.GARMES
    java.lang.IllegalArgumentException: You must pass java.security.auth.login.config in secure mode.
  2. 0

    PushSampleDataToKafka_XXXXXXX script is not working fine

    GitHub | 8 months ago | ligadata-saleh
    org.apache.kafka.common.KafkaException: Failed to construct kafka producer

    Root Cause Analysis

    1. java.lang.IllegalArgumentException

      You must pass java.security.auth.login.config in secure mode.

      at org.apache.kafka.common.security.kerberos.Login.login()
    2. org.apache.kafka
      LoginManager.acquireLoginManager
      1. org.apache.kafka.common.security.kerberos.Login.login(Login.java:289)
      2. org.apache.kafka.common.security.kerberos.Login.<init>(Login.java:104)
      3. org.apache.kafka.common.security.kerberos.LoginManager.<init>(LoginManager.java:44)
      4. org.apache.kafka.common.security.kerberos.LoginManager.acquireLoginManager(LoginManager.java:85)
      4 frames
    3. Apache Kafka
      SaslChannelBuilder.configure
      1. org.apache.kafka.common.network.SaslChannelBuilder.configure(SaslChannelBuilder.java:55)
      1 frame