Skip to content

ruo91/docker-hadoop

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 

Repository files navigation

Apache hadoop 2.4.0 - Pseudo-Distributed Mode

- Container run

root@ruo91:~# docker run -d -P --name "Hadoop" ruo91/hadoop

- SSH login

root password : hadoop

root@ruo91:~# docker port Hadoop 22
0.0.0.0:49170
root@ruo91:~# ssh root@localhost -p 49170

- Hadoop run

root@hadoop:~# start-all.sh
root@hadoop:~# jps
624 NodeManager
209 DataNode
659 Jps
132 NameNode
540 ResourceManager
334 SecondaryNameNode

- Testing

root@hadoop:~# for((i=0; i<10; i++)) do echo ${i}; done > test.log
root@hadoop:~# hdfs dfs -copyFromLocal test.log /
root@hadoop:~# hdfs dfs -ls /
Found 1 items
-rw-r--r--   3 root supergroup         20 2014-05-03 04:50 /test.log

root@hadoop:~# exit
root@ruo91:~# docker port Hadoop 50070
0.0.0.0:49181

- Web

Overview enter image description here

Data Node enter image description here

Utilities - Browse th file system enter image description here

Thanks. :-)

Releases

No releases published

Packages

No packages published