[ 
https://issues.apache.org/jira/browse/PIG-4417?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14319654#comment-14319654
 ] 

Akshay Rai commented on PIG-4417:
---------------------------------

Hi [~nielsbasjes], 

Thanks for your input. I would like to address your concerns.
# I am using IVY to download the jars and in IVY we can define a custom 
repository in the ivy-settings file which will be used by Ivy to fetch the 
jars. 
# For case 1(my previous comment), we can make use of Ivy to get the 
dependencies and exclude whichever is not necessary. For case 2, we assume 
downloading only the specified jar without its dependencies.
# The jars will be downloaded to a temporary location when we run the pig 
script and will be loaded to the classpath.

> Pig's register command should support automatic fetching of jars from repo.
> ---------------------------------------------------------------------------
>
>                 Key: PIG-4417
>                 URL: https://issues.apache.org/jira/browse/PIG-4417
>             Project: Pig
>          Issue Type: Improvement
>            Reporter: Akshay Rai
>
> Currently Pig's register command takes a local path to a dependency jar . 
> This clutters the local file-system as users may forget to remove this jar 
> later.
> It would be nice if Pig supported a Gradle like notation to download the jar 
> from a repository.
> Ex: At the top of the Pig script a user could add
> register '<group>:<module>:<version>'; 
> It should be backward compatible and should support a local file path if so 
> desired.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to