CCA-500 · Question #19
Your cluster is running MapReduce version 2 (MRv2) on YARN. Your ResourceManager is configured to use the FairScheduler. Now you want to configure your scheduler such that a new user on the cluster…
The correct answer is A. You can specify new queue name when user submits a job and new queue can be created. https://hadoop.apache.org/docs/r2.4.1/hadoop-yarn/hadoop-yarn-site/FairScheduler.html yarn.scheduler.fair.allow-undeclared-pools If this is true, new queues can be created at application submission time, whether because they are specified as the application's queue by the…
Question
Your cluster is running MapReduce version 2 (MRv2) on YARN. Your ResourceManager is configured to use the FairScheduler. Now you want to configure your scheduler such that a new user on the cluster can submit jobs into their own queue application submission. Which configuration should you set?
Options
- AYou can specify new queue name when user submits a job and new queue can be created
- BYarn.scheduler.fair.user.fair-as-default-queue = false and yarn.scheduler.fair.allow- undecleared-
- CYou can specify new queue name when user submits a job and new queue can be created
- DYou can specify new queue name per application in allocations.xml file and have new jobs
How the community answered
(20 responses)- A70% (14)
- B15% (3)
- C5% (1)
- D10% (2)
Explanation
https://hadoop.apache.org/docs/r2.4.1/hadoop-yarn/hadoop-yarn-site/FairScheduler.html yarn.scheduler.fair.allow-undeclared-pools If this is true, new queues can be created at application submission time, whether because they are specified as the application's queue by the submitter or because they are placed there by the user-as-default-queue property. If this is false, any time an app would be placed in a queue that is not specified in the allocations file, it is placed in the "default" queue instead. Defaults to true. If a queue placement policy is given in the allocations file, this property is ignored.
Topics
Community Discussion
No community discussion yet for this question.