public void init(PolicyContext context) throws Exception {
    this.context = context;

    // Used to wire up stopping.
    context.setPolicy(this);
  }
A policy to introduce chaos to the cluster
hbase-it/src/test/java/org/apache/hadoop/hbase/chaos/policies/Policy.java