hadoop-cluster-docker icon indicating copy to clipboard operation
hadoop-cluster-docker copied to clipboard

Accessing HDFS outside docker

Open EncodePanda opened this issue 8 years ago • 1 comments

Hi, I have your setup up & running. run-wordcount.sh ran smoothly without any issues. However the problem that I have is that the NameNode and DataNodes are "hidden" behind their network. Ports 50070 & 8088 are open, but is it enough to access this HDFS from my local machine (outside the docker network that was created)? Probably not.

In other words, I'm looking for ability to

  1. instantiate Hadoop with HDFS on Docker
  2. access HDFS from my machine (outside of docker)

Any hints?

EncodePanda avatar Sep 26 '16 14:09 EncodePanda

You can install hadoop-client on you machine(outside of docker)。

dingguotao avatar Nov 15 '16 02:11 dingguotao