My application connects to a spark cluster (just starting a master and some slaves, not used yarn), now it throws StackOverwflowErr for ObjectInputStream, so i should increase -Xss of driver and executor. The documents said you can't change driver properties in your application code (using sparkConf).
changing spark-defaults.conf not worked (i guesss it only works with spark-submit) So how should i change driver related configs?