https://github.com/dataman-cloud/hdfs-datanode
hdfs datanode in docker
https://github.com/dataman-cloud/hdfs-datanode
Last synced: 3 months ago
JSON representation
hdfs datanode in docker
- Host: GitHub
- URL: https://github.com/dataman-cloud/hdfs-datanode
- Owner: Dataman-Cloud
- License: apache-2.0
- Created: 2016-01-07T14:33:51.000Z (over 9 years ago)
- Default Branch: master
- Last Pushed: 2016-01-11T06:11:56.000Z (over 9 years ago)
- Last Synced: 2025-01-07T21:44:07.183Z (5 months ago)
- Language: Shell
- Size: 6.84 KB
- Stars: 1
- Watchers: 6
- Forks: 2
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# hdfs-datanode
hdfs datanode in docker
## How to use it
```bash
docker run -e HDFS_NAMENODE_RPC_HOST=$NAMENODEHOST -v /data:/var/hdfs/datanode --net=host --name hdfs-dn -d dataman/hdfs-datanode:2.7.1
```## Exposed ports
* TCP 50010 dfs.datanode.address port for data transfer
* TCP 50020 dfs.datanode.ipc.address ipc server
* TCP 50075 dfs.datanode.http.address http server
* TCP 50475 dfs.datanode.https.address https server## FAQ
Q1: Tab **Overview** is giving me 3 living datanodes on namenode webpage, while tab **Datanodes** is showing 1 living datanode only.Why?
A1. Plz make sure your datanode servers have the different **hostname**