[
https://issues.apache.org/jira/browse/PIG-3560?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Cheolsoo Park updated PIG-3560:
-------------------------------
Attachment: PIG-3560-1.patch
Attaching a fix.
> UniqueTez staging dir should be used for different users
> --------------------------------------------------------
>
> Key: PIG-3560
> URL: https://issues.apache.org/jira/browse/PIG-3560
> Project: Pig
> Issue Type: Sub-task
> Components: tez
> Affects Versions: tez-branch
> Reporter: Cheolsoo Park
> Assignee: Cheolsoo Park
> Fix For: tez-branch
>
> Attachments: PIG-3560-1.patch
>
>
> I discovered this bug while setting up a multi-user cluster. Since the
> staging dir for Pig jobs is always set to TEZ_AM_STAGING_DIR (/tmp/tez), if
> multiple users submit Pig jobs, subsequent jobs fail with the following error:
> {code}
> java.io.IOException: The ownership on the staging directory
> hdfs://10.170.21.33:9000/tmp/tez/staging is not as expected. It is owned by
> hadoop. The directory must be owned by the submitter cheolsoop or by cheolsoop
> {code}
--
This message was sent by Atlassian JIRA
(v6.1#6144)