vanzin commented on a change in pull request #26508: [SPARK-26260][Core]For 
disk store tasks summary table should show only successful tasks summary
URL: https://github.com/apache/spark/pull/26508#discussion_r349835257
 
 

 ##########
 File path: 
core/src/test/scala/org/apache/spark/status/AppStatusStoreSuite.scala
 ##########
 @@ -133,9 +154,54 @@ class AppStatusStoreSuite extends SparkFunSuite {
 
   private def newTaskData(i: Int, status: String = "SUCCESS"): TaskDataWrapper 
= {
     new TaskDataWrapper(
-      i, i, i, i, i, i, i.toString, i.toString, status, i.toString, false, 
Nil, None,
+      i.toLong, i, i, i, i, i, i.toString, i.toString, status, i.toString, 
false, Nil, None, true,
       i, i, i, i, i, i, i, i, i, i,
       i, i, i, i, i, i, i, i, i, i,
       i, i, i, i, stageId, attemptId)
   }
+
+  private def writeTaskDataToStore(i: Int, store: KVStore, status: String): 
Unit = {
+   val liveTask = new LiveTask(new TaskInfo( i.toLong, i, i, i.toLong, 
i.toString,
 
 Review comment:
   indentation is off

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