فهرست منبع

[livy] Change default session kind to process

"threads" makes things a little complicated when running
"./bin/livy-server" because we no longer have the spark classes
in our classpath outside of maven. "process" is much more reliable.
Erick Tryzelaar 11 سال پیش
والد
کامیت
eeae757503
1فایلهای تغییر یافته به همراه1 افزوده شده و 1 حذف شده
  1. 1 1
      apps/spark/java/livy-server/src/main/scala/com/cloudera/hue/livy/server/Main.scala

+ 1 - 1
apps/spark/java/livy-server/src/main/scala/com/cloudera/hue/livy/server/Main.scala

@@ -47,7 +47,7 @@ class ScalatraBootstrap extends LifeCycle with Logging {
   override def init(context: ServletContext): Unit = {
     val livyConf = new LivyConf()
 
-    val sessionFactoryKind = livyConf.get("livy.server.session.factory", "thread")
+    val sessionFactoryKind = livyConf.get("livy.server.session.factory", "process")
 
     info(f"Using $sessionFactoryKind sessions")