Public | Automated Build

Last pushed: a year 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

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

FAQ

Q1: Cmd bin/hdfs namenode format is triggering error: Caused by: java.net.UnknownHostException: YOUR_HOSTNAME?

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

Docker Pull Command
Owner
dataman
Source Repository

Comments (0)