COMMAND_OPTIONS Description -status ApplicationId Specify an application id -list Lists all the Applications from RM -kill ApplicationId Specify an application id
Question : Which of the following is a correct command to submit yarn job, assuming your code is deployed in hadoopexam.jar 1. java jar hadoopexam.jar [mainClass] args... 2. yarn jar hadoopexam.jar [mainClass] args... 3. Access Mostly Uused Products by 50000+ Subscribers 4. yarn jar hadoopexam.jar args...
Jar : Runs a jar file. Users can bundle their Yarn code in a jar file and execute it using this command. Usage: yarn jar (jar) [mainClass] args...
Question : Which of the following, command can be used to list all the jobs or application running in the resource manager 1. yarn application -list 2. yarn application -listAll 3. Access Mostly Uused Products by 50000+ Subscribers 4. yarn application -allJobs
Explanation: Application Prints application(s) report/kill application Usage: yarn application (options) COMMAND_OPTIONS Description -status ApplicationId Specify an application id -list Lists all the Applications from RM -kill ApplicationId Specify an application id
1. 1,2,3 2. 2,3,1 3. 3,2,1 4. In any random order you can start above services
Question : Which of the following are the new features of MapReduceV (YARN) architecture 1. ResourceManager High Availability: YARN now allows you to use multiple ResourceManagers so that there is no single point of failure. In-flight jobs are recovered without re-running completed tasks. 2. Monitoring and enforcing memory and CPU-based resource utilization using cgroups. 3. Continuous Scheduling: This feature decouples scheduling from the node heartbeats for improved performance in large clusters 4. 1 and 2 5. 1,2 and 3