Uh oh!
There was an error while loading. Please reload this page.
[STORM-1057] Add throughput metrics to spouts/bolts and display them on web ui - #753
[STORM-1057] Add throughput metrics to spouts/bolts and display them on web ui#753wangli1426 wants to merge 796 commits into
Conversation
6894d37 to
066e234Comparewangli1426
commented
Sep 29, 2015
Hi @HeartSaVioR, Sorry to interrupt, but could please kindly review the code? I am looking forward to your response. Thanks |
HeartSaVioR
commented
Sep 29, 2015
@wangli1426 |
wangli1426
commented
Sep 29, 2015
Thank you for your prompt reply. Please review the code when you come back. Wish you have a good time.
|
jerrypeng
commented
Sep 29, 2015
storm-core/src/genthrift.sh permssions should be changed back to -> 644 |
There was a problem hiding this comment.
spout-counts does not appear to be used anywhere.
revans2
commented
Sep 30, 2015
@wangli1426 I am done with my first pass through the code. There may be other things in here too that I missed on the first pass. |
revans2
commented
Sep 30, 2015
Actually I thought about this a bit more and I am not sure what value this adds over dividing the emitted counts that we already have by the time window that they are for. I don't see a reason to add in more code to get a number we already know. I am -1 for this approach. I am fine with doing the calculation for the rate and displaying it in the UI. That would be helpful, but I don't see a reason to try and collect it again, in a different way. |
wangli1426
commented
Oct 3, 2015
@revans2, |
wangli1426
commented
Oct 3, 2015
revans2
commented
Oct 14, 2015
@wangli1426 sorry it took so long to respond. The code looks a lot simpler. Please upmerge. Stats aggregation has changed places, but it still looks like it is a not too difficult change. I also would really like to see the thrift code changed so adding in the throughput can be a rolling upgrade. |
wangli1426
commented
Oct 15, 2015
@revans2 |
revans2
commented
Oct 15, 2015
Thrift classes have two options for member variables. required and optional. If you mark a member as required it must be there or thrift will throw an exception before serializing/deserializing it. This becomes a problem if we want to do a rolling upgrade (upgrade the cluster with no downtime). In that case we upgrade one daemon at a time, and there will be a period of time when old clients are talking to new servers and/or new clients are talking to old servers. If we add new required fields to thrift classes then the code will break during the upgrade. However, if we mark them all as optional and write the code in the client so it does not break if it gets a null for this value, then we will be OK. I don't want to break a rolling upgrade just so we can have a rate in the UI. |
wangli1426
commented
Oct 15, 2015
Hi @revans2, |
revans2
commented
Oct 15, 2015
@wangli1426 I totally understand that this is going to take more time. Thank you for your patience. |
b8c2d0b to
81c91cdComparewangli1426
commented
Oct 16, 2015
Hi @revans2 , |
There was a problem hiding this comment.
This is another problem with maintaining binary compatibility with the previous code. You cannot renumber entries. The tags at the beginning are what identify the field in the binary data. By renumbering them the new code and old code will mix up throughput, acked, and failed.
There was a problem hiding this comment.
Thanks for the comment and point taken.
* resolve conflict by Jungtaek Lim (kabhwan@gmail.com) * resolve version mismatch and some external modules after added
* Support INNER, LEFT / RIGHT / FULL OUTER JOIN based on Trident * Limitation of feature is just same to Trident join * join is occurred for each batch (not across batches) * Introduce new parameter on join(): JoinOutFieldsMode * default value of mode is COMPACT, which is as same as current * created PreservingFieldsOrderJoinerMultiReducer * this preserves fields order from all streams fields * modified codes to reflect the changes * Reflect changes to doc
…into STORM-2098-1.x
…RM-1837 STORM-1837: Fix complete-topology and prevent message loss
* join doesn't guarantee preserving order (Trident and SQL itself)
wangli1426
commented
Sep 22, 2016
wangli1426
commented
Sep 29, 2016
This new feature has been implemented on master branch in #1719. Please review. |
We are closing stale Pull Requests to make the list more manageable. Please re-open any Pull Request that has been closed in error. Closesapache#608Closesapache#639Closesapache#640Closesapache#648Closesapache#662Closesapache#668Closesapache#692Closesapache#705Closesapache#724Closesapache#728Closesapache#730Closesapache#753Closesapache#803Closesapache#854Closesapache#922Closesapache#986Closesapache#992Closesapache#1019Closesapache#1040Closesapache#1041Closesapache#1043Closesapache#1046Closesapache#1051Closesapache#1078Closesapache#1146Closesapache#1164Closesapache#1165Closesapache#1178Closesapache#1213Closesapache#1225Closesapache#1258Closesapache#1259Closesapache#1268Closesapache#1272Closesapache#1277Closesapache#1278Closesapache#1288Closesapache#1296Closesapache#1328Closesapache#1342Closesapache#1353Closesapache#1370Closesapache#1376Closesapache#1391Closesapache#1395Closesapache#1399Closesapache#1406Closesapache#1410Closesapache#1422Closesapache#1427Closesapache#1443Closesapache#1462Closesapache#1468Closesapache#1483Closesapache#1506Closesapache#1509Closesapache#1515Closesapache#1520Closesapache#1521Closesapache#1525Closesapache#1527Closesapache#1544Closesapache#1550Closesapache#1566Closesapache#1569Closesapache#1570Closesapache#1575Closesapache#1580Closesapache#1584Closesapache#1591Closesapache#1600Closesapache#1611Closesapache#1613Closesapache#1639Closesapache#1703Closesapache#1711Closesapache#1719Closesapache#1737Closesapache#1760Closesapache#1767Closesapache#1768Closesapache#1785Closesapache#1799Closesapache#1822Closesapache#1824Closesapache#1844Closesapache#1874Closesapache#1918Closesapache#1928Closesapache#1937Closesapache#1942Closesapache#1951Closesapache#1957Closesapache#1963Closesapache#1964Closesapache#1965Closesapache#1967Closesapache#1968Closesapache#1971Closesapache#1985Closesapache#1986Closesapache#1998Closesapache#2031Closesapache#2032Closesapache#2071Closesapache#2076Closesapache#2108Closesapache#2119Closesapache#2128Closesapache#2142Closesapache#2174Closesapache#2206Closesapache#2297Closesapache#2322Closesapache#2332Closesapache#2341Closesapache#2377Closesapache#2414Closesapache#2469
We are closing stale Pull Requests to make the list more manageable. Please re-open any Pull Request that has been closed in error. Closesapache#608Closesapache#639Closesapache#640Closesapache#648Closesapache#662Closesapache#668Closesapache#692Closesapache#705Closesapache#724Closesapache#728Closesapache#730Closesapache#753Closesapache#803Closesapache#854Closesapache#922Closesapache#986Closesapache#992Closesapache#1019Closesapache#1040Closesapache#1041Closesapache#1043Closesapache#1046Closesapache#1051Closesapache#1078Closesapache#1146Closesapache#1164Closesapache#1165Closesapache#1178Closesapache#1213Closesapache#1225Closesapache#1258Closesapache#1259Closesapache#1268Closesapache#1272Closesapache#1277Closesapache#1278Closesapache#1288Closesapache#1296Closesapache#1328Closesapache#1342Closesapache#1353Closesapache#1370Closesapache#1376Closesapache#1391Closesapache#1395Closesapache#1399Closesapache#1406Closesapache#1410Closesapache#1422Closesapache#1427Closesapache#1443Closesapache#1462Closesapache#1468Closesapache#1483Closesapache#1506Closesapache#1509Closesapache#1515Closesapache#1520Closesapache#1521Closesapache#1525Closesapache#1527Closesapache#1544Closesapache#1550Closesapache#1566Closesapache#1569Closesapache#1570Closesapache#1575Closesapache#1580Closesapache#1584Closesapache#1591Closesapache#1600Closesapache#1611Closesapache#1613Closesapache#1639Closesapache#1703Closesapache#1711Closesapache#1719Closesapache#1737Closesapache#1760Closesapache#1767Closesapache#1768Closesapache#1785Closesapache#1799Closesapache#1822Closesapache#1824Closesapache#1844Closesapache#1874Closesapache#1918Closesapache#1928Closesapache#1937Closesapache#1942Closesapache#1951Closesapache#1957Closesapache#1963Closesapache#1964Closesapache#1965Closesapache#1967Closesapache#1968Closesapache#1971Closesapache#1985Closesapache#1986Closesapache#1998Closesapache#2031Closesapache#2032Closesapache#2071Closesapache#2076Closesapache#2108Closesapache#2119Closesapache#2128Closesapache#2142Closesapache#2174Closesapache#2206Closesapache#2297Closesapache#2322Closesapache#2332Closesapache#2341Closesapache#2377Closesapache#2414Closesapache#2469
The throughputs for the spouts and bolts could help the user to identify the performance bottleneck and detect the load balancing issue. In this RP, I take measurements on the throughput of the executors and display them on web UI.
Summary of Changes
Note: If you cannot see the throughputs on your web UI, please clean your browser cache and try again.
Screenshots