Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

1) yum install puppet (you have to use version 2.7.+):

  sudo rpm -ivh http://yum.puppetlabs.com/puppetlabs-release-el-6.noarch.rpm
  yum install puppet-2.7.19

2) Now we git clone bigtop into /opt/

3) cd into /opt/bigtop/bigtop-deploy/puppet and create a file like this under site.csv

        hadoop_head_node,localhost.localdomain
        hadoop_storage_dirs,/data/1,/data/2,/data/3,/data/4
        components,hadoop,yarn
        jdk_package_name,java-1.6.0-openjdk-devel.x86_64
        bigtop_yumrepo_uri,http://bigtop.s3.amazonaws.com/releases/0.7.0/redhat/6/x86_64

4) Make the data dirs (all 4 are required in the puppet recipes.  you can have lesser number of data difrectory as far as it is aligned with hadoop_storage_dirs parameter above ).
mkdir /data/1
mkdir /data/2
mkdir /data/3
mkdir /data/4

5) From the /opt/bigtop/bigtop-deploy/puppet directory, run this:

...