3
与斯卡拉运行spark-shell
。斯卡拉有-Dscala.color
参数为一个彩色的REPL。我想要同样的火花。试过spark-shell -Dscala.color
但这不是得到的方式。我怎样才能得到彩色的REPL火花?火星壳与彩色repl
与斯卡拉运行spark-shell
。斯卡拉有-Dscala.color
参数为一个彩色的REPL。我想要同样的火花。试过spark-shell -Dscala.color
但这不是得到的方式。我怎样才能得到彩色的REPL火花?火星壳与彩色repl
您可以使用spark.driver.extraJavaOptions通过选项来斯卡拉REPL
spark-shell --conf spark.driver.extraJavaOptions="-Dscala.color"
为我工作下,但只有星火2。
./spark-shell --driver-java-options='-Dscala.color'
我也在Spark 1.6.0上试了一下,但是颜色没有激活。