Skip to content

marcelomarques05/hadoop-docker

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

hadoop-docker

Hadoop in Docker Desktop Environment

  1. Clone the repository into Docker Server

git clone $(repository)

  1. Execute the build (inside the hadoop-docker folder)

docker build . -t hadoop-standalone:1.0

  1. Start the container

docker run -it -h hadoop01 --name hadoop01 --rm -p 50070:50070 -p 8088:8088 -p 9864:9864 hadoop-standalone:1.0

  1. Feel Free now to use the container. Some uses:

Test YARN job

/root/hadoop/bin/hadoop jar /root/hadoop/share/hadoop/mapreduce/hadoop-mapreduce-examples-3.2.1.jar pi 1 10

Access NameNode WebUI

http://localhost:50070

Access YARN Resource Manager

http://localhost:8088

Access DataNode WebUI

http://localhost:9864

  • To use WebUI, remember that localhost is only if you´re using Docker in same host you´re using. If you´re using some external environment, you need to get the external IP address.

About

Hadoop in Docker Desktop Environment

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published