[
https://issues.apache.org/jira/browse/PIG-4912?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Artem Ervits updated PIG-4912:
------------------------------
Attachment: PIG-4912-1.patch
[~daijy] added just the changes, trying to think how to add a test for this, is
testNoDuplicateJarsInDistributedCache a good example of testing symlink as
described by [~rohini] ?
> Tez code does not differentiate between cache archives and files
> ----------------------------------------------------------------
>
> Key: PIG-4912
> URL: https://issues.apache.org/jira/browse/PIG-4912
> Project: Pig
> Issue Type: Improvement
> Reporter: Rohini Palaniswamy
> Assignee: Artem Ervits
> Fix For: 0.17.0
>
> Attachments: PIG-4912-0.patch, PIG-4912-1.patch
>
>
> Mapreduce code handles archives but Tez code does not.
> {code}
> if (DISTRIBUTED_CACHE_ARCHIVE_MATCHER.reset(uri.toString()).find()) {
> DistributedCache.addCacheArchive(uri, conf);
> } else {
> DistributedCache.addCacheFile(uri, conf);
> }
> {code}
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)