You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Sep 22, 2020. It is now read-only.
docker: Error response from daemon: container 462e9702e2687a71afdc433c6515787eedcce10be6669114feb1469b65d61366: endpoint create on GW Network failed: failed to create endpoint gateway_462e9702e268 on network docker_gwbridge: Bind for 0.0.0.0:50470 failed: port is already allocated.
It seems port 50470/8020/50070 is alreay being used by hadoop-nn1. Need I change them with hadoop-nn2?
The text was updated successfully, but these errors were encountered:
Well it seems you are trying them out on the same machine which is of course not how it should run in the end for reliability. I only tested the namenodes running on different machines.
If you want to make it run on one machine the hdfs-site.xml.template should be edited with different ports for namenode 2. It seems there are already different ports exposed for namenode 2 (50090 50495) although not yet for another rpc port. I am not currently running a setup and thus cannot test any changes. You are welcome to push a change to make it easier to run on a single machine.
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Hi, Jurriaan:
I'm trying to use your hadoop-ha-docker for building a hadoop cluster.
I first start 3 journalnodes: hadoop-jn1-3
then 3 datanodes: hadoop-nn1-3
then start hadoop-nn1
and hadoop-nn2
But here I got something wrong.
It seems port 50470/8020/50070 is alreay being used by hadoop-nn1. Need I change them with hadoop-nn2?
The text was updated successfully, but these errors were encountered: