@Override
  protected void localPerform() throws IOException {
    getLogger().info("Starting to execute FillDiskCommandAction");
    ServerName server = PolicyBasedChaosMonkey.selectRandomItem(getCurrentServers());
    String hostname = server.getHostname();

    try {
      clusterManager.execSudo(hostname, duration, getFillCommand());
    } catch (IOException ex) {
      getLogger().info("Potential timeout. We try to stop the dd process on target machine");
      clusterManager.execSudoWithRetries(hostname, timeout, getStopCommand());
      throw ex;
    } finally {
      clusterManager.execSudoWithRetries(hostname, timeout, getClearCommand());
      getLogger().info("Finished to execute FillDiskCommandAction");
    }
  }
Fill the disk on a random regionserver. Please note that the file will be created regardless of
the set duration or timeout. So please use timeout and duration big enough to avoid
complication caused by retries.
@param size     size of the generated file in MB or fill the disk if set to 0
@param duration the time this issue persists in milliseconds
@param path     the path to the generated file
@param timeout  the timeout for executing required commands on the region server in
                milliseconds
hbase-it/src/test/java/org/apache/hadoop/hbase/chaos/actions/FillDiskCommandAction.java