COMPUTER SCIENCE AND ENGINEERING
CLOUD COMPUTING
Question
[CLICK ON ANY CHOICE TO KNOW THE RIGHT ANSWER]
|
|
Only statement 1 is true
|
|
Only statement 2 is true
|
|
Both statements are true
|
|
Both statements are false
|
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.