How to configure Hadoop namenode

0 votes
Hi Guys,

I want to learn hadoop. I have installed hadoop in my system. But how can I configure hadoop namenode?
Sep 20, 2020 in Big Data Hadoop by MD
• 94,990 points
43 views

1 answer to this question.

0 votes

Hi@MD,

To configure the Hadoop master node, you need to go to the Hadoop configuration folder. There you can find hdfs-site.xml and core-site.xml files. You have to set the properties in these files as shown below.

$ vim core-site.xml
<configuration>
<property>
<name>fs.default.name</name>
<value>hdfs://Master_IP:9001</value>
</property>
</configuration>
$ vim hdfs-site.xml
<configuration>
<property>
<name>dfs.name.dir</name>
<value>/nn</value>
</property>
</configuration>
answered Sep 20, 2020 by akhtar
• 38,120 points

Related Questions In Big Data Hadoop

0 votes
1 answer

How to configure secondary namenode in Hadoop 2.x ?

bin/hadoop-daemon.sh start [namenode | secondarynamenode | datanode ...READ MORE

answered Apr 6, 2018 in Big Data Hadoop by kurt_cobain
• 9,390 points
859 views
0 votes
1 answer

How to install and configure a multi-node Hadoop cluster?

I would recommend you to install Cent ...READ MORE

answered Mar 21, 2018 in Big Data Hadoop by Shubham
• 13,460 points
1,167 views
0 votes
1 answer

How to configure Hosts file for Hadoop Eco-System?

For UBUNTU Hosts File and other configuration for Hadoop ...READ MORE

answered Sep 25, 2018 in Big Data Hadoop by Frankie
• 9,810 points
1,846 views
0 votes
1 answer

How to configure the Hadoop cluster with proxyuser for the Oozie process?

Hey, The following two properties are required in ...READ MORE

answered Jun 10, 2019 in Big Data Hadoop by Gitika
• 65,850 points
181 views
0 votes
1 answer

What is the command to find the free space in HDFS?

You can use dfsadmin which runs a ...READ MORE

answered Apr 29, 2018 in Big Data Hadoop by Shubham
• 13,460 points
717 views
0 votes
1 answer

How to find the used cache in HDFS

hdfs dfsadmin -report This command tells fs ...READ MORE

answered May 4, 2018 in Big Data Hadoop by Shubham
• 13,460 points
816 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
6,648 views
0 votes
1 answer

hadoop.mapred vs hadoop.mapreduce?

org.apache.hadoop.mapred is the Old API  org.apache.hadoop.mapreduce is the ...READ MORE

answered Mar 16, 2018 in Data Analytics by nitinrawat895
• 11,380 points
1,047 views
0 votes
1 answer

How to change block size in Hadoop dynamically?

Hi@akhtar, By default, the block size is 64MB ...READ MORE

answered Sep 25, 2020 in Big Data Hadoop by akhtar
• 38,120 points
175 views
0 votes
1 answer

How to start Hadoop daemons?

Hi@MD, Before starting with the HDFS command, you have ...READ MORE

answered Oct 15, 2020 in Big Data Hadoop by akhtar
• 38,120 points

edited Oct 15, 2020 by akhtar 41 views