GithubHelp home page GithubHelp logo

asears / isilon_hadoop_tools Goto Github PK

View Code? Open in Web Editor NEW

This project forked from isilon/isilon_hadoop_tools

0.0 3.0 0.0 24 KB

Scripts for the creation of Hadoop local user accounts and filesystem trees for Hortonworks, Cloudera, PivotalHD, and IBM Big Insights.

License: Other

Shell 100.00%

isilon_hadoop_tools's Introduction

isilon-hadoop-tools

Scripts for the creation of Hadoop local user accounts and filesystem trees for Hortonworks, Cloudera, PivotalHD, and IBM Big Insights.

MUST be run as root on Isilon.

This repository contains two scripts:

Isilon-create-users.sh – The script creates local users and groups in the local provider for the access zone and outputs a files used to transfer onto compute nodes so that users and ID’s match.

Usage:

bash isilon-create-users.sh --dist <hwx|bi|cdh> --startuid <startingUID> --startgid <startingGID> --zone <zoneName> --verbose --append-cluster-name <clusterName>

Arguments:

  • dist – distribution of Hadoop (cdh, hwx, phd3, bi)
  • startuid – the beginning UID range for the creation of users (default is 1000)
  • startgid – the beginning GID range for the creation of users (Default is 1000)
  • zone – the name of the access zone where the users should be created
  • verbose - invokes set -x on the script so we can inspect actions.
  • append-cluster-name – the Hadoop cluster name the script should append to the usernames (useful for multi-tenant environments that will use a single KDC)

isilon-create-directories.sh – This script creates a base directory skeleton for the specified hadoop distribution and assigns the correct ownership based on the users created with isilon-create-users.s

Usage:

bash Isilon-create-directories.sh –dist <hwx|bi|cdh> --zone <zoneName> --fixperm --posix-only --verbose --append-cluster-name <clusterName>

Arguments

  • dist – distribution of Hadoop for which the script should create an HDFS directory skeleton
  • zone – the name of the access zone where the directory skeleton should be created
  • fixperm – argument to alter the permissions ownership of the directory skeleton according to the users created by isilon-create-users.sh and isilon-create-directories.sh.
  • posix-only - argument that will strip existing permissions, including ACEs, before applying posix permissions.
  • verbose - invokes set -x on the script so we can inspect actions
  • append-cluster-name – the Hadoop cluster name the script should append to the usernames (useful for multi-tenant environments that will use a single KDC)

isilon_hadoop_tools's People

Contributors

ro-ket avatar bonibruno avatar

Watchers

James Cloos avatar Andrew Sears avatar  avatar

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.