You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@pig.apache.org by "Stefan Groschupf (JIRA)" <ji...@apache.org> on 2008/02/22 03:08:19 UTC

[jira] Commented: (PIG-115) start script for pig

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

Stefan Groschupf commented on PIG-115:
--------------------------------------

Here are my thoughts:

The start script should be as less intelligent as possible, Pigs Main class already handles parameters, so we basically only need to expose that. 
The old perl script reads in a kind of configuration file and than construct the parameter that are used to call the Main.
I suggest instead - as hadoop - that pig has a conf folder and a default configuration file. Those values are used as default values for all the properties. 
However a user can overwrite this values by using command line arguments.

I'm happy to provide a patch based on the result of our discuss here.

> start script for pig
> --------------------
>
>                 Key: PIG-115
>                 URL: https://issues.apache.org/jira/browse/PIG-115
>             Project: Pig
>          Issue Type: Improvement
>            Reporter: Stefan Groschupf
>
> The current pig.pl is very y! specific, a generic start script is required that works for all users.
> Goal of this issue is to collect a list requirements a new script has to fulfill.

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