hadoop-pig-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Olga Natkovich (JIRA)" <j...@apache.org>
Subject [jira] Commented: (PIG-602) Pass global configurations to UDF
Date Fri, 23 Jul 2010 21:20:52 GMT

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

Olga Natkovich commented on PIG-602:

This work is already done. The user can propagate the properties via "-propertyfile <filename>
from the command line and the retrieve the properties via call to UDFContext.getJobConf. Just
need to document this for Pig 0.8.0 release

> Pass global configurations to UDF
> ---------------------------------
>                 Key: PIG-602
>                 URL: https://issues.apache.org/jira/browse/PIG-602
>             Project: Pig
>          Issue Type: New Feature
>          Components: impl
>            Reporter: Yiping Han
>             Fix For: 0.8.0
> We are seeking an easy way to pass a large number of global configurations to UDFs.
> Since our application contains many pig jobs, and has a large number of configurations.
Passing configurations through command line is not an ideal way (i.e. modifying single parameter
needs to change multiple command lines). And to put everything into the hadoop conf is not
an ideal way either.
> We would like to see if Pig can provide such a facility that allows us to pass a configuration
file in some format(XML?) and then make it available through out all the UDFs.

This message is automatically generated by JIRA.
You can reply to this email to add a comment to the issue online.

View raw message