SaurabhChawla100 commented on a change in pull request #31974:
URL: https://github.com/apache/spark/pull/31974#discussion_r614338265
##########
File path: core/src/main/scala/org/apache/spark/status/LiveEntity.scala
##########
@@ -915,3 +915,34 @@ private class RDDPartitionSeq extends
Seq[v1.RDDPartitionInfo] {
}
}
+
+private[spark] class LiveMiscellaneousProcess(val processId: String,
+ creationTime: Long) extends LiveEntity {
+
+ var hostPort: String = null
+ var host: String = null
+ var isActive = true
+ var totalCores = 0
+ val addTime = new Date(creationTime)
+ var removeTime: Date = null
+ var memoryUsed = 0L
+ var maxMemory = 0L
+ var processLogs = Map[String, String]()
+
+ def hostname: String = if (host != null) host else
Utils.parseHostPort(hostPort)._1
Review comment:
removed the extra code
--
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.
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]