Quantcast
Channel: Hortonworks » All Replies
Viewing all articles
Browse latest Browse all 3435

unable to change log level for spark apps in mode yarn-cluser

$
0
0

Hi,

I’m unable to change the log4j settings when running a streaming Spark app in yarn-cluster mode. When I’m executing it as yarn-client by modifying “spark.driver.extraJavaOptions” and “spark.executor.extraJavaOptions” I can properly set the level of logging.

With yarn-cluster these changes have no effect and the log in the containers keep growing and growing with a lot of INFO messages. I also tried to modify the “Advanced spark-log4j-properties” in the Ambari’s Spark configuration page with no luck.

YARN version: 2.6.0.2.2
Ambari version: 2.0.0
Spark version: 1.2.0.2.2

Thanks!


Viewing all articles
Browse latest Browse all 3435

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>