Skip to content

Commit

Permalink
call initOperationLogRootDir in SparkSQLSessionManager
Browse files Browse the repository at this point in the history
  • Loading branch information
navis committed Oct 13, 2015
1 parent a56728c commit 5ea0a9b
Showing 1 changed file with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,9 @@ private[hive] class SparkSQLSessionManager(hiveServer: HiveServer2, hiveContext:

override def init(hiveConf: HiveConf) {
setSuperField(this, "hiveConf", hiveConf)

if (hiveConf.getBoolVar(ConfVars.HIVE_SERVER2_LOGGING_OPERATION_ENABLED)) {
invoke(classOf[SessionManager], this, "initOperationLogRootDir")
}
val backgroundPoolSize = hiveConf.getIntVar(ConfVars.HIVE_SERVER2_ASYNC_EXEC_THREADS)
setSuperField(this, "backgroundOperationPool", Executors.newFixedThreadPool(backgroundPoolSize))
getAncestorField[Log](this, 3, "LOG").info(
Expand Down

0 comments on commit 5ea0a9b

Please sign in to comment.