[
https://issues.apache.org/jira/browse/PIG-5042?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15601133#comment-15601133
]
Alexandre Linte commented on PIG-5042:
--------------------------------------
Hi [~daijy], I didn't try with a /tmp subdirectory. However, using something
like the following will work: /user/${user.name}/.tezStaging/
This ticket was to point out the new behavior compared to Pig 0.15.0. Maybe
it's a regression, a bug or a new functioning. If it's a new functioning, the
Pig documentation might be updated in order to inform admins about the Tez
prerequisites.
> Pig with Tez requires a staging directory with submitter ownership
> ------------------------------------------------------------------
>
> Key: PIG-5042
> URL: https://issues.apache.org/jira/browse/PIG-5042
> Project: Pig
> Issue Type: Bug
> Components: tez
> Affects Versions: 0.16.0
> Environment: Hadoop 2.7.2, Pig 0.16.0, Tez 0.8.4
> Reporter: Alexandre Linte
>
> With Pig 0.15.0, I have been able to work using the Tez execution engine
> without issues. After upgrading Pig to 0.16.0, I haven't been able to submit
> my jobs.
> Since the beginning, the tez-site.xml is configured as below:
> {noformat}
> <property>
> <description>String value to a file path. The location of the Tez libraries
> which will be localized for DAGs. This follows the following
> semantics</description>
> <name>tez.lib.uris</name>
> <value>hdfs:///Products/TEZ/tez-0.8.4.tar.gz</value>
> </property>
> <property>
> <description>String value. Specifies a directory where Tez can create
> temporary job artifacts.</description>
> <name>tez.staging-dir</name>
> <value>/Products/TEZ/staging/</value>
> </property>
> {noformat}
> The staging directory was set up with 777 rights, including a sticky bit:
> {noformat}
> [root@spark01 ~]# hadoop fs -ls /Products/TEZ/
> Found 3 items
> drwxrwxrwt+ - hdfs hadoop 0 2014-11-27 10:31 /Products/TEZ/staging
> -rw-r--r-- 3 hdfs hadoop 46518370 2016-09-02 11:06
> /Products/TEZ/tez-0.8.4.tar.gz
> {noformat}
> Pig 0.16.0 seems to need a staging directory with submitter directory, even
> if the staging directory has full access to "other" like my previous
> configuration.
> This issue looks like a regression to me, compared to Pig 0.15.0. Can you
> check that point?
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)