Enable System Service Mode On a Newly Installed Cluster
On a new HDP 3.0 cluster that meets the capacity requirements for HBase to run in the
system service mode, you must configure a separate queue for running
ats-hbase.
ats-hbase on your cluster after installing HDP 3.0.-
Configure a separate queue at the root level, say
yarn system, for theats-hbaseservice instead of using the default queue. -
Allocate required resources to the
yarn-systemqueue for launching theats-hbaseservice.The minimum amount of memory required for launchingats-hbaseis 12 GB.To allocate resources, update the value of theyarn.scheduler.capacity.root.<queue_path>.capacityproperty incapacity-scheduler.xml. The following is an example:yarn.scheduler.capacity.root.yarn-system.capacity=10 -
Set ACLs on the
yarn-systemqueue such that theyarn-atsuser can manage theats-hbaseservice.To set ACLs on the queue, update values of theyarn.scheduler.capacity.root.<queue-path>.acl_submit_applicationsandyarn.scheduler.capacity.root.<queue-path>.acl_administer_queueincapacity-scheduler.xml.yarn.scheduler.capacity.root.yarn-system.acl_submit_applications=yarn-ats,yarn yarn.scheduler.capacity.root.yarn-system.acl_administer_queue=yarn-ats,yarn -
Disable preemption on the
yarn-systemqueue.Setyarn.scheduler.capacity.root.<queue-path>.disable_preemptionandyarn.scheduler.capacity.root.<queue-path>.intra-queue-preemption.disable_preemptionincapacity-scheduler.xmlto true.yarn.scheduler.capacity.root.yarn-system.disable_preemption=true yarn.scheduler.capacity.root.yarn-system.intra-queue-preemption.disable_preemption=true -
Assign the highest priority to the
yarn-systemqueue to prevent inadvertent deletion or preemption.Set the value ofyarn.scheduler.capacity.root.<queue-path>.priorityincapacity-scheduler.xml.yarn.scheduler.capacity.root.yarn-system.priority=<maximum-integer-value> - Restart YARN for all the configuration changes to take effect.
-
Move
ats-hbasefrom the default queue to theyarn-systemqueue.yarn application -changeQueue yarn-system -appId <app-id>Here,
<app-id>is the ID of theats-hbaseservice.

