spark kafka security kerberos -
i try use kafka(0.9.1) secure mode. read data spark, must pass jaas conf file jvm. use cmd start job : /opt/spark/bin/spark-submit -v --master spark://master1:7077 \ --conf "spark.executor.extrajavaoptions=-djava.security.auth.login.conf=kafka_client_jaas.conf" \ --files "./conf/kafka_client_jaas.conf,./conf/kafka.client.1.keytab" \ --class kafka.consumersasl ./kafka.jar --topics test i still have same error : caused by: java.lang.illegalargumentexception: must pass java.security.auth.login.config in secure mode. @ org.apache.kafka.common.security.kerberos.login.login(login.java:289) @ org.apache.kafka.common.security.kerberos.login.<init>(login.java:104) @ org.apache.kafka.common.security.kerberos.loginmanager.<init>(loginmanager.java:44) @ org.apache.kafka.common.security.kerberos.loginmanager.acquireloginmanager(loginmanager.java:85) @ org.apache.kafka.common.network.saslchannelbuilder.configure(saslch