Support Questions

Find answers, ask questions, and share your expertise

Changing port 50070

avatar
New Contributor

I need to change the HDFS namenode port on the Docker Sandbox to something other than 50070 due to a conflict on my machine. I've tried changing the port in core-site.xml (using property dfs.datanode.http.address) as well as via Ambari on the HDFS config pages, but after re-starting the Sandbox there are still references to the original port number. Does anyone know where I need to change the port to get it to take effect across the entire Sandbox?

1 ACCEPTED SOLUTION

avatar
Master Collaborator

@Philip Reilly

Actually to define your choice of port by setting properties dfs.namenode.http-address for Namenode port is set via in conf/hdfs-site.xml

Please accept the answer you found most useful

View solution in original post

3 REPLIES 3

avatar
Super Collaborator

avatar
Master Collaborator

@Philip Reilly

Actually to define your choice of port by setting properties dfs.namenode.http-address for Namenode port is set via in conf/hdfs-site.xml

Please accept the answer you found most useful

avatar
New Contributor

Hi, @Jagadeesan A S thanks that was it. However, as I'm using the Sandbox I discovered I can only change the settings in Ambari. Each time I changed hdfs-site.xml it was overwritten when I restarted.