GitHub user lw-lin opened a pull request:

    https://github.com/apache/spark/pull/11643

    Display rate limit on streaming web ui part 3 

    ## What changes were proposed in this pull request?
    
    This PR makes Streaming web UI display rate-limit lines in the statistics 
graph.
    
    Design doc: 
https://issues.apache.org/jira/secure/attachment/12792513/Spark-13618_Design_Doc_v1.pdf
    
    Part 3 (this PR):
    - makes changes in `StreamingJobProgressListener` and related places, so 
that the aggregated `numRecordsLimit` information for every batch can be 
calculated;
    - makes changes in `StreamingPage` and related places, so two or more lines 
can be drawn on a single statistics graph.
    
    Part 1: [PR #11470](https://github.com/apache/spark/pull/11470)
    Part 2: [PR #11633](https://github.com/apache/spark/pull/11633)
    
    ## Screenshots
    
    ### without back pressure
    
![](https://cloud.githubusercontent.com/assets/15843379/13664195/d2264c48-e6e0-11e5-85e6-f13187d4cbde.png)
    
    ### with back pressure
    
![](https://cloud.githubusercontent.com/assets/15843379/13664196/d2549c7e-e6e0-11e5-9f62-d7f1458f1c27.png)

You can merge this pull request into a Git repository by running:

    $ git pull https://github.com/lw-lin/spark 
display-rate-limit-on-streaming-web-ui-part-3-

Alternatively you can review and apply these changes as the patch at:

    https://github.com/apache/spark/pull/11643.patch

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

    This closes #11643
    
----
commit 720f2d432cd65c5a3ff82dce08f640a110658e7e
Author: proflin <proflin...@gmail.com>
Date:   2016-03-10T12:53:53Z

    Collect rate limit numbers on executor side

commit e408e4f5be19c479ce92bdc70360d5fbee7044dd
Author: proflin <proflin...@gmail.com>
Date:   2016-03-10T13:29:00Z

    Add InputDStream.underRateLimit field

commit e04ec30be52d06d27d5265c247090bcd34f36246
Author: proflin <proflin...@gmail.com>
Date:   2016-03-10T13:29:50Z

    Merge commit '720f2d432cd65c5a3ff82dce08f640a110658e7e' into rate-5-3

commit b77df2e1a1c90ba518b25ca00a46559f398977b8
Author: proflin <proflin...@gmail.com>
Date:   2016-03-10T14:50:21Z

    Aggregate rate limit numbers on driver side, and display rate limit line on 
UI

commit 0cbab6093b060f05688916efe44ba58d24a664e3
Author: proflin <proflin...@gmail.com>
Date:   2016-03-10T12:53:53Z

    Collect rate limit numbers on executor side

commit 6d0e0f353f98ae18b87afbf20d53d56252db474c
Author: Liwei Lin <proflin...@gmail.com>
Date:   2016-03-11T02:11:58Z

    Merge commit 'e408e4f5be19c479ce92bdc70360d5fbee7044dd' into 
rate-0311-bak-03

commit bfae2896e4fbed152cff9637c471b9073f80c1c2
Author: Liwei Lin <proflin...@gmail.com>
Date:   2016-03-11T02:17:34Z

    Aggregate rate limit numbers on driver side, display rate limit line on UI

----


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastruct...@apache.org or file a JIRA ticket
with INFRA.
---

---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscr...@spark.apache.org
For additional commands, e-mail: reviews-h...@spark.apache.org

Reply via email to