[ 
https://issues.apache.org/jira/browse/AMBARI-26647?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Himanshu Maurya resolved AMBARI-26647.
--------------------------------------
    Resolution: Fixed

> Ambari Web React: Fix Capacity Scheduler config editing format and add 
> Refresh YARN Queues prompt
> -------------------------------------------------------------------------------------------------
>
>                 Key: AMBARI-26647
>                 URL: https://issues.apache.org/jira/browse/AMBARI-26647
>             Project: Ambari
>          Issue Type: Story
>            Reporter: Himanshu Maurya
>            Assignee: Himanshu Maurya
>            Priority: Major
>             Fix For: 3.1.0
>
>          Time Spent: 0.5h
>  Remaining Estimate: 0h
>
> h2. Summary
> The {{capacity-scheduler.xml}} properties on the YARN Advanced Configs tab 
> were rendered as one input field per property, which does not match the 
> classic Ember UI's dedicated combined-textarea editor and made bulk edits 
> (adding/removing queues, editing multiple properties at once) awkward and 
> error-prone. Saving a {{capacity-scheduler.xml}} change also silently skipped 
> the "Refresh YARN Queues" prompt that the classic UI shows, so the new 
> configuration was not actually applied to the running ResourceManager until a 
> manual refresh.
> h2. Changes
>  * {{capacity-scheduler.xml}} properties are now edited as a single combined 
> {{{}key=value{}}}-per-line textarea, folded into the existing 
> "CapacityScheduler" section (displayed as "Scheduler") instead of being 
> rendered as their own separate accordion item with one field per property. 
> This matches the classic Ember UI's {{App.CapacitySceduler}} widget.
>  * Editing the textarea parses each {{key=value}} line back into the 
> individual property map: existing properties are updated in place, new lines 
> add new properties (cloned from an existing property's metadata), and removed 
> lines delete the corresponding property.
>  * After successfully saving configs, if any of the saved changes touched 
> {{{}capacity-scheduler.xml{}}}, a confirmation popup now prompts the user to 
> "Refresh YARN Queues." Accepting submits a YARN {{REFRESHQUEUES}} action 
> against all hosts running the ResourceManager component, matching the classic 
> UI's {{ComponentActionsByConfigs#showPopup}} behavior.
> h2. Impact
> Capacity Scheduler queue configuration can now be edited in bulk via a single 
> textarea (matching the classic UI's editing experience), and saved changes 
> are properly propagated to the running ResourceManager via the Refresh YARN 
> Queues prompt instead of requiring a manual follow-up action.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to