In this post , we will see - How to Access Spark Logs in an Yarn Cluster . Sometimes beginners find it difficult to trace back the Spark Logs when the Spark application is deployed through Yarn as Resource Manager.
We will try to jot down all the necessary steps required while running Spark in YARN mode and also to retrieve the corresponding driver and executors logs. When you deploy and run the Spark job through Yarn as a Resource Manager , the job is executed inside various containers. This makes it difficult ,especially for newbies to find the necessary job logs.
<property>
<name>yarn.log-aggregation-enable</name>
<value>true</value>
</property>
<property>
<name>yarn.nodemanager.log-aggregation.roll-monitoring-interval- seconds</name>
<value>3600</value>
</property>
yarn logs -applicationId <application ID> \[OPTIONS\]
Other search Options to retrieve logs are -
yarn logs -applicationId application\_xxxxxxxxxxxxxxx\_yyyyy
yarn logs -applicationId <YOUR\_APP\_ID> --appOwner <USER\_ID>
yarn application -list
hdfs dfs -ls /tmp/logs/{USER\_ID}/logs <--USER\_ID is whichever USER\_ID submitted the Spark job
Hope this post helps you to understand how to find the Spark Logs if it is submitted to a Yarn Cluster.
how to check spark yarn logs ,how to view spark logs ,how to view yarn logs ,spark check yarn logs ,spark logging yarn ,spark yarn logs applicationid ,spark yarn log aggregation ,spark yarn log retention ,spark yarn log command ,spark streaming yarn logs ,spark logging yarn ,spark logs in yarn ,spark logs on yarn ,spark logs yarn binding ,spark logs yarn block ,spark logs yarn build ,spark logs yarn file ,spark logs yarn header ,spark logs yarn help ,spark logs yarn jar ,spark logs yarn java ,spark logs yarn java example ,spark logs yarn join ,spark logs yarn juniper ,spark logs yarn keep ,spark logs yarn key ,spark logs yarn kit ,spark logs yarn kotlin ,spark logs yarn kubernetes ,spark logs yarn migration ,spark logs yarn node ,spark logs yarn not found ,spark logs yarn not working ,spark logs yarn npm ,spark logs yarn pandas ,spark logs yarn path ,spark logs yarn pattern ,spark logs yarn plugin ,spark logs yarn project ,spark logs yarn query ,spark logs yarn queue ,spark logs yarn test ,spark logs yarn tutorial ,spark logs yarn type ,spark logs yarn update ,spark logs yarn uses ,spark logs yarn workspace ,spark logs yarn xl ,spark logs yarn xlsx ,spark logs yarn yaml ,spark logs yarn yarn ,spark logs yarn yield ,spark logs yarn youtube ,spark logs yarn zero ,spark logs yarn zip ,spark logs yarn zoho ,spark logs yarn zone ,spark streaming yarn log aggregation ,spark streaming yarn logs ,spark submit yarn logs ,spark yarn application logs ,spark yarn driver logs ,spark yarn executor logs ,spark yarn log aggregation ,spark yarn log command ,spark yarn log configuration ,spark yarn log level ,spark yarn log location ,spark yarn log retention ,spark yarn logs applicationid ,spark yarn.log-aggregation-enable ,where are logs in spark on yarn how to view the logs ,yarn get spark logs ,yarn logs vs spark logs ,yarn spark container logs ,yarn spark job logs ,yarn view spark logs ,spark logs Yarn ,spark logging yarn ,spark yarn logs applicationid ,spark yarn log aggregation ,spark yarn log retention ,spark yarn log command ,spark streaming yarn logs ,spark streaming yarn log aggregation ,spark yarn application logs ,spark yarn log configuration ,spark check yarn logs ,spark yarn driver logs ,spark yarn.log-aggregation-enable ,spark yarn executor logs ,yarn get spark logs ,spark logs in yarn ,how to check spark yarn logs ,spark yarn log level ,spark yarn log location ,spark logs on yarn ,spark submit yarn logs ,yarn view spark logs ,yarn logs vs spark logs ,yarn logs applicationid command ,spark log aggregation ,airflow spark yarn ,apache beam spark yarn ,apache spark cannot operate without yarn ,apache spark yarn ,apache spark yarn architecture ,apache spark yarn tutorial ,apache zeppelin spark yarn ,aws emr spark yarn ,aws emr spark.yarn.executor.memoryoverhead ,aws glue spark.yarn.executor.memoryoverhead ,aws spark.yarn.executor.memoryoverhead ,beam spark yarn ,boosting spark.yarn.executor.memoryoverhead ,can spark run without yarn ,caused by java.lang.classnotfoundexception org.apache.spark.deploy.yarn.yarnsparkhadooputil ,change spark.yarn.executor.memoryoverhead ,class org.apache.spark.network.yarn.yarnshuffleservice not found ,conf spark.yarn.appmasterenv.pyspark\_python ,conf spark.yarn.driver.memoryoverhead ,conf spark.yarn.executor.memoryoverhead ,conf spark.yarn.submit.waitappcompletion ,conf spark.yarn.submit.waitappcompletion=false ,configure spark yarn cluster ,configure yarn for spark ,consider boosting spark.yarn.executor.memoryoverhead ,consider boosting spark.yarn.executor.memoryoverhead cloudera ,consider boosting spark.yarn.executor.memoryoverhead glue ,databricks spark yarn ,debug spark yarn ,default spark.yarn.executor.memoryoverhead ,difference apache spark yarn ,difference between spark and yarn ,difference between spark standalone and yarn ,docker compose spark yarn ,docker spark yarn ,docker spark yarn cluster ,does spark need yarn ,does spark require yarn ,does spark use yarn ,dynamic allocation spark yarn ,ec2 spark yarn ,emr spark yarn ,emr spark.yarn.executor.memoryoverhead ,emr spark.yarn.executor.memoryoverheadfactor ,emr spark.yarn.maxappattempts ,executorlostfailure consider boosting spark.yarn.executor.memoryoverhead ,executorlostfailure spark yarn ,failed to send rpc spark yarn ,for resource management spark can use yarn ,gc (allocation failure) spark yarn ,get yarn application id spark ,glue spark.yarn.executor.memoryoverhead ,google spark.yarn.executor.memoryoverhead ,hadoop spark yarn ,hive on spark yarn ,hive on spark yarn queue ,hive spark.yarn.queue ,how does spark work with yarn ,how spark works with yarn ,how to boost spark.yarn.executor.memoryoverhead ,how to check if spark is running on yarn ,how to check spark yarn logs ,how to configure spark.yarn.executor.memoryoverhead ,how to increase spark.yarn.executor.memoryoverhead ,how to run spark on yarn ,how to set spark.yarn.executor.memoryoverhead ,how to set spark.yarn.jars ,how to setup spark yarn cluster ,how to submit a spark job on yarn ,how to submit spark job to yarn remotely ,increase spark.yarn.executor.memoryoverhead ,install spark yarn cluster ,intellij spark yarn ,java spark yarn cluster ,java spark yarn example ,java.lang.classnotfoundexception org.apache.spark.deploy.yarn.yarnsparkhadooputil ,java.lang.classnotfoundexception org.apache.spark.network.yarn.yarnshuffleservice ,java.lang.outofmemoryerror java heap space spark yarn ,jupyter notebook spark yarn ,jupyter spark yarn ,jupyter spark yarn cluster ,jupyter spark yarn-client ,katia spark yarn ,kill spark yarn job ,livy spark yarn ,log4j spark.yarn.app.container.log.dir ,mapr spark.yarn.executor.memoryoverhead ,maven spark yarn ,mesos vs yarn for spark ,mvn spark-yarn \_2.10 ,neither spark.yarn.jars ,neither spark.yarn.jars nor spark.yarn.archive is set ,oozie spark yarn ,oozie spark.yarn.jars ,org.apache.spark.deploy.yarn.sparkrackresolver - got an error when resolving hostnames ,org.apache.spark.deploy.yarn.yarn cluster application ,org.apache.spark.sparkexception unable to load yarn support ,physical memory used. consider boosting spark.yarn.executor.memoryoverhead ,pyspark get spark yarn stagingdir ,pyspark neither spark.yarn.jars nor spark.yarn.archive is set ,pyspark set spark.yarn.executor.memoryoverhead ,pyspark spark.yarn.executor.memoryoverhead ,pyspark spark.yarn.jars ,pyspark spark.yarn.queue ,pyspark yarn ,pyspark yarn cluster mode ,python spark yarn client ,queue spark yarn ,resource-allocation-configuration-spark-yarn ,run multiple spark jobs in parallel on yarn ,run spark yarn ,running spark job in yarn mode from ide ,
set spark.yarn.executor.memoryoverhead ,set spark.yarn.queue ,spark 2.4 spark.yarn.executor.memoryoverhead ,spark and yarn ,spark architecture with yarn ,spark change yarn queue ,spark cluster setup with yarn ,spark conf yarn queue ,spark consider boosting spark.yarn.executor.memoryoverhead ,spark container killed by yarn ,spark difference between yarn-cluster and yarn-client ,spark hadoop yarn cluster ,spark hadoop yarn configuration ,spark in yarn client mode ,spark in yarn mode ,spark launcher yarn ,spark master local vs yarn ,spark master url for yarn ,spark master url yarn ,spark master yarn vs yarn-client ,spark mesos vs yarn ,spark on kubernetes vs yarn ,spark on yarn ,spark on yarn architecture ,spark on yarn best practices ,spark on yarn cloudera ,spark on yarn hive-site.xml ,spark on yarn vs standalone ,spark session builder yarn ,spark set yarn queue ,spark shell in yarn ,spark shell in yarn mode ,spark shell yarn queue ,spark spark.yarn.jars ,spark standalone vs yarn ,spark streaming yarn graceful shutdown ,spark submit master yarn vs yarn-client ,spark submit remote yarn cluster ,spark submit yarn kerberos ,spark submit yarn queue ,spark submit yarn queue name ,spark submit yarn-client vs yarn-cluster ,spark test yarn ,spark through yarn ,spark ui in yarn cluster mode ,spark version yarn shuffle jar ,spark vs yarn ,spark web ui yarn ,spark with yarn architecture ,spark with yarn setup ,spark without yarn ,spark worker yarn ,spark yarn ,spark yarn accepted but not running ,spark yarn am memory ,spark yarn application id ,spark yarn application name ,spark yarn application priority ,spark yarn architecture ,spark yarn architecture edureka ,spark yarn archive ,spark yarn attempts ,spark yarn bad substitution ,spark yarn blacklist ,spark yarn blacklist nodes ,spark yarn cli ,spark yarn client files ,spark yarn client mode ,spark yarn client vs cluster ,spark yarn client vs cluster mode ,spark yarn cluster ,spark yarn cluster docker ,spark yarn cluster hive-site.xml ,spark yarn cluster setup ,spark yarn connection reset by peer ,spark yarn container ,spark yarn container memory ,spark yarn create queue ,spark yarn deploy mode ,spark yarn distributed cache ,spark yarn docker ,spark yarn docker compose ,spark yarn docker image ,spark yarn driver logs ,spark yarn driver memory ,spark yarn dynamic allocation ,spark yarn dynamic resource allocation ,spark yarn environment variables ,spark yarn error code 13 ,spark yarn executor logs ,spark yarn executor memory ,spark yarn executor memoryoverhead ,spark yarn exit code 13 ,spark yarn failed to connect to driver ,spark yarn fair scheduler ,spark yarn files ,spark yarn gc ,spark yarn get application id ,spark yarn github ,spark yarn gpu ,spark yarn hadoop\_conf\_dir ,spark yarn hbase kerberos ,spark yarn hdfs ,spark yarn high availability ,spark yarn hive ,spark yarn hostname ,spark yarn install ,spark yarn integration ,spark yarn issue ,spark yarn jars ,spark yarn java heap space ,spark yarn java.lang.outofmemoryerror java heap space ,spark yarn java.nio.channels.closedchannelexception ,spark yarn k8s ,spark yarn kerberos ,spark yarn keytab ,spark yarn kill application ,spark yarn kill container ,spark yarn kubernetes ,spark yarn local ,spark yarn local dirs ,spark yarn local mode ,spark yarn log aggregation ,spark yarn log command ,spark yarn log level ,spark yarn log retention ,spark yarn log4j.properties ,spark yarn logs ,spark yarn master url ,spark yarn maven ,spark yarn max attempts ,spark yarn memory allocation ,spark yarn memory configuration ,spark yarn memory overhead ,spark yarn mesos ,spark yarn mode ,spark yarn no space left on device ,spark yarn node labels ,spark yarn node manager ,spark yarn not using all cores ,spark yarn num-executors ,spark yarn number of executors ,spark yarn on kubernetes ,spark yarn on windows ,spark yarn oom ,spark yarn optimization ,spark yarn options ,spark yarn or mesos ,spark yarn out of memory ,spark yarn overhead ,spark yarn parallelism ,spark yarn performance tuning ,spark yarn permission denied ,spark yarn port ,spark yarn preemption ,spark yarn println ,spark yarn prometheus ,spark yarn pyspark ,spark yarn python ,spark yarn queue ,spark yarn read local file ,spark yarn reserved memory ,spark yarn resource allocation ,spark yarn resource manager ,spark yarn resource pool ,spark yarn rest api ,spark yarn retry ,spark yarn scheduler ,spark yarn set number of executors ,spark yarn settings ,spark yarn setup ,spark yarn staging directory ,spark yarn standalone ,spark yarn tasklet ,spark yarn timeline server ,spark yarn timeout ,spark yarn tuning ,spark yarn tutorial ,spark yarn ui ,spark yarn url ,spark yarn user ,spark yarn user not found ,spark yarn usercache ,spark yarn vcores ,spark yarn vs kubernetes ,spark yarn vs local ,spark yarn vs mesos ,spark yarn vs standalone ,spark yarn web ui ,spark yarn web ui port ,spark yarn what ,spark yarn wiki ,spark yarn windows ,spark yarn zookeeper ,spark yarn-client yarn-cluster ,spark yarn-client yarn-cluster 区别 ,spark yarn-site.xml ,spark yarn-site.xml location ,spark yarn.nodemanager.local-dirs ,spark yarn.nodemanager.resource.cpu-vcores ,spark yarn.nodemanager.resource.memory-mb ,spark yarn.nodemanager.vmem-check-enabled ,spark yarn.resourcemanager.address ,spark yarn.resourcemanager.am.max-attempts ,spark yarn.resourcemanager.hostname ,spark yarn.scheduler.maximum-allocation-mb ,spark yarn.timeline-service.enabled ,spark-on-yarn-where-have-all-my-memory-gone ,spark-submit yarn cluster example ,spark-submit yarn-site.xml ,spark-yarn-memory-usage ,spark.executor.memoryoverhead vs spark.yarn.executor.memoryoverhead ,spark.hadoop.yarn properties ,spark.local.dir yarn ,spark.master yarn-client is deprecated in spark 2.0+ ,spark.yarn.app.container.log.dir location ,spark.yarn.archive example ,spark.yarn.archive zip ,spark.yarn.config.gateway path ,spark.yarn.dist.archives example ,spark.yarn.dist.archives tar.gz ,spark.yarn.dist.file hive-site.xml ,spark.yarn.dist.files example ,spark.yarn.dist.files hdfs ,spark.yarn.dist.py files ,spark.yarn.executor.memoryoverhead aws glue ,spark.yarn.executor.memoryoverhead deprecated ,spark.yarn.executor.memoryoverhead factor ,spark.yarn.executor.memoryoverhead glue ,spark.yarn.executor.memoryoverhead increase ,spark.yarn.executor.memoryoverhead pyspark ,spark.yarn.historyserver.allow tracking=true ,spark.yarn.is python ,spark.yarn.jars cloudera ,spark.yarn.jars configuration ,spark.yarn.jars download ,spark.yarn.jars example ,spark.yarn.jars property ,spark.yarn.jars s3 ,spark.yarn.keytab example ,spark.yarn.maxappattempts not working ,spark.yarn.populate hadoop classpath ,spark.yarn.queue not working ,spark.yarn.queue zeppelin ,spark.yarn.scheduler.reporter thread.maxfailures ,spark.yarn.security.tokens.hadoop fs.enabled ,spark.yarn.tags example ,spark\_yarn\_cache\_files ,spark\_yarn\_user\_env ,spring boot spark yarn ,tahiti spark yarn ,tuning spark yarn ,use of spark.yarn.executor.memoryoverhead ,vcores spark yarn ,what is spark yarn ,what is spark.yarn.driver.memoryoverhead ,what is spark.yarn.executor.memoryoverhead ,what is spark.yarn.executor.memoryoverhead used for ,what parameters are used to run spark application in yarn ,where are logs in spark on yarn how to view the logs ,where is spark.yarn.app.container.log.dir ,where to set spark.yarn.executor.memoryoverhead ,why yarn spark ,yarn architecture in spark ,yarn container vs spark executor ,yarn get spark logs ,yarn kill spark streaming job ,yarn resource manager killed the spark application ,yarn rest api submit spark job ,yarn spark version ,yarn top spark ,yarn vs kubernetes for spark ,yarn vs spark ,yarn.client neither spark.yarn.jars nor spark.yarn.archive is set ,yarn.nodemanager.local-dirs spark ,yarn.nodemanager.resource.memory-mb spark ,yarn.nodemanager.vmem-check-enabled in spark ,yarn.nodemanager.vmem-check-enabled spark-submit ,yarn.scheduler.maximum-allocation-mb spark ,zeppelin spark yarn ,zeppelin spark yarn cluster mode ,zeppelin spark yarn queue ,zeppelin spark.yarn.keytab ,spark yarn ,spark yarn architecture ,spark yarn cluster setup ,spark yarn memory overhead ,spark yarn logs ,spark yarn application priority ,spark yarn error code 13 ,spark yarn max attempts ,spark yarn vs kubernetes ,spark yarn archive ,spark yarn attempts ,spark yarn am memory ,spark yarn architecture edureka ,spark yarn application name ,spark yarn accepted but not running ,spark yarn blacklist nodes ,spark yarn bad substitution ,spark yarn blacklist ,spark on yarn best practices ,spark session builder yarn ,spark yarn connection reset by peer ,boosting spark.yarn.executor.memoryoverhead ,spark yarn cluster ,spark yarn client vs cluster mode ,spark yarn client mode ,spark yarn container ,spark yarn container memory ,spark yarn cluster docker ,spark yarn cli ,spark yarn docker ,spark yarn deploy mode ,spark yarn dynamic allocation ,spark yarn docker compose ,spark yarn driver logs ,spark yarn driver memory ,spark yarn distributed cache ,spark.yarn.dist.jars ,spark yarn executor memoryoverhead ,spark yarn exit code 13 ,spark yarn environment variables ,spark yarn executor memory ,spark yarn executor logs ,spark.yarn.executor.memoryoverhead factor ,spark.yarn.executor.memoryoverhead pyspark ,spark yarn fair scheduler ,spark yarn files ,spark yarn failed to connect to driver ,spark.yarn.dist.files example ,spark.yarn.credentials.file ,spark\_yarn\_cache\_files ,spark.yarn.dist.file hive-site.xml ,spark.yarn.dist.forcedownloadschemes ,
spark yarn gpu ,spark yarn github ,spark yarn get application id ,spark yarn gc ,spark.yarn.config.gateway path ,spark streaming yarn graceful shutdown ,spark.yarn.executor.memoryoverhead glue ,yarn get spark logs ,spark yarn hdfs ,spark yarn hive ,spark yarn hadoop\_conf\_dir ,spark yarn high availability ,spark yarn hbase kerberos ,spark.yarn.historyserver.allow tracking=true ,spark yarn hostname ,spark.hadoop.yarn.timeline-service.enabled ,spark yarn install ,spark.yarn.is python ,spark yarn integration ,spark yarn issue ,spark in yarn client mode ,spark.yarn.report.interval ,spark yarn application id ,spark yarn docker image ,spark yarn jars ,spark.yarn.jars example ,spark.yarn.jars property ,spark yarn java heap space ,spark.yarn.jars configuration ,spark yarn java.lang.outofmemoryerror java heap space ,spark.yarn.jars s3 ,spark yarn java.nio.channels.closedchannelexception ,spark yarn kill application ,spark yarn kerberos ,spark yarn kubernetes ,spark yarn keytab ,spark.yarn.keytab example ,spark.yarn.kerberos.relogin.period ,spark yarn kill container ,spark yarn k8s ,spark yarn log aggregation ,spark yarn log level ,spark yarn local mode ,spark yarn local ,spark yarn log4j.properties ,spark yarn log retention ,spark yarn local dirs ,spark yarn mode ,spark yarn master url ,spark yarn maven ,spark.yarn.maxappattempts=1 ,spark.yarn.maxappattempts not working ,spark-yarn-memory-usage ,spark yarn number of executors ,spark yarn.nodemanager.vmem-check-enabled ,spark yarn.nodemanager.resource.memory-mb ,spark yarn num-executors ,spark yarn node labels ,spark yarn not using all cores ,spark yarn no space left on device ,spark yarn.nodemanager.local-dirs ,spark yarn overhead ,spark yarn on kubernetes ,spark yarn options ,spark yarn optimization ,spark yarn out of memory ,spark yarn or mesos ,spark yarn oom ,spark yarn on windows ,spark yarn port ,spark yarn parallelism ,spark yarn preemption ,spark yarn python ,spark yarn performance tuning ,spark yarn permission denied ,spark.yarn.populate hadoop classpath ,spark yarn pyspark ,spark yarn queue ,spark.yarn.queue not working ,spark.yarn.queue zeppelin ,spark submit yarn queue ,spark shell yarn queue ,spark change yarn queue ,spark conf yarn queue ,spark yarn create queue ,spark yarn rest api ,spark yarn resource allocation ,spark yarn read local file ,spark yarn retry ,spark yarn resource manager ,spark yarn.resourcemanager.am.max-attempts ,spark.yarn.rolledlog.includepattern ,spark yarn staging directory ,spark yarn scheduler ,spark yarn setup ,spark yarn settings ,spark.yarn.secondary.jars ,spark.yarn.security.tokens.hive.enabled ,spark.yarn.submit.waitappcompletion=false ,spark.yarn.scheduler.reporter thread.maxfailures ,spark.yarn.tags ,spark.yarn.tags example ,spark yarn tutorial ,spark yarn timeout ,spark.yarn.tokens.hbase.enabled ,spark yarn tuning ,spark yarn.timeline-service.enabled ,spark.yarn.token.renewal.interval ,spark\_yarn\_user\_env ,spark.yarn.user.classpath.first ,spark yarn ui ,spark yarn user ,spark yarn usercache ,spark yarn user not found ,spark yarn url ,spark.yarn.unmanaged.enabled ,spark yarn vs standalone ,spark yarn vs mesos ,spark yarn vs local ,spark yarn vcores ,spark vs yarn ,yarn spark version ,spark version yarn shuffle jar ,spark yarn web ui ,spark yarn web ui port ,spark yarn windows ,spark yarn wiki ,spark yarn what ,spark without yarn ,spark with yarn architecture ,spark with yarn setup ,spark yarn-site.xml ,spark yarn-site.xml location ,spark-submit yarn-site.xml ,spark yarn cluster hive-site.xml ,spark yarn-client yarn-cluster ,spark.yarn.appmasterenv.yarn.nodemanager.docker-container-executor.image-name ,spark yarn-client yarn-cluster 区别 ,spark yarn zookeeper ,spark.yarn.archive zip ,zeppelin spark yarn cluster mode ,zeppelin spark yarn ,zeppelin spark.yarn.keytab ,spark yarn cluster architecture ,spark yarn client mode architecture ,spark and yarn architecture ,spark on yarn architecture ,yarn architecture in spark ,spark architecture with yarn ,spark multi node cluster setup yarn ,spark on yarn cluster ,run spark on yarn cluster ,spark cluster setup ,configure spark yarn cluster ,how to setup spark yarn cluster ,running spark job on yarn cluster ,spark cluster setup with yarn ,spark yarn driver memory overhead ,spark.yarn.executor.memoryoverhead value ,spark yarn log command ,spark streaming yarn logs ,spark yarn application logs ,yarn spark container logs ,spark yarn logs applicationid ,spark streaming yarn log aggregation ,spark yarn log configuration ,spark.yarn.app.container.log.dir ,spark.yarn.app.container.log.dir location ,spark.yarn.app.container.log.dir default value ,spark.yarn.app.container.log.dir default ,spark.yarn.app.container.log.dir emr ,spark yarn debug log ,spark.yarn.app.container.log.dir value ,spark yarn.log-aggregation-enable ,how to check spark yarn logs ,spark logs in yarn ,yarn spark job logs ,spark yarn log location ,spark logs on yarn ,spark submit yarn logs ,yarn logs vs spark logs ,spark submit yarn.resourcemanager.am.max-attempts ,spark.yarn.maxappattempts vs yarn.resourcemanager.am.max-attempts ,spark.yarn.max app attempts ,yarn.resourcemanager.am.max-attempts spark ,spark.yarn.max attempts default value ,yarn vs kubernetes for spark ,spark standalone vs yarn vs mesos ,