0

I am new in spark and i want to print logs on console using apache spark in yarn cluster mode.

1 Answers1

0

You need to check the value in log4j.properties file. In my case i have this file in /etc/spark/conf.dist directory

log4j.rootCategory=INFO,console

INFO - prints the all the logs on the console. You can change the value to ERROR, WARN to limit the information you would like to see on the console as sparks logs can be overwhelming

vikrame
  • 485
  • 2
  • 12