sarutak opened a new pull request #25296: [SPARK-28561][WEBUI] DAG viz for 
barrier-mode execution
URL: https://github.com/apache/spark/pull/25296
 
 
   ## What changes were proposed in this pull request?
   
   In the current UI, we cannot identify which RDDs are barrier. Visualizing it 
will make easy to debug.
   Following images are shown after this change.
   
   ![Screenshot from 2019-07-30 
16-30-35](https://user-images.githubusercontent.com/4736016/62110508-83cec100-b2e9-11e9-83b9-bc2e485a4cbe.png)
   ![Screenshot from 2019-07-30 
16-31-09](https://user-images.githubusercontent.com/4736016/62110509-83cec100-b2e9-11e9-9e2e-47c4dae23a52.png)
   
   The boxes in pale green means barrier (We might need to discuss which color 
is proper).
   
   ## How was this patch tested?
   
   Tested manually.
   The images above are shown by following operations.
   
   ```
   val rdd1 = sc.parallelize(1 to 10)
   val rdd2 = sc.parallelize(1 to 10)
   val rdd3 = rdd1.zip(rdd2).barrier.mapPartitions(identity(_))
   val rdd4 = rdd3.map(identity(_))
   val rdd5 = rdd4.reduceByKey(_+_)
   rdd5.collect
   ```
   

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