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

Li Lu commented on YARN-4545:
-----------------------------

Thanks [~ste...@apache.org]! 

bq. the new hadoop-yarn-server-timeline-pluginstorage JAR needs to be a 
dependency of yarn-client if it is required client-side. 
The dshell depends on this module because the newly introduced timeline v1.5 
plugin is under the same module. This plugin needs to access 
timeline-pluginstorage for the plugin API. I'm not sure if yarn-client is a 
good place to fit this dependency since right now there's nothing on the client 
side actually depends on the plugin storage? 

bq. we know a new ATS version is coming in 2.x. Are there already plans for the 
API to change?
Right now ATS v2 is proposing a completely new set of APIs. Code paths for 
using ATS v1 (including v1.5) and v2 may be separated for a while. 

bq. I'd place the method into TimelineClient itself.
So for each of the ATS user, the version configured for the client will be the 
version that eventually takes effect, right? My feeling is this is fine, but I 
would like to double check if this is still fine if the conf on client differs 
from that on the server. Also, I would like to check with the ATS v2 folks on 
this proposal. cc/[~sjlee0][~Naganarasimha][~varun_saxena]

On a big picture of TestDistributedShell, I agree that we need some code 
structure changes. Will address them in the next patch. 

> Allow YARN distributed shell to use ATS v1.5 APIs
> -------------------------------------------------
>
>                 Key: YARN-4545
>                 URL: https://issues.apache.org/jira/browse/YARN-4545
>             Project: Hadoop YARN
>          Issue Type: Sub-task
>          Components: timelineserver
>            Reporter: Li Lu
>            Assignee: Li Lu
>         Attachments: YARN-4545-YARN-4265.001.patch, 
> YARN-4545-trunk.001.patch, YARN-4545-trunk.002.patch, 
> YARN-4545-trunk.003.patch, YARN-4545-trunk.004.patch, 
> YARN-4545-trunk.005.patch
>
>
> We can use YARN distributed shell as a demo for the ATS v1.5 APIs. We need to 
> allow distributed shell post data with ATS v1.5 API if 1.5 is enabled in the 
> system. We also need to provide a sample plugin to read those data out. 



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

Reply via email to