Sign inSign up

dockerq/docker-hdfs

By dockerq

•Updated over 9 years ago

Hadoop HDFS standalone docker image Also can be expanded to Cluster

Image
5

4.4K

dockerq/docker-hdfs repository overview

⁠HPDFS on docker

Docker Pulls

Hadoop Pseudo Distributed File System

⁠Introduction

  • base image: ubuntu16.04 64 bit
  • java: openjdk-8-jre
  • default JAVA_HOME:/usr/lib/jvm/java-8-openjdk-amd64

⁠Usage

⁠quick start
docker run -d --net host --name hdfs dockerq/docker-hdfs

Then browser localhost:50070⁠ to see HDFS WebUI

⁠volumn data directory to host

The default directory of datanode and namenode is /hdfsdata.So you can volumn it in onder to backing up data.

docker run -d --name --net host -v host_data_path:/hdfsdata dockerq/docker-hdfs
⁠change sshd binding port

If your container's network mode is host and your host runs SSHD too,you should change your container's sshd binding port using environment SSH_PORT.

docker run -d --net host -e SSH_PORT=2222 --name hdfs dockerq/docker-hdfs

⁠Troubleshooting

⁠hdfs sshd not working.

You should check the config for sshd. Config file lies in /etc/ssh/sshd_config. More details click ssh config on Ubuntu⁠

⁠Summary

This docker image aims to exploring HDFS and setuping pseudo distributed HDFS quickly.I do not suggest you use it in production environment.

Tag summary

Content type

Image

Digest

Size

563.7 MB

Last updated

over 9 years ago

docker pull dockerq/docker-hdfs