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

Hitesh Shah commented on TEZ-1469:
----------------------------------

Comments:
   - It might be good to document why TEZ_AM_LOCAL_RESOURCES_PB_FILE_NAME is 
needed. It is only used to inform the AM of its local resources so that the 
re-localizer can optimize accordingly.

{code}
+    dagBuilder.setDagKeyValues(confProtoBuilder); // This does not seem to be 
used anywhere
+    // should this replace BINARY_PB_CONF???
{code}
  - this was meant to pass configs per DAG I believe. Not exposed as an API as 
of now but should be used in the AM to augment the conf for each DAG. 
  - Also, it can replace the pb conf as that is currently defined at the 
session level. Though the key-val map could override some configs in the 
session conf.

Minor nits:
  - diff has trailing whitespaces
  - lots of references still there for sessionResources ( 
sessionResourcesStream and sessionJarsPBLRsrc for example )

Rest looks good. Should run a few jobs to verify that this works. Also, to 
explain this change in usage, one of the examples could be changed to detect 
its jar and upload the jar as a resource for the AM as well as all the vertices 
in the DAG. 



> 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
>            Assignee: Bikas Saha
>            Priority: Blocker
>         Attachments: TEZ-1469.1.patch, TEZ-1469.1.patch, TEZ-1469.2.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