Help Center/ MapReduce Service/ Component Operation Guide (LTS) (Ankara Region)/ Using Spark/ Spark FAQ/ How Do I Change the Log Level to INFO When Using Spark yarn-client?
Updated on 2024-11-29 GMT+08:00

How Do I Change the Log Level to INFO When Using Spark yarn-client?

Symptom

How do I change the log level to INFO when using Spark yarn-client?

Procedure

  1. Log in to the Spark client node and change the value of Log4j.rootCategory in the {Client installation directory}Spark/spark/conf/log4j.properties configuration file to INFO.

  2. Restart the spark-sql client.