rangareddy commented on issue #12854:
URL: https://github.com/apache/hudi/issues/12854#issuecomment-2686863183

   Starting from **Spark 3.3**, to log messages, we need to use the **log4j2** 
library **instead** of the **log4j** library. For example, you can configure 
**log4j2** by updating your **log4j2.xml** configuration file or 
**log4j2.properties** file.
   
   `spark-submit --class org.apache.spark.examples.SparkPi --master yarn 
--deploy-mode cluster --files /tmp/log4j2.properties --conf 
"spark.executor.extraJavaOptions='-Dlog4j.configurationFile=log4j2.properties'" 
--conf 
"spark.driver.extraJavaOptions='-Dlog4j.configurationFile=log4j2.properties'" 
--num-executors 1 --driver-memory 512m --executor-memory 512m --executor-cores 
1 ./spark-examples*.jar 10`


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to