sarutak commented on a change in pull request #26637: [SPARK-29997][WEBUI] Show 
job name for empty jobs in WebUI
URL: https://github.com/apache/spark/pull/26637#discussion_r350613520
 
 

 ##########
 File path: core/src/main/scala/org/apache/spark/status/AppStatusListener.scala
 ##########
 @@ -414,7 +414,7 @@ private[spark] class AppStatusListener(
         val e = it.next()
         if (job.stageIds.contains(e.getKey()._1)) {
           val stage = e.getValue()
-          if (v1.StageStatus.PENDING.equals(stage.status)) {
+          if (v1.StageStatus.PENDING.equals(stage.status) && 
stage.info.numTasks > 0) {
 
 Review comment:
   FYI:
   This change is to avoid marking a stage which has no partitions as skipped.
   <img width="1436" alt="スクリーンショット 2019-11-26 17 12 15" 
src="https://user-images.githubusercontent.com/4736016/69615082-a4304180-1077-11ea-9459-791d8074852b.png";>
   

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