commit
37625fd4dc
9
bin/kyuubi-logo
Normal file
9
bin/kyuubi-logo
Normal file
@ -0,0 +1,9 @@
|
||||
__ __ __
|
||||
/\ \/\ \ /\ \ __
|
||||
\ \ \/'/' __ __ __ __ __ __\ \ \____/\_\
|
||||
\ \ , < /\ \/\ \/\ \/\ \/\ \/\ \\ \ '__`\/\ \
|
||||
\ \ \\`\\ \ \_\ \ \ \_\ \ \ \_\ \\ \ \L\ \ \ \
|
||||
\ \_\ \_\/`____ \ \____/\ \____/ \ \_,__/\ \_\
|
||||
\/_/\/_/`/___/> \/___/ \/___/ \/___/ \/_/
|
||||
/\___/
|
||||
\/__/
|
||||
@ -22,6 +22,9 @@ CLASS="yaooqinn.kyuubi.server.KyuubiServer"
|
||||
|
||||
BIN_DIR="$(cd "`dirname "$0"`"; pwd)"
|
||||
|
||||
echo "Welcome to"
|
||||
cat $BIN_DIR/kyuubi-logo
|
||||
|
||||
set -a
|
||||
. "${BIN_DIR}/kyuubi-env.sh"
|
||||
set +a
|
||||
@ -65,5 +68,3 @@ if [ "$KYUUBI_SUBMIT_ENABLE" == "true" ]; then
|
||||
else
|
||||
exec "${SPARK_HOME}"/sbin/spark-daemon.sh submit ${CLASS} 1 "$@" "$KYUUBI_JAR"
|
||||
fi
|
||||
|
||||
|
||||
|
||||
@ -56,9 +56,24 @@ object KyuubiMain {
|
||||
|
||||
val env = new HMap[String, String]()
|
||||
val cmd = builder.buildCommand(env)
|
||||
val msg =
|
||||
"""
|
||||
| Welcome to
|
||||
| __ __ __
|
||||
| /\ \/\ \ /\ \ __
|
||||
| \ \ \/'/' __ __ __ __ __ __\ \ \____/\_\
|
||||
| \ \ , < /\ \/\ \/\ \/\ \/\ \/\ \\ \ '__`\/\ \
|
||||
| \ \ \\`\\ \ \_\ \ \ \_\ \ \ \_\ \\ \ \L\ \ \ \
|
||||
| \ \_\ \_\/`____ \ \____/\ \____/ \ \_,__/\ \_\
|
||||
| \/_/\/_/`/___/> \/___/ \/___/ \/___/ \/_/
|
||||
| /\___/
|
||||
| \/__/
|
||||
""".stripMargin
|
||||
// scalastyle:off
|
||||
printStream.println(msg)
|
||||
printStream.println("=" * 69)
|
||||
printStream.println("Kyuubi Command: " + join(" ", cmd))
|
||||
printStream.println("========================================")
|
||||
printStream.println("=" * 69)
|
||||
// scalastyle:on
|
||||
prepareBashCommand(cmd, env).asScala.foreach { c =>
|
||||
print(c)
|
||||
|
||||
Loading…
Reference in New Issue
Block a user