[jira] [Commented] (YARN-5638) Introduce a collector Id to uniquely identify collectors and their creation order

2016-09-12 Thread Junping Du (JIRA)

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

Junping Du commented on YARN-5638:
--

Why collector's lifecycle need to bind with AM attempt? AM failed doesn't means 
collector have to be killed/restart.

> Introduce a collector Id to uniquely identify collectors and their creation 
> order
> -
>
> Key: YARN-5638
> URL: https://issues.apache.org/jira/browse/YARN-5638
> Project: Hadoop YARN
>  Issue Type: Sub-task
>  Components: timelineserver
>Reporter: Li Lu
>Assignee: Li Lu
>
> As discussed in YARN-3359, we need to further identify timeline collectors 
> and their creation order for better service discovery and resource isolation. 
> This JIRA proposes to use  to accurately identify 
> each timeline collector. 



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

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



[jira] [Commented] (YARN-5638) Introduce a collector Id to uniquely identify collectors and their creation order

2016-09-12 Thread Li Lu (JIRA)

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

Li Lu commented on YARN-5638:
-

Having put some more thoughts, I think adding the attempt ID as one part of 
identifying collectors may not be a good idea. Collectors belong to 
applications but not attempts. So it is possible that we map multiple app 
attempts to one collector (if the collector is ran in a separate container). It 
is also possible to have several collectors within one application, though. For 
example, a node got separated from other nodes, and all applications running on 
it will get relaunched. Thus, I think it make sense to preserve the old  mapping when facing users, but internally we need to treat the 
corner case that multiple collectors (one active, others stale) are mapped to 
the same application. 

> Introduce a collector Id to uniquely identify collectors and their creation 
> order
> -
>
> Key: YARN-5638
> URL: https://issues.apache.org/jira/browse/YARN-5638
> Project: Hadoop YARN
>  Issue Type: Sub-task
>  Components: timelineserver
>Reporter: Li Lu
>Assignee: Li Lu
>
> As discussed in YARN-3359, we need to further identify timeline collectors 
> and their creation order for better service discovery and resource isolation. 
> This JIRA proposes to use  to accurately identify 
> each timeline collector. 



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

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