You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@heron.apache.org by GitBox <gi...@apache.org> on 2018/06/18 21:43:58 UTC
[GitHub] huijunwu opened a new pull request #2923: [healthmgr] Enable
runtime toggle for AutoRestartBackpressureContainerPolicy
huijunwu opened a new pull request #2923: [healthmgr] Enable runtime toggle for AutoRestartBackpressureContainerPolicy
URL: https://github.com/apache/incubator-heron/pull/2923
Heron supports config update at runtime. This PR enforces toggle config for AutoRestartBackpressureContainerPolicy. See below examples how to toggle a policy
Example commands to toggle a policy in healthmgr:
```
$ ~/bin/heron update local ExclamationTopology --runtime-config healthmgr.toggleablepolicy.running:fal
$ ~/bin/heron update local ExclamationTopology --runtime-config healthmgr.toggleablepolicy.running:false
$ ~/bin/heron update local ExclamationTopology --runtime-config healthmgr.toggleablepolicy.running:true
```
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
With regards,
Apache Git Services