Support Questions
Find answers, ask questions, and share your expertise
Announcements
Alert: Welcome to the Unified Cloudera Community. Former HCC members be sure to read and learn how to activate your account here.

Changing port 50070

Solved Go to solution

Changing port 50070

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

Accepted Solutions
Highlighted

Re: Changing port 50070

Expert Contributor

@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
Highlighted

Re: Changing port 50070

Expert Contributor
Highlighted

Re: Changing port 50070

Expert Contributor

@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

Highlighted

Re: Changing port 50070

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.

Don't have an account?
Coming from Hortonworks? Activate your account here