You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@tez.apache.org by "Bikas Saha (JIRA)" <ji...@apache.org> on 2013/09/13 02:18:53 UTC

[jira] [Commented] (TEZ-432) Make JobToken available to inputs / outputs

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

Bikas Saha commented on TEZ-432:
--------------------------------

Should this be derived from the env var set by the NodeManager? Nodemanager sets the serviceMetadata for the service into the env of the container. There is no need for the AM to send the serviceMetadata to the container.
{code}
     ByteBuffer shuffleMetadata = outputContext
         .getServiceProviderMetaData(ShuffleUtils.SHUFFLE_HANDLER_SERVICE_ID);
-    int shufflePort = ShuffleUtils.deserializeShuffleMetaData(shuffleMetadata);
+    int shufflePort = ShuffleUtils.deserializeShuffleProviderMetaData(shuffleMetadata);
{code}

In either case, the AM does not need to handle shuffle port anymore. TEZ-440.
                
> Make JobToken available to inputs / outputs
> -------------------------------------------
>
>                 Key: TEZ-432
>                 URL: https://issues.apache.org/jira/browse/TEZ-432
>             Project: Apache Tez
>          Issue Type: Sub-task
>            Reporter: Siddharth Seth
>            Assignee: Siddharth Seth
>             Fix For: TEZ-398
>
>         Attachments: TEZ-432.txt
>
>


--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira