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

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

I dont think we should mix up AM resources with DAG resources. 
As for common resources for all DAGs to a given session. At best that is a 
helper API on TezClient such that Tez client will call DAG.addTaskLocalFiles() 
for every file set in TezClient.setCommonTaskLocalFiles(). The user can always 
call the methods on the DAGs themselves and get the same results. IMO, it may 
lead to confusion in some cases where the DAG submitted has different resources 
than the DAG that actually runs because TezClient added some resources in the 
background. For clarity, it may actually be better if users specify all 
resources on the DAG before submitting it. In 0.5.1 or 0.6 we can add an API on 
DAG itself that can be used to set common resources for the DAG that should go 
to all vertices. Its something that we should have probably done in 0.5 itself.

> 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