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

Gopal V commented on TEZ-1469:
------------------------------

Fixed that issue in the DAGAppMaster, but still only getting tez LRs and the pb 
binary as session resources.

Tracked that down to

{code}
      Map<String, LocalResource> sessionJars =
        new HashMap<String, LocalResource>(tezJarResources.size() + 1);
      sessionJars.putAll(tezJarResources);
      sessionJars.put(TezConstants.TEZ_PB_BINARY_CONF_NAME,
        binaryConfLRsrc);
      DAGProtos.PlanLocalResourcesProto proto =
        DagTypeConverters.convertFromLocalResources(sessionJars);
      sessionJarsPBOutStream = TezCommonUtils.createFileForAM(fs, 
sessionJarsPath);
      proto.writeDelimitedTo(sessionJarsPBOutStream);
{code}

Tez does not use any user-provided jar in session resources, which is how 
hive-exec.jar is shipped IIRC.

> 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