Giter Club home page Giter Club logo

hadoop_on_docker's Introduction

hadoop on docker

基于docker的hadoop集群

1. 配置

需要先下载一些东西,下载链接在dockerfile中,但是为了避免重复下载,没有在build镜像的时候下载,需要手动下载

  • apache-hive-3.1.2-bin.tar.gz
  • apache-zookeeper-3.6.3-bin.tar.gz
  • hadoop-3.3.6.tar.gz
  • hbase-2.5.6-bin.tar.gz
  • jdk-8u341-linux-x64.tar.gz

2. 运行

# build image
make build
# start cluster
make cluster
# stop cluster
make stop
# run bash on master
make run

3. 启动集群

scripts/all_in_one.sh 会被拷贝到image中,可以执行如下命令启动集群

chmod a+x ./all_in_one.sh
./all_in_one.sh start_all

该脚本可以扩充,尽量把集群的操作写在脚本里面

hadoop_on_docker's People

Contributors

iku-iku-iku avatar

Watchers

 avatar

Forkers

wenli7363

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.