[ https://issues.apache.org/jira/browse/HBASE-18629?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16135439#comment-16135439 ]
Mike Drob commented on HBASE-18629: ----------------------------------- Do we have to start the money using ChaosMonkeyRunner? Can we start a monkey directly? > Enhance ChaosMonkeyRunner with interruptibility > ----------------------------------------------- > > Key: HBASE-18629 > URL: https://issues.apache.org/jira/browse/HBASE-18629 > Project: HBase > Issue Type: Improvement > Reporter: Ted Yu > Assignee: Ted Yu > Fix For: 3.0.0, 2.0.0-alpha-3 > > Attachments: 18629.addendum, 18629.v1.txt, 18629.v2.txt > > > Currently ChaosMonkeyRunner performs looping unconditionally: > {code} > while (true) {// loop here until got killed > Thread.sleep(10000); > } > {code} > When ChaosMonkeyRunner is invoked programmatically, it is desirable to add > interruptibility to the runner so that the caller can manage its lifetime. > Another enhancement is to allow passing the path to hbase-site.xml where > chaos monkey parameters are specified. > This is useful when the underlying hbase-site.xml is not on classpath. -- This message was sent by Atlassian JIRA (v6.4.14#64029)