Hi All,
Please help me with the below 2 issues:
*Environment:*
I am running my spark cluster in stand alone mode.
I am initializing the spark context from inside my tomcat server.
I am setting below properties in environment.sh in $SPARK_HOME/conf
directory
Try these:
- Disable shuffle : spark.shuffle.spill=false (It might end up in OOM)
- Enable log rotation:
sparkConf.set(spark.executor.logs.rolling.strategy, size)
.set(spark.executor.logs.rolling.size.maxBytes, 1024)
.set(spark.executor.logs.rolling.maxRetainedFiles, 3)
You can also look into