@Override
    public void run() {
      try {
        setReturnCode(process.waitFor());
      } catch (InterruptedException ignore) {
        return;
      }
    }
Class to run python process to compress config files as seperate thread
ambari-server/src/main/java/org/apache/ambari/server/controller/internal/ClientConfigResourceProvider.java