hadoop-yarn-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Robert Kanter (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (YARN-2423) TimelineClient should wrap all GET APIs to facilitate Java users
Date Fri, 17 Oct 2014 00:57:34 GMT

     [ https://issues.apache.org/jira/browse/YARN-2423?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Robert Kanter updated YARN-2423:
--------------------------------
    Attachment: YARN-2423.patch

The new patch fixes the javadoc warnings and TestMemoryTimelineStore.  

However, the fixes for TestMemoryTimelineStore broke the TestLeveldbTimelineStore tests because
the bug that I fixed in the MemoryTimelineStore seems to also exist in the LeveldbTimelineStore,
but I'm not sure how to fix it there.  The bug is that if you query the store for an entity,
the relatedEntities are always empty.  This was easy enough to fix in the MemoryTimelineStore,
but in the LeveldbTimelineStore, I was only able to partially fix it after some guessing (relatedEntities
are returned, but not if you're using a primaryFilter).

> TimelineClient should wrap all GET APIs to facilitate Java users
> ----------------------------------------------------------------
>
>                 Key: YARN-2423
>                 URL: https://issues.apache.org/jira/browse/YARN-2423
>             Project: Hadoop YARN
>          Issue Type: Sub-task
>            Reporter: Zhijie Shen
>            Assignee: Robert Kanter
>         Attachments: YARN-2423.patch, YARN-2423.patch
>
>
> TimelineClient provides the Java method to put timeline entities. It's also good to wrap
over all GET APIs (both entity and domain), and deserialize the json response into Java POJO
objects.



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

Mime
View raw message