зеркало из https://github.com/microsoft/spark.git
Use process instead of main as the latter is deprecated.
This commit is contained in:
Родитель
6ff57f5594
Коммит
065043a14f
|
@ -25,7 +25,7 @@ class ReplSuite extends FunSuite {
|
|||
val interp = new SparkILoop(in, new PrintWriter(out), master)
|
||||
spark.repl.Main.interp = interp
|
||||
val separator = System.getProperty("path.separator")
|
||||
interp.main(Array("-classpath", paths.mkString(separator)))
|
||||
interp.process(Array("-classpath", paths.mkString(separator)))
|
||||
spark.repl.Main.interp = null
|
||||
if (interp.sparkContext != null)
|
||||
interp.sparkContext.stop()
|
||||
|
|
Загрузка…
Ссылка в новой задаче