aboutsummaryrefslogtreecommitdiff
path: root/core
diff options
context:
space:
mode:
authorwangfei <wangfei1@huawei.com>2015-01-10 17:04:56 -0800
committerMichael Armbrust <michael@databricks.com>2015-01-10 17:04:56 -0800
commit92d9a704ce1232bddc570bca13758b11ff9ddb1f (patch)
tree73623b19f755504f9df631ea08103f401f842136 /core
parent8a29dc716e3452fdf546852ddc18238018b73891 (diff)
downloadspark-92d9a704ce1232bddc570bca13758b11ff9ddb1f.tar.gz
spark-92d9a704ce1232bddc570bca13758b11ff9ddb1f.tar.bz2
spark-92d9a704ce1232bddc570bca13758b11ff9ddb1f.zip
[SPARK-4871][SQL] Show sql statement in spark ui when run sql with spark-sql
Author: wangfei <wangfei1@huawei.com> Closes #3718 from scwf/sparksqlui and squashes the following commits: e0d6b5d [wangfei] format fix 383b505 [wangfei] fix conflicts 4d2038a [wangfei] using setJobDescription df79837 [wangfei] fix compile error 92ce834 [wangfei] show sql statement in spark ui when run sql use spark-sql
Diffstat (limited to 'core')
-rw-r--r--core/src/main/scala/org/apache/spark/SparkContext.scala1
1 files changed, 0 insertions, 1 deletions
diff --git a/core/src/main/scala/org/apache/spark/SparkContext.scala b/core/src/main/scala/org/apache/spark/SparkContext.scala
index 3bf3acd245..ff5d796ee2 100644
--- a/core/src/main/scala/org/apache/spark/SparkContext.scala
+++ b/core/src/main/scala/org/apache/spark/SparkContext.scala
@@ -458,7 +458,6 @@ class SparkContext(config: SparkConf) extends Logging with ExecutorAllocationCli
Option(localProperties.get).map(_.getProperty(key)).getOrElse(null)
/** Set a human readable description of the current job. */
- @deprecated("use setJobGroup", "0.8.1")
def setJobDescription(value: String) {
setLocalProperty(SparkContext.SPARK_JOB_DESCRIPTION, value)
}