ambari-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Aleksandr Kovalenko (JIRA)" <>
Subject [jira] [Updated] (AMBARI-16746) Changing and saving the llap percentage slider does not change the YARN queue configuration
Date Thu, 19 May 2016 11:04:12 GMT


Aleksandr Kovalenko updated AMBARI-16746:
    Resolution: Fixed
        Status: Resolved  (was: Patch Available)

committed to trunk and branch-2.4.0

> Changing and saving the llap percentage slider does not change the YARN queue configuration

> --------------------------------------------------------------------------------------------
>                 Key: AMBARI-16746
>                 URL:
>             Project: Ambari
>          Issue Type: Bug
>          Components: ambari-web
>    Affects Versions: 2.4.0
>            Reporter: Aleksandr Kovalenko
>            Assignee: Aleksandr Kovalenko
>            Priority: Critical
>             Fix For: 2.4.0
>         Attachments: AMBARI-16746.patch
> As solution, lets do yarn queue refresh when user explicitly triggers "Restart LLAP"
custom action from service actions menu or under Hive Server Interactive host component action
menu on host details page. This will make sure that when restart llap happens, it always has
the latest capacity-scheduler configs.
> We can also optimize to do additional yarn queue refresh only when yarn configs are found
to be stale. At this point lets use request_schedule API to batch "Refresh yarn queue" and
"Restart LLAP" in single API call, so this can sustain browser refreshes and does not require
the additional ui logic for persisting request state in the local DB or persist API endpoint.
We can use following API:
> {code}
> curl '' --user
admin:admin -H "X-Requested-By: ambari" -i -X POST  --data '[{"RequestSchedule":{"batch":[{"requests":[{"order_id":1,"type":"POST","uri":"/api/v1/clusters/c1/requests","RequestBodyInfo":{"RequestInfo":{"context":"Refresh
YARN Capacity Scheduler","command":"REFRESHQUEUES","parameters/forceRefreshConfigTags":"capacity-scheduler"},"Requests/resource_filters":[{"service_name":"YARN","component_name":"RESOURCEMANAGER","hosts":""}]}},{"order_id":2,"type":"POST","uri":"/api/v1/clusters/c1/requests","RequestBodyInfo":{"RequestInfo":{"context":"Restart
> {code}

This message was sent by Atlassian JIRA

View raw message