You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@pig.apache.org by "Raghu Angadi (JIRA)" <ji...@apache.org> on 2011/06/29 05:21:34 UTC
[jira] [Commented] (PIG-2142) Allow registering multiple jars from
DFS via single statement
[ https://issues.apache.org/jira/browse/PIG-2142?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13056970#comment-13056970 ]
Raghu Angadi commented on PIG-2142:
-----------------------------------
The attached patch allows globs while registering remote jars.
This is implemented in FileLocalizer.java rather than in PigServer.java. That way it reverts most of the changes PIG-1566. I think this is a bit better:
* closer to current production 0.8
* glob could be anything that FileSystem understands
* locateJarFromResource only looks at resources
* another subtle improvement is that now a script can register from multiple remote filesystems.. not just the default
> Allow registering multiple jars from DFS via single statement
> -------------------------------------------------------------
>
> Key: PIG-2142
> URL: https://issues.apache.org/jira/browse/PIG-2142
> Project: Pig
> Issue Type: Improvement
> Reporter: Dmitriy V. Ryaboy
> Assignee: Raghu Angadi
> Fix For: 0.10
>
> Attachments: PIG-2142.patch
>
>
> Pig currently allows users to register jars from local and remote filesystems, but only one jar can be specified at a time. It would be great to be able to say something along the lines of "register hdfs://user/me/lib/*lucene*.jar" and get all the jars registered in one go.
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira