meisam commented on a change in pull request #48: [LIVY-41] Let users access 
sessions by session name
URL: https://github.com/apache/incubator-livy/pull/48#discussion_r248099484
 
 

 ##########
 File path: 
server/src/main/scala/org/apache/livy/server/interactive/InteractiveSession.scala
 ##########
 @@ -451,6 +403,64 @@ class InteractiveSession(
     }
   }
 
+  override def start(): Unit = {
+    app = mockApp.orElse {
+      val driverProcess = client.flatMap { c => Option(c.getDriverProcess) }
+        .map(new LineBufferedProcess(_, 
livyConf.getInt(LivyConf.SPARK_LOGS_SIZE)))
+      driverProcess.map { _ => SparkApp.create(appTag, appId, driverProcess, 
livyConf, Some(this))
+      }
 
 Review comment:
   In these lines, I only changed the indentation. I think formatting issues 
should be handled in a separate PR if needed.

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


With regards,
Apache Git Services

Reply via email to