[
https://issues.apache.org/jira/browse/TEZ-395?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13877317#comment-13877317
]
Siddharth Seth commented on TEZ-395:
------------------------------------
bq. Just trying to reduce the possibility of error by not keeping them
separate. And trying to keep functionally related things together. When users
is setting the credentials, they will be prompted to think about the user for
whom they are adding credentials.
So are you suggesting "setCredentials(String user, Credentials credentials)"
I'd prefer doing a setCredentials(Credentials credentials) for now (which may
do an internal UGI) - at least until the use case of potentially running as
different users (and whether this actually works) is understood better. Maybe
even throwing an error if the user changes from the one who created the initial
TezSession.
> Allow credentials to be specified on a per DAG basis
> ----------------------------------------------------
>
> Key: TEZ-395
> URL: https://issues.apache.org/jira/browse/TEZ-395
> Project: Apache Tez
> Issue Type: Sub-task
> Reporter: Hitesh Shah
> Assignee: Michael Weng
> Attachments: TEZ-395-patch.txt
>
>
--
This message was sent by Atlassian JIRA
(v6.1.5#6160)