You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@spark.apache.org by sr...@apache.org on 2016/10/03 09:24:38 UTC

spark git commit: [SPARK-17598][SQL][WEB UI] User-friendly name for Spark Thrift Server in web UI

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

![screen shot 2016-09-27 at 12 19 12 pm](https://cloud.githubusercontent.com/assets/13952758/18888329/aebca47c-84ac-11e6-93d0-6e98684977c5.png)

Author: Alex Bozarth <aj...@us.ibm.com>

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 <aj...@us.ibm.com>
Authored: Mon Oct 3 10:24:30 2016 +0100
Committer: Sean Owen <so...@cloudera.com>
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: commits-unsubscribe@spark.apache.org
For additional commands, e-mail: commits-help@spark.apache.org