Skip to content

Commit

Permalink
Revert "[KYUUBI #2976] Expose session name into kyuubi engine tab"
Browse files Browse the repository at this point in the history
This reverts commit 8eb06a6.
  • Loading branch information
turboFei committed Jul 1, 2022
1 parent 8eb06a6 commit 7762a02
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,6 @@ import org.apache.kyuubi.events.KyuubiEvent
*/
case class SessionEvent(
@KVIndexParam sessionId: String,
name: String,
engineId: String,
username: String,
ip: String,
Expand Down Expand Up @@ -68,7 +67,6 @@ object SessionEvent {
def apply(session: SparkSessionImpl): SessionEvent = {
new SessionEvent(
session.handle.identifier.toString,
session.name.getOrElse(""),
KyuubiSparkUtil.engineId,
session.user,
session.ipAddress,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -250,7 +250,6 @@ case class EnginePage(parent: EngineTab) extends WebUIPage("") {
("Client IP", true, None),
("Server IP", true, None),
("Session ID", true, None),
("Session Name", true, None),
("Start Time", true, None),
("Finish Time", true, None),
("Duration", true, None),
Expand All @@ -276,7 +275,6 @@ case class EnginePage(parent: EngineTab) extends WebUIPage("") {
<td> {session.ip} </td>
<td> {session.serverIp} </td>
<td> <a href={sessionLink}> {session.sessionId} </a> </td>
<td> {session.name} </td>
<td> {formatDate(session.startTime)} </td>
<td> {if (session.endTime > 0) formatDate(session.endTime)} </td>
<td> {formatDurationVerbose(session.duration)} </td>
Expand Down Expand Up @@ -430,7 +428,6 @@ private class SessionStatsTableDataSource(
case "Client IP" => Ordering.by(_.ip)
case "Server IP" => Ordering.by(_.serverIp)
case "Session ID" => Ordering.by(_.sessionId)
case "Session Name" => Ordering.by(_.name)
case "Start Time" => Ordering.by(_.startTime)
case "Finish Time" => Ordering.by(_.endTime)
case "Duration" => Ordering.by(_.duration)
Expand Down

0 comments on commit 7762a02

Please sign in to comment.