aboutsummaryrefslogtreecommitdiff
path: root/yarn/src
diff options
context:
space:
mode:
authorReynold Xin <rxin@apache.org>2013-12-15 12:49:02 -0800
committerReynold Xin <rxin@apache.org>2013-12-15 12:49:02 -0800
commitc55e698559828eac65d7fc093c3109e08087f253 (patch)
tree5348573df5eeff911dcd42af5f15ceafbe78b413 /yarn/src
parentab85f88fd77a883684cec0a58222d983b9bd18fd (diff)
parent842eb55fb53e08daed34d161167854b8b093fbd5 (diff)
downloadspark-c55e698559828eac65d7fc093c3109e08087f253.tar.gz
spark-c55e698559828eac65d7fc093c3109e08087f253.tar.bz2
spark-c55e698559828eac65d7fc093c3109e08087f253.zip
Merge pull request #257 from tgravescs/sparkYarnFixName
Fix the --name option for Spark on Yarn Looks like the --name option accidentally got broken in one of the merges. The Client hangs if the --name option is used right now.
Diffstat (limited to 'yarn/src')
-rw-r--r--yarn/src/main/scala/org/apache/spark/deploy/yarn/ClientArguments.scala1
1 files changed, 1 insertions, 0 deletions
diff --git a/yarn/src/main/scala/org/apache/spark/deploy/yarn/ClientArguments.scala b/yarn/src/main/scala/org/apache/spark/deploy/yarn/ClientArguments.scala
index b9dbc3fb87..b3a7886d93 100644
--- a/yarn/src/main/scala/org/apache/spark/deploy/yarn/ClientArguments.scala
+++ b/yarn/src/main/scala/org/apache/spark/deploy/yarn/ClientArguments.scala
@@ -89,6 +89,7 @@ class ClientArguments(val args: Array[String]) {
case ("--name") :: value :: tail =>
appName = value
+ args = tail
case ("--addJars") :: value :: tail =>
addJars = value