[
https://issues.apache.org/jira/browse/PIG-1566?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Daniel Dai updated PIG-1566:
----------------------------
Description:
Currently user can not register pig jars with globing.
For example following register script will fail.
{quote}
register /etc/jars/*.jar
{quote}
It will be great if we can support such globing for registering jars.
Release notes:
We allow globbing in register statement. User can use "*" to denote a globbing, eg:
register key*.jar
register /home/jarpath/key*.jar
register jars/key*.jar
The path can be absolute path or relative path start with working directory.
Note globbing does not further search in classpath as non-globbing case does, eg:
"register key1234.jar" works if key1234.jar in classpath, but not in working directory, however,
"register key*.jar" will not locate key1234.jar in this case.
was:
Currently user can not register pig jars with globing.
For example following register script will fail.
{quote}
register /etc/jars/*.jar
{quote}
It will be great if we can support such globing for registering jars.
Support globbing for registering jars in pig script.
----------------------------------------------------
Key: PIG-1566
URL:
https://issues.apache.org/jira/browse/PIG-1566Project: Pig
Issue Type: Improvement
Affects Versions: 0.7.0
Reporter: Ravi Phulari
Assignee: niraj rai
Fix For: 0.9.0
Attachments: PIG_1566_0.patch, PIG_1566_1.patch
Currently user can not register pig jars with globing.
For example following register script will fail.
{quote}
register /etc/jars/*.jar
{quote}
It will be great if we can support such globing for registering jars.
Release notes:
We allow globbing in register statement. User can use "*" to denote a globbing, eg:
register key*.jar
register /home/jarpath/key*.jar
register jars/key*.jar
The path can be absolute path or relative path start with working directory.
Note globbing does not further search in classpath as non-globbing case does, eg:
"register key1234.jar" works if key1234.jar in classpath, but not in working directory, however,
"register key*.jar" will not locate key1234.jar in this case.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.