Olga Natkovich commented on PIG-602:

Alan, looks good.

The only thing I would propose to change is to handle information on the client 
side as Java properties. This means

(1) That individual properties can be passed via -D switch from the command 
(2) .properties files passed by users will get picked up. (Not sure exactly 
what Java's mechanism for this is.)

> 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
>            Assignee: Alan Gates
> 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.

Reply via email to