HeartSaVioR commented on a change in pull request #26821: 
[SPARK-20656][CORE]Support Incremental parsing of event logs in SHS
URL: https://github.com/apache/spark/pull/26821#discussion_r357028629
 
 

 ##########
 File path: core/src/main/scala/org/apache/spark/status/storeTypes.scala
 ##########
 @@ -443,6 +446,24 @@ private[spark] class PoolData(
     @KVIndexParam val name: String,
     val stageIds: Set[Int])
 
+private[spark] class AppStatusListenerData(
+    val appId: String,
+    val attemptId: Option[String],
+    val liveStages: ConcurrentHashMap[(Int, Int), LiveStage],
+    val liveJobs: mutable.HashMap[Int, LiveJob],
+    val liveExecutors: mutable.HashMap[String, LiveExecutor],
+    val deadExecutors: mutable.HashMap[String, LiveExecutor],
+    val liveTasks: mutable.HashMap[Long, LiveTask],
+    val liveRDDs: mutable.HashMap[Int, LiveRDD],
+    val pools: mutable.HashMap[String, SchedulerPool],
+    val appInfo: ApplicationInfo,
+    val coresPerTask: Int,
+    val appSummary: AppSummary,
+    val activeExecutorCount: Int) {
+
+  @KVIndex @JsonIgnore
+  def key: Array[Option[String]] = Array(Some(appId), attemptId)
+}
 
 Review comment:
   nit: empty line after this

----------------------------------------------------------------
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]


With regards,
Apache Git Services

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to