tez-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Hitesh Shah (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (TEZ-3085) In session mode, the credentials passed via the Tez client constructor is not available to all the tasks
Date Mon, 01 Feb 2016 21:44:39 GMT

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

Hitesh Shah commented on TEZ-3085:
----------------------------------

>From DAGAppMaster.java: 

{code}
    if (getConfig().getBoolean(TezConfiguration.TEZ_AM_CREDENTIALS_MERGE,
        TezConfiguration.TEZ_AM_CREDENTIALS_MERGE_DEFAULT)) {
      LOG.info("Merging AM credentials into DAG credentials");
      dagCredentials.mergeAll(amCredentials);
    }
{code}

This is true by default and in turn, these credentials are used when launching the task containers.
Can you provide logs/a concrete case of where this is not working. 


> In session mode, the credentials passed via the Tez client constructor is not available
to all the tasks
> --------------------------------------------------------------------------------------------------------
>
>                 Key: TEZ-3085
>                 URL: https://issues.apache.org/jira/browse/TEZ-3085
>             Project: Apache Tez
>          Issue Type: Bug
>            Reporter: Vinoth Sathappan
>
> The credentials passed through the Tez client constructor isn't available for the tasks
in session mode.
> TezClient(String name, TezConfiguration tezConf,
>             @Nullable Map<String, LocalResource> localResources,
>             @Nullable Credentials credentials)



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message