You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@slider.apache.org by "Sherry Guo (JIRA)" <ji...@apache.org> on 2015/10/23 20:02:27 UTC
[jira] [Updated] (SLIDER-852) Included ChaosMonkey logging always
print probability=0
[ https://issues.apache.org/jira/browse/SLIDER-852?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Sherry Guo updated SLIDER-852:
------------------------------
Attachment: SLIDER-852-001.patch
> Included ChaosMonkey logging always print probability=0
> -------------------------------------------------------
>
> Key: SLIDER-852
> URL: https://issues.apache.org/jira/browse/SLIDER-852
> Project: Slider
> Issue Type: Bug
> Affects Versions: Slider 0.80
> Reporter: Gopal V
> Assignee: Steve Loughran
> Priority: Trivial
> Attachments: SLIDER-852-001.patch
>
>
> {code}
> log.info("Adding {} with probability {}", name, probability / InternalKeys.PROBABILITY_PERCENT_1);
> {code}
> Integer division of 10/100 prints "0".
> {code}
> 2015-04-09 22:08:36,574 [main] INFO state.AppState - Role LLAP flexed from 0 to 1
> 2015-04-09 22:08:36,720 [main] INFO appmaster.SliderAppMaster - Adding Chaos Monkey scheduled every 60 seconds (0 hours -delay 60
> 2015-04-09 22:08:36,722 [main] INFO monkey.ChaosMonkeyService - Adding Container killer with probability 0
> {code}
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)