You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@falcon.apache.org by aj...@apache.org on 2015/08/08 16:40:26 UTC

[10/15] falcon git commit: FALCON-1363 Fix retry policy example in documentation. Contributed by Peeyush Bishnoi.

FALCON-1363 Fix retry policy example in documentation. Contributed by Peeyush Bishnoi.


Project: http://git-wip-us.apache.org/repos/asf/falcon/repo
Commit: http://git-wip-us.apache.org/repos/asf/falcon/commit/b859a462
Tree: http://git-wip-us.apache.org/repos/asf/falcon/tree/b859a462
Diff: http://git-wip-us.apache.org/repos/asf/falcon/diff/b859a462

Branch: refs/heads/0.7
Commit: b859a462b4dcf852c04d7bb2fb486fc62506e987
Parents: ac5051e
Author: Ajay Yadava <aj...@gmail.com>
Authored: Wed Aug 5 00:48:37 2015 +0530
Committer: Ajay Yadav <aj...@inmobi.com>
Committed: Sat Aug 8 20:06:41 2015 +0530

----------------------------------------------------------------------
 CHANGES.txt                                   | 2 ++
 client/src/main/resources/process-0.1.xsd     | 7 +++----
 docs/src/site/twiki/EntitySpecification.twiki | 4 ++--
 docs/src/site/twiki/OnBoarding.twiki          | 2 +-
 4 files changed, 8 insertions(+), 7 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/falcon/blob/b859a462/CHANGES.txt
----------------------------------------------------------------------
diff --git a/CHANGES.txt b/CHANGES.txt
index 6148bc6..c6d6fc1 100755
--- a/CHANGES.txt
+++ b/CHANGES.txt
@@ -73,6 +73,8 @@ Trunk (Unreleased)
     (Suhas Vasu)
 
   BUG FIXES
+    FALCON-1363 Fix retry policy example in documentation(Peeyush Bishnoi via Ajay Yadava)
+
     FALCON-1327 When using triage on a server for a process which does not exist on that server,
     a NullPointerException is encountered(Ajay Yadava)
 

http://git-wip-us.apache.org/repos/asf/falcon/blob/b859a462/client/src/main/resources/process-0.1.xsd
----------------------------------------------------------------------
diff --git a/client/src/main/resources/process-0.1.xsd b/client/src/main/resources/process-0.1.xsd
index 7f62aac..c81d6f7 100644
--- a/client/src/main/resources/process-0.1.xsd
+++ b/client/src/main/resources/process-0.1.xsd
@@ -154,10 +154,9 @@
             </xs:element>
             <xs:element type="retry" name="retry" minOccurs="0">
                 <xs:annotation>
-                    <xs:documentation>Retry defines how to handle workflow failures. Policy type - backoff, exponention
-                        backoff along with the delay define how frequenctly
-                        the
-                        workflow should be re-tried. Number of attempts define how many times to re-try the failures.
+                    <xs:documentation>Retry defines how to handle workflow failures. Policy type - periodic, exponential
+                        backoff, final along with the delay define how frequently the workflow should be re-tried. Number of
+                        attempts define how many times to re-try the failures.
                     </xs:documentation>
                 </xs:annotation>
             </xs:element>

http://git-wip-us.apache.org/repos/asf/falcon/blob/b859a462/docs/src/site/twiki/EntitySpecification.twiki
----------------------------------------------------------------------
diff --git a/docs/src/site/twiki/EntitySpecification.twiki b/docs/src/site/twiki/EntitySpecification.twiki
index 98d6153..bf45598 100644
--- a/docs/src/site/twiki/EntitySpecification.twiki
+++ b/docs/src/site/twiki/EntitySpecification.twiki
@@ -757,7 +757,7 @@ Feeds with Hive table storage will send one more parameter apart from the genera
 <verbatim>$input_filter</verbatim>
 
 ---+++ Retry
-Retry policy defines how the workflow failures should be handled. Two retry policies are defined: backoff and exp-backoff(exponential backoff). Depending on the delay and number of attempts, the workflow is re-tried after specific intervals.
+Retry policy defines how the workflow failures should be handled. Three retry policies are defined: periodic, exp-backoff(exponential backoff) and final. Depending on the delay and number of attempts, the workflow is re-tried after specific intervals.
 Syntax:
 <verbatim>
 <process name="[process name]">
@@ -771,7 +771,7 @@ Examples:
 <verbatim>
 <process name="sample-process">
 ...
-    <retry policy="backoff" delay="minutes(10)" attempts="3"/>
+    <retry policy="periodic" delay="minutes(10)" attempts="3"/>
 ...
 </process>
 </verbatim>

http://git-wip-us.apache.org/repos/asf/falcon/blob/b859a462/docs/src/site/twiki/OnBoarding.twiki
----------------------------------------------------------------------
diff --git a/docs/src/site/twiki/OnBoarding.twiki b/docs/src/site/twiki/OnBoarding.twiki
index 4f49c5a..8b02150 100644
--- a/docs/src/site/twiki/OnBoarding.twiki
+++ b/docs/src/site/twiki/OnBoarding.twiki
@@ -148,7 +148,7 @@ Sample process which runs daily at 6th hour on corp cluster. It takes one input
 
     <workflow engine="oozie" path="/projects/bootcamp/workflow" />
 
-    <retry policy="backoff" delay="minutes(5)" attempts="3" />
+    <retry policy="periodic" delay="minutes(5)" attempts="3" />
     
     <late-process policy="exp-backoff" delay="hours(1)">
         <late-input input="input" workflow-path="/projects/bootcamp/workflow/lateinput" />