You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@spark.apache.org by Moriarty <zh...@dtdream.com> on 2016/12/08 08:24:22 UTC

[Spark SQL]: How does Spark HiveThriftServer handle idle sessions ?

In org.apache.spark.sql.hive.thriftserver.SparkSQLSessionManager.init(),
SparkSQLSessionManager inits “backgroundOperationPool” by creating a
ThreadPool directly instead of invoking
super.createBackgroundOperationPool(). 

This results in the idle-session-check-thread in
org.apache.hive.service.cli.session.SessionManager not created.

So does Spark HiveThriftServer have any mechanism to clean idle sessions, or
it is a bug that we should fix ?



--
View this message in context: http://apache-spark-developers-list.1001551.n3.nabble.com/Spark-SQL-How-does-Spark-HiveThriftServer-handle-idle-sessions-tp20173.html
Sent from the Apache Spark Developers List mailing list archive at Nabble.com.

---------------------------------------------------------------------
To unsubscribe e-mail: dev-unsubscribe@spark.apache.org