[
https://issues.apache.org/jira/browse/PIG-2672?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13776452#comment-13776452
]
Koji Noguchi commented on PIG-2672:
-----------------------------------
On the secure hadoop environment, this patch would basically create a hole and
allow any users having write access to PIG_SHARED_CLUSTER_CACHE_LOCATION to
become other users (who are sharing this cache location).
For now, can we instead limit the patch to /user/<username>/.pig or .staging
add have extra check on permission 700 ?
I understand that you can make PIG_SHARED_CLUSTER_CACHE_LOCATION only writable
by admin but I'm afraid this patch would make it too easy to misconfigure.
> Optimize the use of DistributedCache
> ------------------------------------
>
> Key: PIG-2672
> URL: https://issues.apache.org/jira/browse/PIG-2672
> Project: Pig
> Issue Type: Improvement
> Reporter: Rohini Palaniswamy
> Assignee: Aniket Mokashi
> Fix For: 0.12
>
> Attachments: PIG-2672.patch
>
>
> Pig currently copies jar files to a temporary location in hdfs and then adds
> them to DistributedCache for each job launched. This is inefficient in terms
> of
> * Space - The jars are distributed to task trackers for every job taking
> up lot of local temporary space in tasktrackers.
> * Performance - The jar distribution impacts the job launch time.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira