private void initServiceNames() {
    Integer majorStackVersion = clusterDefinition.getMajorStackVersion();
    Integer minorStackVersion = clusterDefinition.getMinorStackVersion();
    if(majorStackVersion != null) {
      serviceNames.put("HIVE_SERVER", majorStackVersion == 1 ? "hiveserver" : "hiveserver2");
      if(minorStackVersion != null) {
        serviceNames.put("HISTORYSERVER", majorStackVersion > 1 && minorStackVersion > 0 ? "jobhistoryserver" : "historyserver");
      }
    }
    serviceNames.put("NAMENODE", "namenode");
    serviceNames.put("SECONDARY_NAMENODE", "secondarynamenode");
    serviceNames.put("JOBTRACKER", "jobtracker");
    serviceNames.put("HIVE_METASTORE", "metastore");
    serviceNames.put("HIVE_CLIENT", "hwi");
    serviceNames.put("OOZIE_SERVER", "oozieservice");
    serviceNames.put("FLUME_SERVER", "flumagent");
    serviceNames.put("HBASE_MASTER", "master");
    serviceNames.put("HBASE_REGIONSERVER", "regionserver");
    serviceNames.put("ZOOKEEPER_SERVER", "zkServer");
    serviceNames.put("ZKFC", "zkfc");
    serviceNames.put("DATANODE", "datanode");
    serviceNames.put("TASKTRACKER", "tasktracker");
    serviceNames.put("WEBHCAT_SERVER", "templeton");
    serviceNames.put("NODEMANAGER", "nodemanager");
    serviceNames.put("RESOURCEMANAGER", "resourcemanager");
    serviceNames.put("JOURNALNODE", "journalnode");
  }
Provider module used to install PropertyProviders required for ambari-scom.
contrib/ambari-scom/ambari-scom-server/src/main/java/org/apache/ambari/scom/SQLProviderModule.java