You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@pig.apache.org by "Rohini Palaniswamy (JIRA)" <ji...@apache.org> on 2016/05/27 22:24:13 UTC

[jira] [Updated] (PIG-4912) Tez code does not differentiate between cache archives and files

     [ https://issues.apache.org/jira/browse/PIG-4912?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Rohini Palaniswamy updated PIG-4912:
------------------------------------
    Description: 
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}

  was: Currently we only have APIs for getCacheFiles. Archives are a different type of yarn LocalResource which are automatically untarred/unzipped during localization.

        Summary: Tez code does not differentiate between cache archives and files  (was: EvalFunc needs to support getCacheArchives)

> 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
>             Fix For: 0.17.0
>
>
> 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)