aboutsummaryrefslogtreecommitdiff
path: root/sbin
diff options
context:
space:
mode:
authorAlex Bozarth <ajbozart@us.ibm.com>2016-10-03 10:24:30 +0100
committerSean Owen <sowen@cloudera.com>2016-10-03 10:24:30 +0100
commitde3f71ed7a301387e870a38c14dad9508efc9743 (patch)
tree9f20c44c4cd129f4cd5c2ba4caafcff7c579054e /sbin
parent76dc2d9073e5e5c45c8b806a474beacb8415d506 (diff)
downloadspark-de3f71ed7a301387e870a38c14dad9508efc9743.tar.gz
spark-de3f71ed7a301387e870a38c14dad9508efc9743.tar.bz2
spark-de3f71ed7a301387e870a38c14dad9508efc9743.zip
[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 <ajbozart@us.ibm.com> Closes #15268 from ajbozarth/spark17598.
Diffstat (limited to 'sbin')
-rwxr-xr-xsbin/start-thriftserver.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/sbin/start-thriftserver.sh b/sbin/start-thriftserver.sh
index ad7e7c5277..f02f31793e 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" "$@"