Author: prasadm Date: Thu Oct 30 19:15:38 2014 New Revision: 1635591 URL: http://svn.apache.org/r1635591 Log: HIVE-8634: HiveServer2 fair scheduler queue mapping doesn't handle the secondary groups rules correctly. adding test file (Prasad Mujumdar, reviewed by Brock Noland)
Added: hive/trunk/data/conf/fair-scheduler-test.xml Added: hive/trunk/data/conf/fair-scheduler-test.xml URL: http://svn.apache.org/viewvc/hive/trunk/data/conf/fair-scheduler-test.xml?rev=1635591&view=auto ============================================================================== --- hive/trunk/data/conf/fair-scheduler-test.xml (added) +++ hive/trunk/data/conf/fair-scheduler-test.xml Thu Oct 30 19:15:38 2014 @@ -0,0 +1,16 @@ +<?xml version="1.0"?> +<allocations> + <queue name="user2-test"> + <aclAdministerApps>*</aclAdministerApps> + </queue> + <queue name="user3-group"> + <aclAdministerApps>*</aclAdministerApps> + </queue> + + <queuePlacementPolicy> + <rule name="specified" /> + <rule name="secondaryGroupExistingQueue" create="false"/> + <rule name="primaryGroup" create="false"/> + <rule name="default" /> + </queuePlacementPolicy> +</allocations>