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 2017/08/03 09:13:55 UTC

spark git commit: [SPARK-21604][SQL] if the object extends Logging, i suggest to remove the var LOG which is useless.

Repository: spark
Updated Branches:
  refs/heads/master 7c206dd33 -> f13dbb3a4


[SPARK-21604][SQL] if the object extends Logging, i suggest to remove the var LOG which is useless.

## What changes were proposed in this pull request?

if the object extends Logging, i suggest to remove the var LOG which is useless.

## How was this patch tested?

Exist tests

Author: zuotingbing <zu...@zte.com.cn>

Closes #18811 from zuotingbing/SPARK-21604.


Project: http://git-wip-us.apache.org/repos/asf/spark/repo
Commit: http://git-wip-us.apache.org/repos/asf/spark/commit/f13dbb3a
Tree: http://git-wip-us.apache.org/repos/asf/spark/tree/f13dbb3a
Diff: http://git-wip-us.apache.org/repos/asf/spark/diff/f13dbb3a

Branch: refs/heads/master
Commit: f13dbb3a4ee5019d39cb5012f3f4d426449895b3
Parents: 7c206dd
Author: zuotingbing <zu...@zte.com.cn>
Authored: Thu Aug 3 10:13:52 2017 +0100
Committer: Sean Owen <so...@cloudera.com>
Committed: Thu Aug 3 10:13:52 2017 +0100

----------------------------------------------------------------------
 .../org/apache/spark/sql/hive/thriftserver/HiveThriftServer2.scala | 2 --
 1 file changed, 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/spark/blob/f13dbb3a/sql/hive-thriftserver/src/main/scala/org/apache/spark/sql/hive/thriftserver/HiveThriftServer2.scala
----------------------------------------------------------------------
diff --git a/sql/hive-thriftserver/src/main/scala/org/apache/spark/sql/hive/thriftserver/HiveThriftServer2.scala b/sql/hive-thriftserver/src/main/scala/org/apache/spark/sql/hive/thriftserver/HiveThriftServer2.scala
index 5e4734a..7442c98 100644
--- a/sql/hive-thriftserver/src/main/scala/org/apache/spark/sql/hive/thriftserver/HiveThriftServer2.scala
+++ b/sql/hive-thriftserver/src/main/scala/org/apache/spark/sql/hive/thriftserver/HiveThriftServer2.scala
@@ -23,7 +23,6 @@ import java.util.concurrent.atomic.AtomicBoolean
 import scala.collection.mutable
 import scala.collection.mutable.ArrayBuffer
 
-import org.apache.commons.logging.LogFactory
 import org.apache.hadoop.hive.conf.HiveConf
 import org.apache.hadoop.hive.conf.HiveConf.ConfVars
 import org.apache.hive.service.cli.thrift.{ThriftBinaryCLIService, ThriftHttpCLIService}
@@ -45,7 +44,6 @@ import org.apache.spark.util.{ShutdownHookManager, Utils}
  * `HiveThriftServer2` thrift server.
  */
 object HiveThriftServer2 extends Logging {
-  var LOG = LogFactory.getLog(classOf[HiveServer2])
   var uiTab: Option[ThriftServerTab] = None
   var listener: HiveThriftServer2Listener = _
 


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@spark.apache.org
For additional commands, e-mail: commits-help@spark.apache.org