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

Mark Butler commented on PIG-2253:
----------------------------------

Sorry, I did not understand Jira markup. What I meant to say was:

The pig shell script has a config option like Hadoop. However it does not work, 
because the code processing the "secretDebugCmd" option makes a copy of the 
command line arguments and places it in a variable called "remaining". This is 
passed to the Java class, so if the command line contains a config option this 
is passed to the Java class. The class does not recognize the "config" option 
so instead of grunt starting it prints the usage message and exits.

> --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
>
> 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