clusters:
  - plugin_name: cdh
    plugin_version: 5.4.0
    image: %cdh_5_4_0_image%
    node_group_templates:
      - name: worker-dn
        flavor_id: %ci_flavor_id%
        node_processes:
          - HDFS_DATANODE
        volumes_per_node: 2
        volumes_size: 2
        auto_security_group: true
        node_configs:
          &ng_configs
          DATANODE:
            dfs_datanode_du_reserved: 0
      - name: worker-nm
        flavor_id: %ci_flavor_id%
        node_processes:
          - YARN_NODEMANAGER
        auto_security_group: true
      - name: worker-nm-dn
        flavor_id: %ci_flavor_id%
        node_processes:
          - YARN_NODEMANAGER
          - HDFS_DATANODE
        volumes_per_node: 2
        volumes_size: 2
        auto_security_group: true
        node_configs:
          *ng_configs
      - name: manager
        flavor_id: %large_flavor_id%
        node_processes:
          - CLOUDERA_MANAGER
        auto_security_group: true
      - name: master-core
        flavor_id: %medium_flavor_id%
        node_processes:
          - HDFS_NAMENODE
          - YARN_RESOURCEMANAGER
        auto_security_group: true
      - name: master-additional
        flavor_id: %medium_flavor_id%
        node_processes:
          - OOZIE_SERVER
          - YARN_JOBHISTORY
          - HDFS_SECONDARYNAMENODE
          - HIVE_METASTORE
          - HIVE_SERVER2
        auto_security_group: true
    cluster_template:
      name: cdh540
      node_group_templates:
        manager: 1
        master-core: 1
        master-additional: 1
        worker-nm-dn: 1
        worker-nm: 1
        worker-dn: 1
      cluster_configs:
        HDFS:
          dfs_replication: 1
    cluster:
      name: %cluster_name%
    scenario:
      - run_jobs
    edp_jobs_flow: hadoop_2

Add CDH5.4 support in sahara
Add CDH5.4 support in sahara

We add a directory v_5_4_0 in cdh plugin, so that we have a
choice 5.4.0 when cdh plugin is chosen.

Implements: blueprint cdh-5-4-support
Change-Id: I05d2082b589eb031b0ce1b5a253dc62a75912e1b
