Member since
02-09-2018
10
Posts
0
Kudos Received
0
Solutions
03-20-2018
02:58 PM
Thank you @Veerendra Nath Jasthi .. While adding queues I missed the property "yarn.scheduler.capacity.root.accessible-node-labels.<newnodelabelname>.capacity" property which was causing the issue.
... View more
03-16-2018
07:56 PM
@Veerendra Nath Jasthi As I am adding queues programmatically, I am hesitant to call API on views ... I am calling refresh queues api as follows, for which I need to manually do the save and refresh. curl -u uname:pwd -H "X-Requested-By:ambari" -iX POST -d '{
"RequestInfo" : {
"command" : "REFRESHQUEUES",
"context" : "Refresh YARN Capacity Scheduler",
"operation_level" : {
"level": "HOST_COMPONENT",
"cluster_name": "<clustername>"
},
"parameters/forceRefreshConfigTags":"capacity-scheduler"
},
"Requests/resource_filters": [{
"service_name" : "YARN",
"component_name" : "RESOURCEMANAGER",
"hosts" : "<hostname>"
}]
}' http://<hostip>:<port>/api/v1/clusters/<clustername>/requests
... View more
03-16-2018
06:16 PM
Hi Is it working for you? I tried the same thing, I am able to see the new queue configuration in Ambari queue manager UI, but need to manually click on "Save and refresh". I see following warning in ambari server log "AbstractResourceProvider:506 - Can not determine request operation level. Operation level property should be specified for this request.
... View more
02-14-2018
05:55 PM
HI ... Thank you for the post. Is there a way to add node labels and queues through java API? We are planning to add node labels and queues on demand based on job submission.
... View more