Browse Source

[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 10 years ago
parent
commit
eeae757503

+ 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")