[ 
https://issues.apache.org/jira/browse/PIG-2253?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Mark Butler updated PIG-2253:
-----------------------------

    Attachment: pig.patch

The solution works but is rather inelegant, I have just reordered the code to 
the avoid the problem. The real problem is the secretDebugCmd and config option 
are parsed in different ways. 

> --config option does not work
> -----------------------------
>
>                 Key: PIG-2253
>                 URL: https://issues.apache.org/jira/browse/PIG-2253
>             Project: Pig
>          Issue Type: Bug
>          Components: impl
>    Affects Versions: 0.8.1, 0.9.0
>            Reporter: Mark Butler
>            Priority: Minor
>         Attachments: pig.patch
>
>
> The pig shell script has a --config option like hadoop. However it does not, 
> because the "secretDebugCmd" option makes a copy of the arguments and places 
> it in a variable called "remaining". This means "--config 
> /my/config/directory" is passed to the Java class org.apache.pig.Main. The 
> class does not recognize the "--config" option so instead of grunt starting 
> it prints the usage message and exits.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Reply via email to