@VisibleForTesting
  public AnalyticJobGenerator getAnalyticJobGenerator() {
    if (HadoopSystemContext.isHadoop2Env()) {
      return new AnalyticJobGeneratorHadoop2();
    } else {
      throw new RuntimeException("Unsupported Hadoop major version detected. It is not 2.x.");
    }
  }
The class that runs the Dr. Elephant daemon
app/com/linkedin/drelephant/ElephantRunner.java