I have build a scala application and loggin with log4j. Sample code:
logger.info(“This gets printed in client mode but not in cluster mode”)
Issue is when i run in yarn-client
mode above statements gets printed, but when I run yarn-cluster
mode it doesn’t.
I want such messages to be printed in cluster mode as well.
Already tried
Spark-submit —files option
and setting spark.executor.extrajavaoptions
and spark.driver.extrajavaoptions`