Coder Social home page Coder Social logo

certain-hadoop-formula's Introduction

Hadoop

A Salt formula to install hadoop

Currently supports HDFS and YARN

Dependencies:

Minimal Configuration:

hadoop:
  hdfs:
    name_node:
      target: 'hdfs01*'
    data_node:
      target: 'hdfs*'
  yarn:
    resource_manager:
      target: 'yarn01*'
    node_manager:
      target: 'yarn*'

Bootstrap:

Passing the bootstrap pillar tells the NameNode and ResourceManager to store their endpoints in SDB and tells the NameNode to format HDFS.

WARNING: Passing this option will reformat HDFS which is a destructive operation. Only do this if you are comfortable losing data.

salt '<tgt>' state.apply hadoop pillar='{"bootstrap": "True"}'

Available States:

  • hadoop
    • Install Hadoop YARN and HDFS
  • hadoop.install
    • Install user and packages
  • hadoop.hdfs
    • Install Hadoop HDFS
  • hadoop.hdfs.configure
    • Manage hdfs-site.xml
  • hadoop.hdfs.name_node
    • Install Hadoop HDFS NameNode
  • hadoop.hdfs.name_node.install
    • Manage service and environment file, and format HDFS
  • hadoop.hdfs.name_node.service
    • Start the NameNode service
  • hadoop.hdfs.name_node.store_name_node_endpoint
    • Store the NameNode endpoint in SDB
  • hadoop.hdfs.data_node
    • Install Hadoop HDFS DataNode
  • hadoop.hdfs.data_node.install
    • Manage service and environment file
  • hadoop.hdfs.data_node.service
    • Start the NameNode service
  • hadoop.yarn
    • Install Hadoop YARN
  • hadoop.yarn.configure
    • Manage yarn-site.xml
  • hadoop.yarn.resource_manager
    • Install Hadoop YARN ResourceManager
  • hadoop.yarn.resource_manager.install
    • Manage service and environment file
  • hadoop.yarn.resource_manager.service
    • Start the ResourceManager service
  • hadoop.yarn.resource_manager.store_resource_manager_endpoint
    • Store the ResourceManager endpoint in SDB
  • hadoop.yarn.node_manager
    • Install Hadoop YARN NodeManager
  • hadoop.yarn.node_manager.install
    • Manage service and environment file
  • hadoop.yarn.node_manager.service
    • Start the NodeManager service

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.