diff options
author | Reynold Xin <rxin@databricks.com> | 2016-07-30 23:05:03 -0700 |
---|---|---|
committer | Reynold Xin <rxin@databricks.com> | 2016-07-30 23:05:03 -0700 |
commit | 7c27d075c39ebaf3e762284e2536fe7be0e3da87 (patch) | |
tree | b5e6f444241fb8f2181c5ffe88a4a77d3bcf26e4 /repl | |
parent | 957a8ab3743521850fb1c0106c37c5d3997b9e56 (diff) | |
download | spark-7c27d075c39ebaf3e762284e2536fe7be0e3da87.tar.gz spark-7c27d075c39ebaf3e762284e2536fe7be0e3da87.tar.bz2 spark-7c27d075c39ebaf3e762284e2536fe7be0e3da87.zip |
[SPARK-16812] Open up SparkILoop.getAddedJars
## What changes were proposed in this pull request?
This patch makes SparkILoop.getAddedJars a public developer API. It is a useful function to get the list of jars added.
## How was this patch tested?
N/A - this is a simple visibility change.
Author: Reynold Xin <rxin@databricks.com>
Closes #14417 from rxin/SPARK-16812.
Diffstat (limited to 'repl')
-rw-r--r-- | repl/scala-2.10/src/main/scala/org/apache/spark/repl/SparkILoop.scala | 3 |
1 files changed, 2 insertions, 1 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 16f330a320..e017aa42a4 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 @@ -1059,7 +1059,8 @@ class SparkILoop( @deprecated("Use `process` instead", "2.9.0") private def main(settings: Settings): Unit = process(settings) - private[repl] def getAddedJars(): Array[String] = { + @DeveloperApi + def getAddedJars(): Array[String] = { val conf = new SparkConf().setMaster(getMaster()) val envJars = sys.env.get("ADD_JARS") if (envJars.isDefined) { |