hadoop-yarn-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Zhijie Shen (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (YARN-3062) timelineserver gives inconsistent data for otherinfo field based on the filter param
Date Wed, 14 Jan 2015 20:20:34 GMT

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

Zhijie Shen commented on YARN-3062:

bq. if I have 2 primaryFilters while creating the entity, any update to entity has to use
the TimelineEntity.addPrimaryFilter for both primaryFilters?


bq. can a new primaryfilter be added in an update

You can, but when you filter with 3rd primaryfilter, you will miss the information that is
posted before. It's a limitation of primaryfilter. The recommended way to use primaryfilter
is to come up with all filters you may want to use.

bq. can the primaryFilter value be changed in an update?

It doesn't update, but append. Say you have primaryFilter key1:value1. Then you update key1:value2.
Finally you will get key1:[value1, value2].

> timelineserver gives inconsistent data for otherinfo field based on the filter param
> ------------------------------------------------------------------------------------
>                 Key: YARN-3062
>                 URL: https://issues.apache.org/jira/browse/YARN-3062
>             Project: Hadoop YARN
>          Issue Type: Bug
>          Components: timelineserver
>    Affects Versions: 2.4.0, 2.5.0, 2.6.0
>            Reporter: Prakash Ramachandran
>         Attachments: withfilter.json, withoutfilter.json
> When otherinfo field gets updated, in some cases the data returned for an entity is dependent
on the filter usage. 
> for ex in the attached files for the 
> - entity: "vertex_1421164610335_0020_1_01",
> - entitytype: "TEZ_VERTEX_ID",
> for the otherinfo.numTasks,  got updated from 1009 to 253
> - using {code}http://machine:8188/ws/v1/timeline/TEZ_VERTEX_ID/vertex_1421164610335_0020_1_01/
{code} gives the updated value: 253
> - using {code}http://cn042-10:8188/ws/v1/timeline/TEZ_VERTEX_ID?limit=11&primaryFilter=TEZ_DAG_ID%3Adag_1421164610335_0020_1{code}
gives the old value: 1009
> for the otherinfo.status field, which gets updated,   both of them show the updated value.

> TEZ-1942 has more details.

This message was sent by Atlassian JIRA

View raw message