GitHub user d2r opened a pull request:
https://github.com/apache/storm/pull/392
[STORM-636] Faster, optional retrieval of last component error
We want to speed up interactions with the topology that call
getTopologyInfo, including the Topology Page in the UI.
Before change:
- Errors written to /errors/topo-id/comp-name/eN, where N is a sequence
number.
- getTopologyInfo grabs all /errors/topo-id/*/* errors from ZK
After this change:
- Errors written to /errors/topo-id/comp-name/eN, where N is a sequence
number. (unchanged)
- Errors also written to /errors/topo-id/comp-name-last-error (this means
there is an extra ZK write per error)
- New Nimbus thrift interface method `getTopologyInfoWithOpts`
- Only option right now is how many errors to retrieve from ZK: 0, 1, or
all.
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/d2r/storm storm-636-ui-errors
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/storm/pull/392.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 #392
----
commit 1cfa190f2efb06f8798984b43dec801e5ff20ad5
Author: Derek Dagit <[email protected]>
Date: 2015-01-22T16:46:03Z
Faster, optional retrieval of last component error
----
---
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 [email protected] or file a JIRA ticket
with INFRA.
---