Repository: spark Updated Branches: refs/heads/master 76dc2d907 -> de3f71ed7
[SPARK-17598][SQL][WEB UI] User-friendly name for Spark Thrift Server in web UI ## What changes were proposed in this pull request? The name of Spark Thrift JDBC/ODBC Server in web UI reflects the name of the class, i.e. org.apache.spark.sql.hive.thrift.HiveThriftServer2. I changed it to Thrift JDBC/ODBC Server (like Spark shell for spark-shell) as recommended by jaceklaskowski. Note the user can still change the name adding `--name "App Name"` parameter to the start script as before ## How was this patch tested? By running the script with various parameters and checking the web ui  Author: Alex Bozarth <[email protected]> Closes #15268 from ajbozarth/spark17598. Project: http://git-wip-us.apache.org/repos/asf/spark/repo Commit: http://git-wip-us.apache.org/repos/asf/spark/commit/de3f71ed Tree: http://git-wip-us.apache.org/repos/asf/spark/tree/de3f71ed Diff: http://git-wip-us.apache.org/repos/asf/spark/diff/de3f71ed Branch: refs/heads/master Commit: de3f71ed7a301387e870a38c14dad9508efc9743 Parents: 76dc2d9 Author: Alex Bozarth <[email protected]> Authored: Mon Oct 3 10:24:30 2016 +0100 Committer: Sean Owen <[email protected]> Committed: Mon Oct 3 10:24:30 2016 +0100 ---------------------------------------------------------------------- sbin/start-thriftserver.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/spark/blob/de3f71ed/sbin/start-thriftserver.sh ---------------------------------------------------------------------- diff --git a/sbin/start-thriftserver.sh b/sbin/start-thriftserver.sh index ad7e7c5..f02f317 100755 --- a/sbin/start-thriftserver.sh +++ b/sbin/start-thriftserver.sh @@ -53,4 +53,4 @@ fi export SUBMIT_USAGE_FUNCTION=usage -exec "${SPARK_HOME}"/sbin/spark-daemon.sh submit $CLASS 1 "$@" +exec "${SPARK_HOME}"/sbin/spark-daemon.sh submit $CLASS 1 --name "Thrift JDBC/ODBC Server" "$@" --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
