hadoop-yarn-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Naganarasimha G R (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (YARN-3041) [Data Model] create the ATS entity/event API
Date Mon, 16 Feb 2015 19:23:13 GMT

    [ 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?
  private Set<TimelineEntity> isRelatedToEntities = new HashSet<>();
  private Set<TimelineEntity> relatesToEntities = new HashSet<>();
# 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 
 private String id;
 private Map<String, Object> info = new HashMap<>();
 private Object singleData;
 private Map<Long, Object> timeSeries = new LinkedHashMap<>();
#* 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

View raw message