Skip to content

hadoop-manager -- ansible galaxy role to deploy hadoop 2.4.1 from sources

Notifications You must be signed in to change notification settings

myztical/hadoop-manager

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Role Name

"hadoop-manager":

Is a role that can be used to provision distribution independent hadoop cluster and orchestrate it. Meaning that it can be used to install Hadoop on anything capable to run any of the official Hadoop Java versions.

(see: http://wiki.apache.org/hadoop/HadoopJavaVersions )

Requirements

Role Variables

NOTE: variables should point to existing directories.

Can be found in: "vars/main.yml"

  • java_home: "{{ lookup('env', 'JAVA_HOME') }}"
  • jsvc_home: "{{ lookup('env', 'JSVC_HOME') }}"
  • hostfile: '{{ inventory_dir }}/{{ inventory_file }}'
  • install_directory: /opt/
  • distribution_link: http://apache.mesi.com.ar/hadoop/common/hadoop-2.4.1/hadoop-2.4.1.tar.gz
  • datanode_data_dir: "file:///var/datanode_data"
  • namenode_name_dir: "file:///tmp/namenode_name"
  • namenode_local_dirs: "file:///tmp/namenode_local"
  • namenode_log_dirs: "file:///var/log/"
  • nodemanager_local_dirs: "file:///var/nodemanager_local"
  • nodemanager_log_dirs: "file:///log/"

Role Default Values

Can be found in: "defaults/main.yml"

  • hdfs_user_pass: "hdfs"
  • yarn_user_pass: "yarn"
  • mapred_user_pass: "mapred"

Dependencies

No dependencies.

Example Playbook

See: example_site.yml and example_inventory.ini, that are shipped with a role.

  • hosts: ResourceManager roles:

    • { role: hadoop-manager, action: 'download' }
  • hosts: hadoop roles:

    • { role: hadoop-manager, action: 'provision' }
    • { role: hadoop-manager, action: 'update_cluster_conf' }
    • { role: hadoop-manager, action: 'format_hdfs' }

License

GPLv2

Author Information

Serge C.

email: sergiy.chernyshow 'at' gmail

About

hadoop-manager -- ansible galaxy role to deploy hadoop 2.4.1 from sources

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published