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

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
Answer is B.
0
0
A is correct
0
0
A or B guys ??? Confused …
0
0
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
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
None of them is correct. Tried it on a cluster. The question itself is invalid
0
0