name 'test-hdp2-on-localhost'
description 'Testing Hortonworks Data Platform 2.x on local machine'

run_list(
  'role[test-hdp-on-localhost]',
)

#env_run_lists()

default_attributes(
  'hdp' => {
    'version' => '2.0.6.0',
    #'version' => '2.0.5.0',
    #'version' => '2.0.4.0',
    #'version' => '2.0.0.2',
    'yum_repo' => {
      'update' => true
    }
  },
  'hadoop' => {
    'install_flavor' => 'hdp',
    'hdp' => {
    },
    'HADOOP_CLASSPATH' => '',
    'HADOOP_USER_CLASSPATH_FIRST' => 'false',
=begin
    'metrics2' => {
      'namenode.sink.ganglia.servers' => 'localhost:8649',
      'datanode.sink.ganglia.servers' => 'localhost:8649',
      # for 2.0.x only
      'resourcemanager.sink.ganglia.servers' => 'localhost:8649',
      'nodemanager.sink.ganglia.servers' => 'localhost:8649',
    },
=end
    # for 2.0.x only
    'container-executor' => {
      'min.user.id' => '500'
    },
    'yarn.nodemanager.linux-container-executor.resources-handler.class' \
      => 'org.apache.hadoop.yarn.server.nodemanager.util.CgroupsLCEResourcesHandler',
  },
  'hbase' => {
    'version' => '0.94.7'
  },
  'pig' => {
    'version' => '0.11.1'
  }
)

#override_attributes()

