[
https://issues.apache.org/jira/browse/TEZ-2711?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14692287#comment-14692287
]
Jason Lowe commented on TEZ-2711:
---------------------------------
This same scenario works for MapReduce jobs because the user name portion of
the staging directory is added directly by the framework with the UGI username
rather than via variable expansion in the conf which doesn't know about the UGI
user.
> Tez fails to submit a job where user.name is not UGI user
> ---------------------------------------------------------
>
> Key: TEZ-2711
> URL: https://issues.apache.org/jira/browse/TEZ-2711
> Project: Apache Tez
> Issue Type: Sub-task
> Affects Versions: 0.5.2
> Reporter: Jason Lowe
>
> Submitting a Tez job where the OS user does not match the security user
> (e.g.: kinit as a headless user from a personal account) can fail with an
> unexpected ownership exception. Configuration expands user.name in the
> staging conf value as the OS user, not the UGI user, and if that staging
> directory exists and not owned by the UGI user (which is likely if the OS
> user also has been setup on the cluster) then app submission fails.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)