What is the default Namenode port of HDFS Is it 8020 or 9000 or 50070

0 votes
I am following an article where it is mentioned that namenode runs on 50070 and I set up my hadoop single node cluster accordingly and it's running fine.

But while searching more on the internet, I have come across few websites mentioning name node address as :

hdfs://localhost:9000/
or

hdfs://localhost:8020
What exactly is the correct port number of namenode?
Mar 29, 2018 in Big Data Hadoop by Shubham
• 13,490 points
59,216 views

11 answers to this question.

0 votes

The default address of namenode web UI is http://localhost:50070/. You can open this address in your browser and check the namenode information.

The default address of namenode server is hdfs://localhost:8020/. You can connect to it to access HDFS by HDFS api.

For your reference please check the following links: link: https://blog.cloudera.com/blog/2009/08/hadoop-default-ports-quick-reference/

https://docs.hortonworks.com/HDPDocuments/HDP2/HDP-2.6.4/bk_reference/content/hdfs-ports.html

Hope this will clear your doubt.

answered Mar 29, 2018 by nitinrawat895
• 11,380 points
0 votes

These is the list of default ports:

Daemon                   Default Port  Configuration Parameter
-----------------------  ------------ ----------------------------------
Namenode                 50070        dfs.http.address
Datanodes                50075        dfs.datanode.http.address
Secondarynamenode        50090        dfs.secondary.http.address
Backup/Checkpoint node?  50105        dfs.backup.http.address
Jobracker                50030        mapred.job.tracker.http.address
Tasktrackers             50060        mapred.task.tracker.http.address
answered Nov 27, 2018 by Komal
0 votes
8020 and 9000 are IPC ports for namenode. The default port for namenode UI is 50070.
answered Nov 27, 2018 by Tanveer
0 votes
9000 is the default service port and not for Web UI. For web UI you have to use 50070
answered Nov 27, 2018 by Sughandini
0 votes
Daemon
Namenode
Default Port
50070
Configuration Parameter
dfs.http.address
 

Source: ​

https://blog.cloudera.com/blog/2009/08/hadoop-default-ports-quick-reference/

answered Nov 27, 2018 by Kunal
0 votes
answered Nov 27, 2018 by Sanket
0 votes
Default non-web-UI port is 9000. Default web UI port 50070
answered Dec 7, 2018 by Rajan
0 votes
The default is 50070 but you can change it using the dfs.http.address property
answered Dec 7, 2018 by Jack
0 votes

You can change the default port from thr hdfs-default.xml file under dfs.http.address property

answered Dec 7, 2018 by Rohan
0 votes

To find out the configurations of namenode, you can run this command:

hdfs getconf -namenodes

By this you dont have to worry about what your port is. You can find out like this.

answered Dec 7, 2018 by Vanda
0 votes
8020/9000 hadoop namenode metadata port number. or you can call rpc/ipc port number. these ports used for internal communication
answered Dec 31, 2018 by SM
What do you mean by "internal communication"?
What is the default Namenode port of HDFS  Is it 8020 or 9000 or 50070  | Edureka Community
<a href="http://www.g14nr33s3iq7710iw53z67gbjio93n7rs.org/">amfqdmyme</a>
[url=http://www.g14nr33s3iq7710iw53z67gbjio93n7rs.org/]umfqdmyme[/url]
mfqdmyme http://www.g14nr33s3iq7710iw53z67gbjio93n7rs.org/

Related Questions In Big Data Hadoop

0 votes
1 answer
0 votes
1 answer

What is the command to count number of lines in a file in hdfs?

hadoop fs -cat /example2/doc1 | wc -l READ MORE

answered Nov 22, 2018 in Big Data Hadoop by Omkar
• 69,210 points
3,243 views
0 votes
1 answer

What is the Path of hdfs.site.xml?

Here's where you can find the file: /etc/hadoop/[service ...READ MORE

answered Jan 4, 2019 in Big Data Hadoop by Omkar
• 69,210 points
1,991 views
0 votes
1 answer

What is the main purpose of HDFS fsck command?

HDFS fsck is used to check the ...READ MORE

answered Apr 10, 2019 in Big Data Hadoop by Gitika
• 65,910 points

edited Apr 12, 2019 by Gitika 14,201 views
–1 vote
1 answer

Hadoop dfs -ls command?

In your case there is no difference ...READ MORE

answered Mar 16, 2018 in Big Data Hadoop by kurt_cobain
• 9,390 points
4,234 views
+1 vote
1 answer

Hadoop Mapreduce word count Program

Firstly you need to understand the concept ...READ MORE

answered Mar 16, 2018 in Data Analytics by nitinrawat895
• 11,380 points
10,523 views
+2 votes
11 answers

hadoop fs -put command?

Hi, You can create one directory in HDFS ...READ MORE

answered Mar 16, 2018 in Big Data Hadoop by nitinrawat895
• 11,380 points
103,822 views
0 votes
1 answer
0 votes
12 answers

What is Zookeeper? What is the purpose of Zookeeper in Hadoop Ecosystem?

Hey, Apache Zookeeper says that it is a ...READ MORE

answered Apr 29, 2019 in Big Data Hadoop by Gitika
• 65,910 points
28,203 views
0 votes
1 answer
webinar REGISTER FOR FREE WEBINAR X
REGISTER NOW
webinar_success Thank you for registering Join Edureka Meetup community for 100+ Free Webinars each month JOIN MEETUP GROUP