You are viewing a plain text version of this content. The canonical link for it is here.
Posted to yarn-issues@hadoop.apache.org by "Haibo Chen (JIRA)" <ji...@apache.org> on 2018/06/05 00:04:00 UTC

[jira] [Created] (YARN-8393) timeline flow runs API createdtimestart/createdtimeend parameter does not work

Haibo Chen created YARN-8393:
--------------------------------

             Summary: timeline flow runs API createdtimestart/createdtimeend parameter does not work
                 Key: YARN-8393
                 URL: https://issues.apache.org/jira/browse/YARN-8393
             Project: Hadoop YARN
          Issue Type: Sub-task
          Components: timelinereader
    Affects Versions: 3.2.0
            Reporter: Haibo Chen


[http://vijayk-ats-4.gce.cloudera.com:8188/ws/v2/timeline/users/systest/flows/flow1/runs]
 output:
{code:java}
[{"metrics":[],"events":[],"createdtime":1516405275543,"idprefix":0,"id":"systest@flow1/12342","info":{"UID":"aftc!systest!flow1!12342","SYSTEM_INFO_FLOW_RUN_END_TIME":1516405626666,"SYSTEM_INFO_FLOW_NAME":"flow1","SYSTEM_INFO_FLOW_RUN_ID":12342,"SYSTEM_INFO_USER":"systest","FROM_ID":"aftc!systest!flow1!12342"},"isrelatedto":{},"relatesto":{},"type":"YARN_FLOW_RUN"},{"metrics":[],"events":[],"createdtime":1516223999363,"idprefix":0,"id":"systest@flow1/12341","info":{"UID":"aftc!systest!flow1!12341","SYSTEM_INFO_FLOW_RUN_END_TIME":1516405586650,"SYSTEM_INFO_FLOW_NAME":"flow1","SYSTEM_INFO_FLOW_RUN_ID":12341,"SYSTEM_INFO_USER":"systest","FROM_ID":"aftc!systest!flow1!12341"},"isrelatedto":{},"relatesto":{},"type":"YARN_FLOW_RUN"}]
{code}
createdtimestart parameter call(used the run that had higher timestamp so that the other run gets filtered out):
 [http://vijayk-ats-4.gce.cloudera.com:8188/ws/v2/timeline/users/systest/flows/flow1/runs?createdtimestart=1516405275543]

But the output didn't get filtered out.

When trying with a even higher timestamp, the expectation was that both the runs get filtered out. But only one got filtered out at this value.
 [http://vijayk-ats-4.gce.cloudera.com:8188/ws/v2/timeline/users/systest/flows/flow1/runs?createdtimestart=1516405585543]



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

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