FUNDAMENTALS OF COMPUTER

DATABASE FUNDAMENTALS

BASICS OF BIG DATA

Question [CLICK ON ANY CHOICE TO KNOW THE RIGHT ANSWER]
The property used to set the default filesystem for Hadoop in core-site.xml is-
A
filesystem.default
B
fs.default
C
fs.defaultFS
D
hdfs.default
Explanation: 

Detailed explanation-1: -fs.default.name property in core-site. xml tells the address of the NameNode and all the HDFS command refers to the this NameNode address. It tells the default HDFS address. 9000 is the port where the datanode will send heartbeat to namenode.

Detailed explanation-2: -The property in Hadoop that specifies the default file system is called fs. defaultFS . You set it up in core-site. xml .

Detailed explanation-3: -The core-site. xml file informs Hadoop daemon where NameNode runs in the cluster. It contains the configuration settings for Hadoop Core such as I/O settings that are common to HDFS and MapReduce.

Detailed explanation-4: -in the data file. fs.defaultFS file:/// The name of the default file.

Detailed explanation-5: -These files are all found in the hadoop/conf directory. For setting HDFS you have to configure core-site. xml and hdfs-site. xml.

There is 1 question to complete.