[ 
https://issues.apache.org/jira/browse/YARN-9664?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16877466#comment-16877466
 ] 

Tao Yang commented on YARN-9664:
--------------------------------

Attached v1 patch for review.
Updates:
* Adjust structure and diagnostics for the response of activities
** Refactor activity diagnostics to make them more sensible: begin with 
activity level and adjust some contents
** Refactor field names: allocationState -> activityState, requestAllocation -> 
requestAllocations, allocationAttempt -> allocationAttempts
** Adjust the sequence of some fields
** Correct unreasonable activity states
** Add activity diagnostics for initial check at the beginning of scheduling 
process
* Support recording and showing partition name in scheduler activities
* Add activity level including QUEUE/APP/REQUEST/NODE and improve the recording 
process to get better classifications
* UT
** Add new test cases (testQueueSkippedBecauseOfHeadroom and 
testNodeSkippedBecauseOfRelaxLocality) in TestRMWebServicesSchedulerActivities 
to test diagnostics at request/node level
** Add testPartitionInSchedulerActivities in 
TestRMWebServicesForCSWithPartitions to test partition information
** Update frequently-used strings to be constants

> Improve response of scheduler/app activities for better understanding
> ---------------------------------------------------------------------
>
>                 Key: YARN-9664
>                 URL: https://issues.apache.org/jira/browse/YARN-9664
>             Project: Hadoop YARN
>          Issue Type: Sub-task
>            Reporter: Tao Yang
>            Assignee: Tao Yang
>            Priority: Major
>         Attachments: YARN-9664.001.patch
>
>
> Currently some diagnostics are not easy enough to understand for common 
> users, and I found some places still need to be improved such as no partition 
> information and lacking of necessary activities. This issue is to improve 
> these shortcomings.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

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

Reply via email to