From 6b2e521b2b0e0485e41489e1b3471c363d4b999b Mon Sep 17 00:00:00 2001 From: twinkle sachdeva Date: Wed, 25 Feb 2015 14:50:33 +0530 Subject: [PATCH] SPARK-4705 Incorporating the review comments regarding formatting, will do the rest of the changes after this --- .../scala/org/apache/spark/deploy/yarn/ApplicationMaster.scala | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/yarn/src/main/scala/org/apache/spark/deploy/yarn/ApplicationMaster.scala b/yarn/src/main/scala/org/apache/spark/deploy/yarn/ApplicationMaster.scala index db5af9d29b99a..3cc2a9f5570b1 100644 --- a/yarn/src/main/scala/org/apache/spark/deploy/yarn/ApplicationMaster.scala +++ b/yarn/src/main/scala/org/apache/spark/deploy/yarn/ApplicationMaster.scala @@ -91,7 +91,8 @@ private[spark] class ApplicationMaster( // Propagate the application ID so that YarnClusterSchedulerBackend can pick it up. System.setProperty("spark.yarn.app.id", appAttemptId.getApplicationId().toString()) - //Propagate the attempt if, so that in case of event logging, different attempt's logs gets created in different directory + // Propagate the attempt if, so that in case of event logging, + // different attempt's logs gets created in different directory System.setProperty("spark.yarn.app.attemptid", appAttemptId.getAttemptId().toString()) }