GitHub user zd-project opened a pull request:
https://github.com/apache/storm/pull/2739
[STORM-3125/3126/3127]: Refactoring methods in components for Supervisor
and DRPC
This is a supplement issue page to STORM-3099, separating out refactoring
work from newly implemented metrics.
A few misc bug discovered during refactoring have been incorporate in this
issue as well, including STORM-3126/3127.
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/zd-project/storm STORM-3125
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/storm/pull/2739.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 #2739
----
commit 12ac608253ca96391b971568c3d08ed923e84d34
Author: Zhengdai Hu <hu.zhengdai@...>
Date: 2018-06-18T15:44:19Z
STORM-3125: Refactored and commented code for Slot and ReadClusterState
(cherry picked from commit 5338491)
commit 71401e296be95a9cd12b6c7d546fec9255b4d7b2
Author: Zhengdai Hu <hu.zhengdai@...>
Date: 2018-06-18T15:44:19Z
STORM-3126: Refactored methods for kill_workers to avoid
unnecessary force kill.
STORM-3125: Refactored methods of state machine for killing workers and
improved tests and metrics.
(cherry picked from commit 5338491)
commit e54dcd00d523897241b2d0c6627d3bd4a1ce0b5a
Author: Zhengdai Hu <hu.zhengdai@...>
Date: 2018-06-21T19:25:05Z
STORM-3125: Refactored methods for blob localization
(cherry picked from commit d40397c)
commit 25e2249540891cc28172ff81ceb68f63758c7daf
Author: Zhengdai Hu <hu.zhengdai@...>
Date: 2018-06-26T14:58:57Z
STORM-3127: Refactor AsyncLocalizer to avoid potential race condition
(cherry picked from commit 706029a)
commit 7503ff7bb58d31e76c9e71284facd3113a67742c
Author: Zhengdai Hu <hu.zhengdai@...>
Date: 2018-06-26T18:58:33Z
STORM-3125: Refactored code for DRPC
(cherry picked from commit 3152e6f)
----
---