name 'hadoop-pseudo-distributed-ah'
description 'Hadoop pseudo distributed mode configurations for Apache Hadoop 1'

run_list(
  'role[node_commons]',
  'role[hadoop-pseudo-distributed]',
  #'role[grid-ops-utils]'
)

#env_run_lists()

default_attributes(
  'grid' => {
    'gridctl' => {
      'env' => {
        #'DOMAIN' => '',
        #'HADOOP_ARTIFACT_TYPE' => 'tarball',
        'HADOOP_DISTRIBUTION' => 'apache',
        #'HADOOP_HOME' => '/grid/usr/hadoop',
      }
    }
  },
  'hadoop' => {
    'version' => '1.2.1',
    #'version' => '1.1.2',
    #'version' => '1.0.4',
    'hadoop.http.authentication.type' => 'simple',
    # for 1.0.x only >>
    'extra_configs' => {
      'core-site.xml' => {
        #'hadoop.http.authentication.signature.secret' \
        #  => '91d365813d6dd1f4ceafff73f90a9a06'
      }
    },
  },
)

override_attributes(
)

