Skip to content

edospadoni/hadoop-cluster

Repository files navigation

hadoop-cluster

Create a N-nodes Hadoop cluster using docker container

Requirements

docker v17.09 or above

Configuration

Create docker network

docker network create --driver=bridge hadoop

Initialize a cluster by specifying the number of nodes

./init-cluster -n 5

Available options

./init-cluster -n NODES_NUMBER [-h HADOOP_VERSION] [-s SPARK_VERSION] [-c COMPILE_HADOOP]

  • NODES_NUMBER: mandatory
  • HADOOP_VERSION: default to 2.8.2
  • SPARK_VERSION: default to 2.2.0
  • COMPILE_HADOOP: default to false

Execute task for hadoop and spark

./exec-task <hadoop | spark>

Based on kiwenlau

About

Create docker containers to simulate hadoop cluster

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages