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. yarn hadoopexam.jar [mainClass] args... 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
Question : Select the correct command/commands which can be used to Dump the container logs