Based gudaoxuri/java:latest
Start :
docker run --name hadoop -h hadoop -P -e KEEP=true -d tairangroup/hadoop
Operation:
Hadoop Home:/opt/hadoop/
example:
hdfs dfs -mkdir /test
hdfs dfs -put <localfile> /test/
hdfs dfs -ls /test
Port | Remark |
---|---|
22 |
SSH Port |
9000 |
File system metadata operations |
50010 |
Data transfer |
50020 |
Metadata operations |
50070 |
Web UI to look at current status of HDFS, explore file system |
50075 |
DataNode WebUI to access the status, logs etc. |
50090 |
Checkpoint for NameNode metadata |