From 27df6ce6a2e6ba2142329f35e1670da184cb384c Mon Sep 17 00:00:00 2001 From: Kousuke Saruta Date: Thu, 28 Aug 2014 22:52:53 -0700 Subject: [PATCH] [SPARK-3279] Remove useless field variable in ApplicationMaster Author: Kousuke Saruta Closes #2177 from sarutak/SPARK-3279 and squashes the following commits: 2955edc [Kousuke Saruta] Removed useless field variable from ApplicationMaster --- .../scala/org/apache/spark/deploy/yarn/ApplicationMaster.scala | 1 - 1 file changed, 1 deletion(-) diff --git a/yarn/common/src/main/scala/org/apache/spark/deploy/yarn/ApplicationMaster.scala b/yarn/common/src/main/scala/org/apache/spark/deploy/yarn/ApplicationMaster.scala index f15c813b83973..5f66a98e7528b 100644 --- a/yarn/common/src/main/scala/org/apache/spark/deploy/yarn/ApplicationMaster.scala +++ b/yarn/common/src/main/scala/org/apache/spark/deploy/yarn/ApplicationMaster.scala @@ -46,7 +46,6 @@ private[spark] class ApplicationMaster(args: ApplicationMasterArguments, client: YarnRMClient) extends Logging { // TODO: Currently, task to container is computed once (TaskSetManager) - which need not be // optimal as more containers are available. Might need to handle this better. - private val ALLOCATE_HEARTBEAT_INTERVAL = 100 private val sparkConf = new SparkConf() private val yarnConf: YarnConfiguration = new YarnConfiguration(new Configuration())