[jira] [Comment Edited] (YARN-9567) Add diagnostics for outstanding resource requests on app attempts page

2020-01-09 Thread Weiwei Yang (Jira)


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

Weiwei Yang edited comment on YARN-9567 at 1/9/20 5:50 PM:
---

>  Not yet, I think it's not a strong requirement which only used for 
>debugging, we can rarely got a long table about that, and even if we have, it 
>may have a minor impact for the UI, right?

It may cause big usability issues when there are lots of requests. Can we add 
this support?


was (Author: cheersyang):
>  Not yet, I think it's not a strong requirement which only used for 
>debugging, we can rarely got a long table about that, and even if we have, it 
>may have a minor impact for the UI, right?

It may cause big usability issues when there are lots of requests. Can we add 
this support?
 
[|https://issues.apache.org/jira/secure/AddComment!default.jspa?id=13234295]

> Add diagnostics for outstanding resource requests on app attempts page
> --
>
> Key: YARN-9567
> URL: https://issues.apache.org/jira/browse/YARN-9567
> Project: Hadoop YARN
>  Issue Type: Sub-task
>  Components: capacityscheduler
>Reporter: Tao Yang
>Assignee: Tao Yang
>Priority: Major
> Attachments: YARN-9567.001.patch, YARN-9567.002.patch, 
> image-2019-06-04-17-29-29-368.png, image-2019-06-04-17-31-31-820.png, 
> image-2019-06-04-17-58-11-886.png, image-2019-06-14-11-21-41-066.png, 
> no_diagnostic_at_first.png, 
> show_diagnostics_after_requesting_app_activities_REST_API.png
>
>
> Currently on app attempt page we can see outstanding resource requests, it 
> will be helpful for users to know why if we can join diagnostics of this app 
> with these. 
> Discussed with [~cheersyang], we can passively load diagnostics from cache of 
> completed app activities instead of actively triggering which may bring 
> uncontrollable risks.
> For example:
> (1) At first we can see no diagnostic in cache if app activities not 
> triggered below the outstanding requests.
> !no_diagnostic_at_first.png|width=793,height=248!
> (2) After requesting the application activities REST API, we can see 
> diagnostics now.
> !show_diagnostics_after_requesting_app_activities_REST_API.png|width=1046,height=276!
>  



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

-
To unsubscribe, e-mail: yarn-issues-unsubscr...@hadoop.apache.org
For additional commands, e-mail: yarn-issues-h...@hadoop.apache.org



[jira] [Comment Edited] (YARN-9567) Add diagnostics for outstanding resource requests on app attempts page

2019-06-13 Thread Tao Yang (JIRA)


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

Tao Yang edited comment on YARN-9567 at 6/14/19 3:24 AM:
-

Some updates about this issue:
 # Support summarizing app activities on nodes in multiple scheduling processes 
to get the comprehensive information for better debugging, based on YARN-9578.
 # Support partial refresh on app attempt page, so that we have two ways to get 
diagnostics:
 ** When refresh the app attempt page, query and show activities directly from 
cache.
 ** When click the refresh button, update activities immediately and get 
activities and show them after about 2 seconds.
 # Diagnostics information can be classified to 3 levels (request, app and 
scheduler activities).
 ** Request level !image-2019-06-04-17-29-29-368.png|width=1287,height=90!
 ** App level  !image-2019-06-04-17-31-31-820.png|width=648,height=63!
 ** Scheduler activities level (If can't found app diagnostics, will show all 
nodes in scheduling process from scheduler activities for debugging) 
!image-2019-06-14-11-21-41-066.png|width=891,height=159!

Please feel free to give your suggestions! 

I will attach the patch after its dependency issue YARN-9578 resolved.


was (Author: tao yang):
Some updates about this issue:
 # Support summarizing app activities on nodes in multiple scheduling processes 
to get the comprehensive information for better debugging, based on YARN-9578.
 # Support partial refresh on app attempt page, so that we have two ways to get 
diagnostics:
 ** When refresh the app attempt page, query and show activities directly from 
cache.
 ** When click the refresh button, update activities immediately and get 
activities and show them after about 2 seconds.
 # Diagnostics information can be classified to 3 levels (request, app and 
scheduler activities).
 ** Request level !image-2019-06-04-17-29-29-368.png|width=1287,height=90!
 ** App level !image-2019-06-04-17-31-31-820.png|width=648,height=63!
 ** Scheduler activities level 
!image-2019-06-04-17-58-11-886.png|width=731,height=121!

Please feel free to give your suggestions! 

I will attach the patch after its dependency issue YARN-9578 resolved.

> Add diagnostics for outstanding resource requests on app attempts page
> --
>
> Key: YARN-9567
> URL: https://issues.apache.org/jira/browse/YARN-9567
> Project: Hadoop YARN
>  Issue Type: Sub-task
>  Components: capacityscheduler
>Reporter: Tao Yang
>Assignee: Tao Yang
>Priority: Major
> Attachments: image-2019-06-04-17-29-29-368.png, 
> image-2019-06-04-17-31-31-820.png, image-2019-06-04-17-58-11-886.png, 
> image-2019-06-14-11-21-41-066.png, no_diagnostic_at_first.png, 
> show_diagnostics_after_requesting_app_activities_REST_API.png
>
>
> Currently on app attempt page we can see outstanding resource requests, it 
> will be helpful for users to know why if we can join diagnostics of this app 
> with these. 
> Discussed with [~cheersyang], we can passively load diagnostics from cache of 
> completed app activities instead of actively triggering which may bring 
> uncontrollable risks.
> For example:
> (1) At first we can see no diagnostic in cache if app activities not 
> triggered below the outstanding requests.
> !no_diagnostic_at_first.png|width=793,height=248!
> (2) After requesting the application activities REST API, we can see 
> diagnostics now.
> !show_diagnostics_after_requesting_app_activities_REST_API.png|width=1046,height=276!
>  



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

-
To unsubscribe, e-mail: yarn-issues-unsubscr...@hadoop.apache.org
For additional commands, e-mail: yarn-issues-h...@hadoop.apache.org