sequenceiq / hadoop-docker

Hadoop docker image
https://registry.hub.docker.com/u/sequenceiq/hadoop-docker/
Apache License 2.0
1.21k stars 560 forks source link

Port Forwarding Hadoop Job Monitor URL #71

Open ewaschenko opened 7 years ago

ewaschenko commented 7 years ago

Hi, I'm using hadoop inside the docker container running on debian. When I run my mapreduce job I get a url where I can monitor the progress.

Something like http://20a4f5aa3c45:8088/proxy/application_1490980395017_0013/

I would like to forward a port on my server to the url above so I can monitor the progress on my server. I've look around for information on this and could not find anything. Is this possible? If so could you provide some information on how it can be accomplished.

Thanks

dyerrington commented 7 years ago

This would also be nice. However, one way you could set this up yourself is to use Kitematic: https://kitematic.com/

I'm on OSX and was able to load the defaults and then just hit save to automatically create port forwards:

Then load the node manager like this:

Otherwise, you could update the DockerFile to include the forwards or specify from the shell: https://docs.docker.com/engine/reference/run/#expose-incoming-ports

Hope that's helpful.