name 'hadoop-pseudo-distributed-cdh4-with-ganglia'
description 'Hadoop pseudo distributed mode configurations for CDH 4'

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

#env_run_lists()

default_attributes(
  'hadoop' => {
    'metrics2' => {
      'namenode.sink.ganglia.servers' => 'localhost:8649',
      'datanode.sink.ganglia.servers' => 'localhost:8649',
      # for MapReduce 1.x only
      'jobtracker.sink.ganglia.servers' => 'localhost:8649',
      'tasktracker.sink.ganglia.servers' => 'localhost:8649',
      'maptask.sink.ganglia.servers' => 'localhost:8649',
      'reducetask.sink.ganglia.servers' => 'localhost:8649'
    }
  }
)

override_attributes(
)

