alexanghh commented on a change in pull request #329:
URL: https://github.com/apache/incubator-livy/pull/329#discussion_r760922323
##########
File path: server/src/main/scala/org/apache/livy/server/SessionServlet.scala
##########
@@ -72,7 +72,10 @@ abstract class SessionServlet[S <: Session, R <:
RecoveryMetadata](
val from = params.get("from").map(_.toInt).getOrElse(0)
val size = params.get("size").map(_.toInt).getOrElse(100)
- val sessions = sessionManager.all()
+ val sessions = sessionManager.all().filter(
Review comment:
@zinking I have update the code and changed the withUnprotectedSession
to withViewAccessSession to protect access from /sessionId.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]