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 Mon, 09 Feb 2015 19:48:35 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.007.patch

The 007 patch removes the public uses of {{NameValuePair}} (and no longer moves this class),
and generalizes {{Set}} into {{Collection}}.  It also fixes the broken Kerberos-related test
in {{TestTimelineClient}}

I looked at {{doGettingJson}} and {{doPosting}}, and while they're similar, I don't think
there's a clean way to reuse code here.

> 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.004.patch, YARN-2423.005.patch, YARN-2423.006.patch, YARN-2423.007.patch,
YARN-2423.patch, 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