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

Jim Donofrio reopened PIG-3563:
-------------------------------


That works but it is not a very clean solution. UDF's should be able to add 
archives to the distributed cache as they do currently with files. Your 
solution forces users of a UDF's to have to know to add the archive explicitly 
to use the UDF instead of letting the UDF handle it for them

> support adding archives to the distributed cache
> ------------------------------------------------
>
>                 Key: PIG-3563
>                 URL: https://issues.apache.org/jira/browse/PIG-3563
>             Project: Pig
>          Issue Type: Improvement
>            Reporter: Jim Donofrio
>            Priority: Minor
>              Labels: distributed_cache
>
> Support adding archives to the distributed cache by calling 
> DistributedCacheFile.addCacheArchive instead of addCacheFile in 
> JobControlCompiler.setupDistributedCache for common archive endings: .zip, 
> .tgz, .tar.gz, .tar which are the extensions checked in downloadCacheObject 
> in org.apache.hadoop.filecache.TrackerDistributedCacheManager



--
This message was sent by Atlassian JIRA
(v6.1#6144)

Reply via email to