Changing log level of Spark in Cloudera QucikStart VM

Published on Author adminLeave a comment

Step 01 : Start Cloudera QuickStart VM.

Step 02 : Open the terminal and then start spark-shell.

 $ spark-shell 

Step 03 : Spark installed in QucikStartVM in the below mentioned location

 
$ sudo su root
$ cd /usr/lib/spark/conf
$ cp log4j.properties.template log4j.properties
$ chmod 777 log4j.properties

Change the value from INFO to WARN

Leave a Reply

Your email address will not be published. Required fields are marked *