PrepAway - Latest Free Exam Questions & Answers

What command you enter?

Given:

You want to clean up this list by removing jobs where the state is KILLED. What command you enter?

PrepAway - Latest Free Exam Questions & Answers

A.
Yarn application –kill application_1374638600275_0109

B.
Yarn rmadmin –refreshQueue

C.
Yarn application –refreshJobHistory

D.
Yarn rmadmin –kill application_1374638600275_0109

Explanation:
http://docs.hortonworks.com/HDPDocuments/HDP2/HDP-2.1-latest/bk_using-apachehadoop/content/common_mrv2_commands.html

6 Comments on “What command you enter?

  1. Pathik Paul says:

    B – the screen shot says that it is already killed (No need to kill it again)

    $ yarn rmadmin
    Usage: yarn rmadmin
    -refreshQueues
    -refreshNodes
    -refreshSuperUserGroupsConfiguration
    -refreshUserToGroupsMappings
    -refreshAdminAcls
    -refreshServiceAcl
    -getGroups [username]
    -help [cmd]
    -addToClusterNodeLabels [label1,label2,label3] (label splitted by “,”)
    -removeFromClusterNodeLabels [label1,label2,label3] (label splitted by “,”)
    -replaceLabelsOnNode [node1[:port]=label1,label2 node2[:port]=label1,label2]
    -directlyAccessNodeLabelStore
    $




    0



    0
  2. abc says:

    B.

    yarn rmadmin -refreshQueues —- Reload the queues’ acls, states and scheduler specific properties. ResourceManager will reload the mapred-queues configuration file.

    Yarn application –refreshJobHistory —- invalid command
    Yarn rmadmin –kill application_1374638600275_0109 — invalid command
    Yarn application –kill application_1374638600275_0109 — already killed




    0



    0

Leave a Reply

Your email address will not be published. Required fields are marked *