diff --git a/sql/hive-thriftserver/src/main/scala/org/apache/spark/sql/hive/thriftserver/SparkSQLEnv.scala b/sql/hive-thriftserver/src/main/scala/org/apache/spark/sql/hive/thriftserver/SparkSQLEnv.scala index 465457f1babfe993c2965206134599dadd3af7dd..a44b0d3e8ee04091da62e623d97d54b381a1b7cc 100644 --- a/sql/hive-thriftserver/src/main/scala/org/apache/spark/sql/hive/thriftserver/SparkSQLEnv.scala +++ b/sql/hive-thriftserver/src/main/scala/org/apache/spark/sql/hive/thriftserver/SparkSQLEnv.scala @@ -23,7 +23,6 @@ import scala.collection.JavaConverters._ import org.apache.spark.{SparkConf, SparkContext} import org.apache.spark.internal.Logging -import org.apache.spark.scheduler.StatsReportListener import org.apache.spark.sql.hive.{HiveContext, HiveUtils} import org.apache.spark.util.Utils @@ -55,7 +54,6 @@ private[hive] object SparkSQLEnv extends Logging { maybeKryoReferenceTracking.getOrElse("false")) sparkContext = new SparkContext(sparkConf) - sparkContext.addSparkListener(new StatsReportListener()) hiveContext = new HiveContext(sparkContext) hiveContext.sessionState.metadataHive.setOut(new PrintStream(System.out, true, "UTF-8"))