Public | Automated Build

Last pushed: 2 years ago
Short Description
how to use it docker run -v /data:/var/hdfs/namenode -d --name hdfs-nn -P dataman/hdfs-namenode
Full Description


hdfs namenode in docker

How to use it

docker run -v /data:/var/hdfs/namenode -d --name hdfs-nn -p 8020:8020 -p 50070:50070 dataman/hdfs-namenode:2.7.1

Exposed ports

  • TCP 8020 fs.defaultFS IPC: ClientProtocol
  • TCP 50070 dfs.namenode.http-address HTTP connector
  • TCP 50470 dfs.namenode.https-address HTTPS connector


Q1: Cmd bin/hdfs namenode format is triggering error: Caused by: YOUR_HOSTNAME?

A1. Add line YOUR_HOSTNAME to file /etc/hosts will shoot it maybe.

Docker Pull Command
Source Repository