You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@pig.apache.org by bi...@apache.org on 2013/01/29 08:24:13 UTC
svn commit: r1439760 - in /pig/trunk: CHANGES.txt
src/docs/src/documentation/content/xdocs/test.xml
Author: billgraham
Date: Tue Jan 29 07:24:13 2013
New Revision: 1439760
URL: http://svn.apache.org/viewvc?rev=1439760&view=rev
Log:
PIG-3140: Document PigProgressNotificationListener configs (billgraham)
Modified:
pig/trunk/CHANGES.txt
pig/trunk/src/docs/src/documentation/content/xdocs/test.xml
Modified: pig/trunk/CHANGES.txt
URL: http://svn.apache.org/viewvc/pig/trunk/CHANGES.txt?rev=1439760&r1=1439759&r2=1439760&view=diff
==============================================================================
--- pig/trunk/CHANGES.txt (original)
+++ pig/trunk/CHANGES.txt Tue Jan 29 07:24:13 2013
@@ -24,6 +24,8 @@ INCOMPATIBLE CHANGES
IMPROVEMENTS
+PIG-3140: Document PigProgressNotificationListener configs (billgraham)
+
PIG-3139: Document reducer estimation (billgraham)
PIG-2764: Add a biginteger and bigdecimal type to pig (jcoveney)
Modified: pig/trunk/src/docs/src/documentation/content/xdocs/test.xml
URL: http://svn.apache.org/viewvc/pig/trunk/src/docs/src/documentation/content/xdocs/test.xml?rev=1439760&r1=1439759&r2=1439760&view=diff
==============================================================================
--- pig/trunk/src/docs/src/documentation/content/xdocs/test.xml (original)
+++ pig/trunk/src/docs/src/documentation/content/xdocs/test.xml Tue Jan 29 07:24:13 2013
@@ -774,6 +774,24 @@ dump e;
</section>
</section>
+<!-- =========================================================================== -->
+<!-- PIG PROGRESS NOTIFICATION LISTENER -->
+<section id="ppnl">
+<title>Pig Progress Notification Listener</title>
+ <p>
+Pig provides the ability to register a listener to receive event notifications during the
+execution of a script. Events include MapReduce plan creation, script launch, script progress,
+script completion, job submit, job start, job completion and job failure.
+</p>
+<p>To register a listener, set the pig.notification.listener parameter
+to the fully qualified class name of an implementation of
+<a href="http://svn.apache.org/repos/asf/pig/trunk/src/org/apache/pig/tools/pigstats/PigProgressNotificationListener.java">org.apache.pig.tools.pigstats.PigProgressNotificationListener</a>.
+The class must exist on the classpath of the process submitting the Pig job. If the
+pig.notification.listener.arg parameter is set, the value will be passed to a constructor
+of the implementing class that takes a single String.
+ </p>
+
+</section>
<!-- =========================================================================== -->
<!-- PIGUNIT -->