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

Dmitriy V. Ryaboy commented on PIG-2525:
----------------------------------------

Why -j? I was thinking we could use properties for that:

pig -Dpig.progress.listener=com.foo.PigListenerImpl 
-Dpig.progress.listener.args="foo,bar" -f my_script.pig
                
> Support pluggable PigProcessNotifcationListeners on the command line
> --------------------------------------------------------------------
>
>                 Key: PIG-2525
>                 URL: https://issues.apache.org/jira/browse/PIG-2525
>             Project: Pig
>          Issue Type: New Feature
>            Reporter: Bill Graham
>            Assignee: Bill Graham
>
> It would be convenient to be able to implement 
> {{PigProcessNotifcationListener}} and to wire it into a pig script. This jira 
> is to support setting a listener and its constructor args on the command, 
> perhaps like this:
> {{noformat}}
> pig -j MyListener -J "foo,bar,bat" -f my_script.pig
> {{noformat}}
> where {{MyListener}} takes a single string in the constructor which will get 
> passed {{foo,bar,bat}}.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Reply via email to