public static Stage getATestStage(long requestId, long stageId, String commandParamsStage, String hostParamsStage) {
    String hostname;
    try {
      hostname = InetAddress.getLocalHost().getHostName();
    } catch (UnknownHostException e) {
      hostname = "host-dummy";
    }
    return getATestStage(requestId, stageId, hostname, commandParamsStage, hostParamsStage);
  }
Even though this map is populated systematically, we still need this map
since components like Atlas Client that are missing from this map
and cleint components are handled differently
ambari-server/src/main/java/org/apache/ambari/server/utils/StageUtils.java