name 'hadoop-pseudo-distributed-with-security'
description 'Hadoop pseudo distributed mode with security'

run_list(
  'role[node_commons]',
  'role[nameservice-master]',
  'role[hadoop]',
  'role[jce_policy]'
)

#env_run_lists "prod" => ["recipe[apache2]"], "staging" => ["recipe[apache2::staging]"], "_default" => []

default_attributes(
  'hadoop' => {
    'with_security' => true,
    'HADOOP_CLASSPATH' => '/usr/share/java/commons-daemon.jar',
    'HADOOP_USER_CLASSPATH_FIRST' => true
  }
)

#override_attributes "apache2" => { "max_children" => "50" }
