MCQ IN COMPUTER SCIENCE & ENGINEERING

COMPUTER SCIENCE AND ENGINEERING

CLOUD COMPUTING

Question [CLICK ON ANY CHOICE TO KNOW THE RIGHT ANSWER]
Consider the following statements:Statement 1:The Job Tracker is hosted inside the master and it receives the job execution request from the client.Statement 2:Task tracker is the MapReduce component on the slave machine as there are multiple slave machines.
A
Only statement 1 is true
B
Only statement 2 is true
C
Both statements are true
D
Both statements are false
Explanation: 

Detailed explanation-1: -JobTracker is the service within Hadoop that is responsible for taking client requests. It assigns them to TaskTrackers on DataNodes where the data required is locally present. If that is not possible, JobTracker tries to assign the tasks to TaskTrackers within the same rack where the data is locally present.

Detailed explanation-2: -The JobTracker submits the work to the chosen TaskTracker nodes. The TaskTracker nodes are monitored. If they do not submit heartbeat signals often enough, they are deemed to have failed and the work is scheduled on a different TaskTracker. A TaskTracker will notify the JobTracker when a task fails.

Detailed explanation-3: -Which of the following statements are true about key/value pairs in Hadoop? A map() function can emit up to a maximum number of key/value pairs (depending on the Hadoop environment). A map() function can emit anything between zero and an unlimited number of key/value pairs.

Detailed explanation-4: -Apache Hadoop YARN (Yet Another Resource Negotiator) is a cluster management technology. It is a resource-management platform responsible for managing computing resources in clusters and using them for scheduling of users’ applications. It allows Hadoop to do more than just MapReduce data processing jobs.

There is 1 question to complete.