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

Naganarasimha G R commented on YARN-3041:
-----------------------------------------

# After having HierarchicalTimelineEntity do we require isRelatedToEntities & 
relatesToEntities in TimelineEntity or vice versa?
{quote}
  private Set<TimelineEntity> isRelatedToEntities = new HashSet<>();
  private Set<TimelineEntity> relatesToEntities = new HashSet<>();
{quote}
# If any Entity data cannot be updated on subsequent posts of time line 
Entities better to capture it before hand. for example 
if we are inserting configs of timeline entity only during creation of new 
TimelineEntity...    
# Regarding metrics ; TimelineEntity has set of TimelineMetric and 
TimelineMetric has 
{quote}
 private String id;
 private Map<String, Object> info = new HashMap<>();
 private Object singleData;
 private Map<Long, Object> timeSeries = new LinkedHashMap<>();
{quote}
#* whats the purpose of info ? can we name it as metadata ?
#* Are all objects stored in backend by serialization and deserialization or as 
json strings ? 
#* If metric value is object then how aggregations (primary) are done ? is info 
responsible for capturing this information?
#* IIUC if time series metric then {{singleData}} will be null and 
{{timeSeries}} will have values and if its non time series then vice versa.

> [Data Model] create the ATS entity/event API
> --------------------------------------------
>
>                 Key: YARN-3041
>                 URL: https://issues.apache.org/jira/browse/YARN-3041
>             Project: Hadoop YARN
>          Issue Type: Sub-task
>          Components: timelineserver
>            Reporter: Sangjin Lee
>            Assignee: Zhijie Shen
>         Attachments: Data_model_proposal_v2.pdf, YARN-3041.2.patch, 
> YARN-3041.preliminary.001.patch
>
>
> Per design in YARN-2928, create the ATS entity and events API.
> Also, as part of this JIRA, create YARN system entities (e.g. cluster, user, 
> flow, flow run, YARN app, ...).



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

Reply via email to