What is the slaves file configuration in Hadoop?

0 votes

In my Hadoop cluster I have configured 1 node as master & 3 nodes as slave. The slave file which is residing on my master machine is as following:

master
slave-1
slave-2
slave-3

Now I am confused that the slaves files in my slave machines should have the same file or do I have to remove the master while placing it to slave machine?

Apr 24, 2018 in Big Data Hadoop by nitinrawat895
• 10,950 points
1,619 views

1 answer to this question.

0 votes

The main idea behind is the master file is that it corresponds to the Secondary NameNode, whereas slaves file will correspond to TaskTracker/DataNode. So, basically in pseudo-distributed mode, master file will have localhost as hostname & iun distributed mode master file would contain the appropriate hostname.

The master and slave file should be present in master node and not on slave node. Go through this official documentation to understand clearly:

http://hadoop.apache.org/docs/current/hadoop-project-dist/hadoop-common/ClusterSetup.html#Hadoop_Startup

answered Apr 24, 2018 by Shubham
• 13,450 points

Related Questions In Big Data Hadoop

0 votes
1 answer

What is the use of sequence file in Hadoop?

Sequence files are binary files containing serialized ...READ MORE

answered Apr 5, 2018 in Big Data Hadoop by Ashish
• 2,650 points
4,287 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
• 37,370 points
11,914 views
0 votes
1 answer

What is the Data format and database choices in Hadoop and Spark?

Use Parquet. I'm not sure about CSV ...READ MORE

answered Sep 4, 2018 in Big Data Hadoop by Frankie
• 9,810 points
171 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
• 10,950 points
5,879 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
• 10,950 points
882 views
+1 vote
11 answers

hadoop fs -put command?

put syntax: put <localSrc> <dest> copy syntax: copyF ...READ MORE

answered Dec 7, 2018 in Big Data Hadoop by Aditya
37,090 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,320 points
2,195 views
0 votes
11 answers
0 votes
13 answers

What is the difference between Hadoop/HDFS & HBase?

HDFS is a distributed file system whereas ...READ MORE

answered Apr 26, 2019 in Big Data Hadoop by Arihar
• 160 points
19,971 views