diff options
author | peng.zhang <peng.zhang@xiaomi.com> | 2016-06-24 08:28:32 +0100 |
---|---|---|
committer | Sean Owen <sowen@cloudera.com> | 2016-06-24 08:28:32 +0100 |
commit | f4fd7432fb9cf7b197ccada1378c4f2a6d427522 (patch) | |
tree | d63d5af02e5d87ecde98e891b278c467279d8ba6 /repl/scala-2.10 | |
parent | 2d2f607bfae97f2681df24f48bb8b1b483c6b309 (diff) | |
download | spark-f4fd7432fb9cf7b197ccada1378c4f2a6d427522.tar.gz spark-f4fd7432fb9cf7b197ccada1378c4f2a6d427522.tar.bz2 spark-f4fd7432fb9cf7b197ccada1378c4f2a6d427522.zip |
[SPARK-16125][YARN] Fix not test yarn cluster mode correctly in YarnClusterSuite
## What changes were proposed in this pull request?
Since SPARK-13220(Deprecate "yarn-client" and "yarn-cluster"), YarnClusterSuite doesn't test "yarn cluster" mode correctly.
This pull request fixes it.
## How was this patch tested?
Unit test
(If this patch involves UI changes, please attach a screenshot; otherwise, remove this)
Author: peng.zhang <peng.zhang@xiaomi.com>
Closes #13836 from renozhang/SPARK-16125-test-yarn-cluster-mode.
Diffstat (limited to 'repl/scala-2.10')
-rw-r--r-- | repl/scala-2.10/src/main/scala/org/apache/spark/repl/SparkILoop.scala | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/repl/scala-2.10/src/main/scala/org/apache/spark/repl/SparkILoop.scala b/repl/scala-2.10/src/main/scala/org/apache/spark/repl/SparkILoop.scala index 8fcab386ec..e871004173 100644 --- a/repl/scala-2.10/src/main/scala/org/apache/spark/repl/SparkILoop.scala +++ b/repl/scala-2.10/src/main/scala/org/apache/spark/repl/SparkILoop.scala @@ -943,8 +943,6 @@ class SparkILoop( }) private def process(settings: Settings): Boolean = savingContextLoader { - if (getMaster() == "yarn-client") System.setProperty("SPARK_YARN_MODE", "true") - this.settings = settings createInterpreter() |