-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/48282/
-----------------------------------------------------------

Review request for Ambari and Dmytro Sen.


Bugs: AMBARI-15557
    https://issues.apache.org/jira/browse/AMBARI-15557


Repository: ambari


Description
-------

Ambari runs this command when running YARN service check. 

yarn org.apache.hadoop.yarn.applications.distributedshell.Client -shell_command 
ls -num_containers 1 -jar 
/usr/hdp/current/hadoop-yarn-client/hadoop-yarn-applications-distributedshell.j 

In the logs , we can see that its looking for queue named "default" 

15/12/23 19:09:49 INFO distributedshell.Client: Queue info, queueName=default, 

I was able to reproduce this by changing 

this 

yarn.scheduler.capacity.default.minimum-user-limit-percent=100 
yarn.scheduler.capacity.maximum-am-resource-percent=0.2 
yarn.scheduler.capacity.maximum-applications=10000 
yarn.scheduler.capacity.node-locality-delay=40 
yarn.scheduler.capacity.root.accessible-node-labels=* 
yarn.scheduler.capacity.root.acl_administer_queue=* 
yarn.scheduler.capacity.root.capacity=100 
yarn.scheduler.capacity.root.default.acl_administer_jobs=* 
yarn.scheduler.capacity.root.default.acl_submit_applications=* 
yarn.scheduler.capacity.root.default.capacity=100 
yarn.scheduler.capacity.root.default.maximum-capacity=100 
yarn.scheduler.capacity.root.default.state=RUNNING 
yarn.scheduler.capacity.root.default.user-limit-factor=1 
yarn.scheduler.capacity.root.queues=default 

to 

yarn.scheduler.capacity.default12345.minimum-user-limit-percent=100 
yarn.scheduler.capacity.maximum-am-resource-percent=0.2 
yarn.scheduler.capacity.maximum-applications=10000 
yarn.scheduler.capacity.node-locality-delay=40 
yarn.scheduler.capacity.root.accessible-node-labels=* 
yarn.scheduler.capacity.root.acl_administer_queue=* 
yarn.scheduler.capacity.root.capacity=100 
yarn.scheduler.capacity.root.default12345.acl_administer_jobs=* 
yarn.scheduler.capacity.root.default12345.acl_submit_applications=* 
yarn.scheduler.capacity.root.default12345.capacity=100 
yarn.scheduler.capacity.root.default12345.maximum-capacity=100 
yarn.scheduler.capacity.root.default12345.state=RUNNING 
yarn.scheduler.capacity.root.default12345.user-limit-factor=1 
yarn.scheduler.capacity.root.queues=default12345


Diffs
-----

  
ambari-server/src/main/resources/common-services/YARN/2.1.0.2.0/configuration/yarn-env.xml
 648c32e 
  
ambari-server/src/main/resources/common-services/YARN/2.1.0.2.0/package/scripts/params_linux.py
 a63abd5 
  
ambari-server/src/main/resources/common-services/YARN/2.1.0.2.0/package/scripts/service_check.py
 26f764e 
  ambari-server/src/main/resources/stacks/HDP/2.0.6/services/stack_advisor.py 
1dedf3d 
  ambari-server/src/main/resources/stacks/HDP/2.2/services/stack_advisor.py 
03e8150 
  ambari-server/src/main/resources/stacks/HDP/2.5/services/stack_advisor.py 
379c268 
  ambari-server/src/test/python/stacks/2.0.6/common/test_stack_advisor.py 
3744c26 
  ambari-server/src/test/python/stacks/2.5/common/test_stack_advisor.py 46e9f47 

Diff: https://reviews.apache.org/r/48282/diff/


Testing
-------

mvn clean test


Thanks,

Andrew Onischuk

Reply via email to