I\'d like to stop various messages that are coming on spark shell.
I tried to edit the log4j.properties file in order to stop these message.
log4j.properties
Her
Simply add below param to your spark-shell OR spark-submit command
--conf "spark.driver.extraJavaOptions=-Dlog4jspark.root.logger=WARN,console"
Check exact property name (log4jspark.root.logger here) from log4j.properties file. Hope this helps, cheers!