spark-instrumented-optimizer/repl
DB Tsai 2bc7b75537
[SPARK-24785][SHELL] Making sure REPL prints Spark UI info and then Welcome message
## What changes were proposed in this pull request?

After https://github.com/apache/spark/pull/21495 the welcome message is printed first, and then Scala prompt will be shown before the Spark UI info is printed.

Although it's a minor issue, but visually, it doesn't look as nice as the existing behavior. This PR intends to fix it by duplicating the Scala `process` code to arrange the printing order. However, one variable is private, so reflection has to be used which is not desirable.

We can use this PR to brainstorm how to handle it properly and how Scala can change their APIs to fit our need.

## How was this patch tested?

Existing test

Closes #21749 from dbtsai/repl-followup.

Authored-by: DB Tsai <d_tsai@apple.com>
Signed-off-by: DB Tsai <d_tsai@apple.com>
2018-08-22 23:14:56 +00:00
..
scala-2.11/src/main/scala/org/apache/spark/repl [SPARK-24785][SHELL] Making sure REPL prints Spark UI info and then Welcome message 2018-08-22 23:14:56 +00:00
scala-2.12/src/main/scala/org/apache/spark/repl [SPARK-22572][SPARK SHELL] spark-shell does not re-initialize on :replay 2017-11-22 21:35:47 +09:00
src [SPARK-24420][BUILD][FOLLOW-UP] Upgrade ASM6 APIs 2018-08-13 05:59:08 +00:00
pom.xml [SPARK-24420][BUILD] Upgrade ASM to 6.1 to support JDK9+ 2018-07-03 10:13:48 -07:00