浏览代码

HUE-2588 [livy] Lift *Session.logLines into Session

Erick Tryzelaar 10 年之前
父节点
当前提交
ea7c911b57

+ 2 - 0
apps/spark/java/livy-server/src/main/scala/com/cloudera/hue/livy/server/Session.scala

@@ -28,4 +28,6 @@ trait Session {
   def state: State
 
   def stop(): Future[Unit]
+
+  def logLines(): IndexedSeq[String]
 }

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

@@ -21,5 +21,4 @@ package com.cloudera.hue.livy.server.batch
 import com.cloudera.hue.livy.server.Session
 
 trait BatchSession extends Session {
-  def logLines(): IndexedSeq[String]
 }

+ 0 - 2
apps/spark/java/livy-server/src/main/scala/com/cloudera/hue/livy/server/interactive/InteractiveSession.scala

@@ -42,8 +42,6 @@ trait InteractiveSession extends Session {
 
   def lastActivity: Long
 
-  def logLines(): IndexedSeq[String]
-
   def url: Option[URL]
 
   def url_=(url: URL)