name 'hadoop-pseudo-distributed-cdh5-with-ganglia'
description 'Hadoop pseudo distributed mode configurations for CDH 5'

run_list(
  'role[node_commons]',
  'role[ganglia-all-in-one-localhost]',
  'role[hadoop-pseudo-distributed-cdh5]'
)

#env_run_lists()

default_attributes(
  'hadoop' => {
    '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',
    }
  }
)

override_attributes(
)

