Created 01-24-2017 04:39 AM
I tried the following command but in the yarn application log, no extra kerberos debug logging.
spark-submit --master yarn-cluster --class org.apache.spark.examples.SparkPi /usr/hdp/current/spark-client/lib/spark-examples-*.jar 1 --conf spark.driver.extraJavaOptions = "-Dsun.security.krb5.debug=true -Dsun.security.spnego.debug=true"
Created 01-24-2017 06:58 AM
It seems I needed to change /etc/spark/conf/log4j.properties to enable DEBUG ...
Created 01-24-2017 05:41 AM
did you try setting debug args for executors spark.driver.extraJavaOptions?
Created 01-24-2017 05:43 AM
Do you mean spark.executor.extraJavaOptions?
If so, yes i tried.
Created 01-24-2017 06:58 AM
It seems I needed to change /etc/spark/conf/log4j.properties to enable DEBUG ...
Created 09-11-2020 10:00 AM
Hi,
What changes you made to log4j.properties file to enable kerberos debug mode?
Created 09-14-2020 12:16 AM
@RajaChintala You have to make below changes.
HADOOP_OPTS="-Dsun.security.krb5.debug=true"
For more details follow below docs: