deshanxiao opened a new pull request #23637: [SPARK-26714][CORE][WEBUI] Show 0 
partition job in WebUI
URL: https://github.com/apache/spark/pull/23637
 
 
   ## What changes were proposed in this pull request?
   
   When the job's partiton is zero, it will still get a jobid but not shown in 
ui. It's strange. This PR is to show this job in ui.
   
   Example:
   In bash:
   mkdir -p /home/test/testdir
   
   sc.textFile("/home/test/testdir")
   
   Some logs:
   
   ```
   19/01/24 17:26:19 INFO FileInputFormat: Total input paths to process : 0
   19/01/24 17:26:19 INFO SparkContext: Starting job: collect at 
WordCount.scala:9
   19/01/24 17:26:19 INFO DAGScheduler: Job 0 finished: collect at 
WordCount.scala:9, took 0.003735 s
   ```
   
   ## How was this patch tested?
   
   UT
   

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on 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