You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@slider.apache.org by "Gopal V (JIRA)" <ji...@apache.org> on 2015/04/10 07:23:13 UTC

[jira] [Created] (SLIDER-852) Included ChaosMonkey logging always print probability=0

Gopal V created SLIDER-852:
------------------------------

             Summary: 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
            Priority: Trivial


{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)