Uploaded image for project: 'HBase'
  1. HBase
  2. HBASE-18629

Enhance ChaosMonkeyRunner with interruptibility

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • 2.0.0-alpha-3, 2.0.0
    • None
    • None
    • Reviewed

    Description

      Currently ChaosMonkeyRunner performs looping unconditionally:

          while (true) {// loop here until got killed
            Thread.sleep(10000);
          }
      

      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.

      Attachments

        1. 18629.addendum
          1 kB
          Ted Yu
        2. 18629.v1.txt
          2 kB
          Ted Yu
        3. 18629.v2.txt
          2 kB
          Ted Yu

        Issue Links

          Activity

            People

              yuzhihong@gmail.com Ted Yu
              yuzhihong@gmail.com Ted Yu
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: