How to get rid of "Using Spark's default log4j profile: org/apache/spark/log4j-defaults.properties" message? -


i trying suppress message

using spark's default log4j profile: org/apache/spark/log4j-defaults.properties 

when run spark app. i've redirected info messages successfully, message keeps on showing up. ideas appreciated.

even simpler cd spark_home/conf mv log4j.properties.template log4j.properties open log4j.properties , change info error. here spark_home root directory of spark installation.

some may using hdfs spark storage backend , find logging messages generated hdfs. alter this, go hadoop_home/etc/hadoop/log4j.properties file. change hadoop.root.logger=info,console hadoop.root.logger=error,console. once again hadoop_home root of hadoop installation me /usr/local/hadoop.


Comments

Popular posts from this blog

PHP DOM loadHTML() method unusual warning -

python - How to create jsonb index using GIN on SQLAlchemy? -

c# - TransactionScope not rolling back although no complete() is called -