Support Questions
Find answers, ask questions, and share your expertise
Announcements
Alert: Welcome to the Unified Cloudera Community. Former HCC members be sure to read and learn how to activate your account here.

How to use single log4j.properties for multiple spark application, which is run as client mode?

How to use single log4j.properties for multiple spark application, which is run as client mode?

New Contributor

I am using log4j.properties for logging my spark application, which is executed in yarn client mode. I need to use single log4j.properties for multiple applications. The problem is I can not pass the file name to executors log4j.properties file during spark-submit. driver log is coming as expected. Help me to solve this problem. Whether i  can able to add a unique Id to the file name?

Don't have an account?
Coming from Hortonworks? Activate your account here