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,110 points
497 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,190 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,630 points
656 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 in Big Data Hadoop by Gitika
• 19,720 points
3,197 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
48 views
0 votes
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,110 points
2,051 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,110 points
196 views
0 votes
10 answers

hadoop fs -put command?

copy command can be used to copy files ...READ MORE

answered Dec 7, 2018 in Big Data Hadoop by Sujay
10,489 views
0 votes
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,240 points
764 views
0 votes
10 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 in Big Data Hadoop by Arihar
• 160 points
6,338 views