GithubHelp home page GithubHelp logo

hamid58b / docker-hadoop-1.2.1 Goto Github PK

View Code? Open in Web Editor NEW

This project forked from hughbrien/docker-hadoop-1.2.1

0.0 1.0 0.0 4.91 MB

Docker contaier to build Apache Hadoop

License: Apache License 2.0

Dockerfile 29.78% Shell 70.22%

docker-hadoop-1.2.1's Introduction

docker-hadoop-1.2.1

Build Docker Apache 1.2.1 Container.

Often when we use Apache Hadoop and would like to make a custom build (stock or forked) you'll have to rebuild the whole Hadoop, native libs, etc ... which takes 30+ minutes, and carries lots of dependencies (libraries, protobuf, etc - at a given version).

Hadoop 1.2.1 BaseInstall http://tecadmin.net/steps-to-install-hadoop-on-centosrhel-6/

Docker Build based on the Above installation: https://github.com/hughbrien/docker-hadoop-1.2.1

Install boot2docker and enable it.

Install Docker


boot2docker shellinit

git clone https://github.com/hughbrien/docker-hadoop-1.2.1

cd ./docker-hadoop-1.2.1

docker build -t <yourname>/docker-hadoop-1.2.1 .

docker run -d -i -t -p 50030:50030 -p 50070:50070 -p 50060:50060 --name "node1" hughbrien/docker-hadoop-1.2.1 /bin/bash

docker run -d -i -t -p 50030:50030 -p 50070:50070 -p 50060:50060 --name "node1" hughbrien/docker-hadoop-1.2.1 /bin/bash


docker exec -it nodeX /bin/bash

May have to run bin/hadoop namenode -format

May also have to manually start /etc/init.d/sshd start

Build the image

docker build -t hughbrien/docker-hadoop-1.2.1 . 

Run the container

docker run -d -i -t -p 50030:50030 -p 50070:50070 -p 50060:50060 --name "node1" hughbrien/docker-hadoop-1.2.1 /bin/bash

Open a Shell in the Container

docker exec -it  node2 /bin/bash

docker-hadoop-1.2.1's People

Contributors

hughbrien avatar

Watchers

Hamid Bagheri 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.