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

Bikas Saha commented on TEZ-1469:
---------------------------------

There is no concept of session resource per the current API. There is AM 
resource. That is used to launch the AM. That should not be used as session 
resources. The fact that its working in session mode and not in non-session 
mode would be a bug. It should not work in either mode.

The bottom line is to choose whether to add an API on TezClient that sets a 
common set of resources. These resources would be automatically added to every 
DAG that is submitted via this client. This is at best a helper because the 
same could be achieved via an API on the DAG that lets the user set common 
resources for all vertices in that DAG. I am in favor of the DAG API and not 
the TezClient API.

> AM/Session LRs are not shipped to vertices in new API use-case
> --------------------------------------------------------------
>
>                 Key: TEZ-1469
>                 URL: https://issues.apache.org/jira/browse/TEZ-1469
>             Project: Apache Tez
>          Issue Type: Bug
>    Affects Versions: 0.5.0
>            Reporter: Gopal V
>            Priority: Blocker
>         Attachments: TEZ-1469.1.patch, tez-broadcast-example.tgz
>
>
> Previously in the tez codebase, the session LRs were part of each vertex's 
> LRs, automatically.
> During 0.5.0 API changes, the following no longer provides local LRs to the 
> vertices, even if it is part of the session LR.



--
This message was sent by Atlassian JIRA
(v6.2#6252)

Reply via email to