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

Robert Kanter commented on YARN-2423:
-------------------------------------

[~vinodkv], as [~zjshen] pointed out earlier, these Java APIs are very tied to 
the REST APIs.  So, if there ends up being a compatibility problem with the 
Java API, I'd imagine the REST API would have the same problem.  And given that 
the new ATS will still take some time, it would be very useful to make a Java 
API available in the meantime, even if we have to eventually deprecate it.  
Even though we're making a new ATS, many users are still using the older one.  
As [~vanzin] pointed out, this JIRA is a blocker for SPARK-1537; it would make 
them better able to use the current ATS.  

> 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)

Reply via email to