You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@pig.apache.org by "Anthony Hsu (JIRA)" <ji...@apache.org> on 2015/10/24 07:39:27 UTC

[jira] [Commented] (PIG-4417) Pig's register command should support automatic fetching of jars from repo.

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

Anthony Hsu commented on PIG-4417:
----------------------------------

[~daijy], Hive also supports this syntax. See:
* HIVE-9664
* https://cwiki.apache.org/confluence/display/Hive/LanguageManual+Cli#LanguageManualCli-HiveResources

It would be great if Pig also supported this.

> 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
>            Assignee: Akshay Rai
>         Attachments: PIG-4417.1.patch, PIG-4417.2.patch
>
>
> 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.
> RB: https://reviews.apache.org/r/31662/



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