Modified: falcon/trunk/general/src/site/twiki/restapi/InstanceRerun.twiki
URL: 
http://svn.apache.org/viewvc/falcon/trunk/general/src/site/twiki/restapi/InstanceRerun.twiki?rev=1675346&r1=1675345&r2=1675346&view=diff
==============================================================================
--- falcon/trunk/general/src/site/twiki/restapi/InstanceRerun.twiki (original)
+++ falcon/trunk/general/src/site/twiki/restapi/InstanceRerun.twiki Wed Apr 22 
12:33:36 2015
@@ -5,7 +5,7 @@
    * <a href="#Examples">Examples</a>
 
 ---++ Description
-Rerun instances of an entity.
+Rerun instances of an entity. On issuing a rerun, by default the execution 
resumes from the last failed node in the workflow.
 
 ---++ Parameters
    * :entity-type can either be a feed or a process.
@@ -13,6 +13,7 @@ Rerun instances of an entity.
    * start is the start time of the instance that you want to refer to
    * end is the end time of the instance that you want to refer to
    * lifecycle <optional param> can be Eviction/Replication(default) for feed 
and Execution(default) for process.
+   * force <optional param> can be used to forcefully rerun the entire 
instance.
 
 ---++ Results
 Results of the rerun command.
@@ -24,6 +25,28 @@ POST http://localhost:15000/api/instance
 </verbatim>
 ---+++ Result
 <verbatim>
+{
+    "instances": [
+        {
+            "details": "",
+            "startTime": "2013-10-21T15:10:47-07:00",
+            "cluster": "primary-cluster",
+            "logFile": 
"http:\/\/localhost:11000\/oozie?job=0000070-131021115933395-oozie-rgau-W",
+            "status": "RUNNING",
+            "instance": "2012-04-03T07:00Z"
+        }
+    ],
+    "requestId": "default\/7a3582bd-608c-45a7-9b74-1837b51ba6d5\n",
+    "message": "default\/RERUN\n",
+    "status": "SUCCEEDED"
+}
+</verbatim>
+
+<verbatim>
+POST 
http://localhost:15000/api/instance/rerun/process/SampleProcess?colo=*&start=2013-04-03T07:00Z&end=2014-04-03T07:00Z&force=true
+</verbatim>
+---+++ Result
+<verbatim>
 {
     "instances": [
         {

Modified: falcon/trunk/general/src/site/twiki/restapi/ResourceList.twiki
URL: 
http://svn.apache.org/viewvc/falcon/trunk/general/src/site/twiki/restapi/ResourceList.twiki?rev=1675346&r1=1675345&r2=1675346&view=diff
==============================================================================
--- falcon/trunk/general/src/site/twiki/restapi/ResourceList.twiki (original)
+++ falcon/trunk/general/src/site/twiki/restapi/ResourceList.twiki Wed Apr 22 
12:33:36 2015
@@ -52,6 +52,7 @@ See also: [[../Security.twiki][Security
 | GET         | [[EntityList][api/entities/list/:entity-type]]                 
             | Get the list of entities           |
 | GET         | [[EntitySummary][api/entities/summary/:entity-type/:cluster]]  
             | Get instance summary of all entities |
 | GET         | 
[[EntityDependencies][api/entities/dependencies/:entity-type/:entity-name]] | 
Get the dependencies of the entity |
+| GET         | [[FeedLookup][api/entities/lookup/feed/]]                      
             | Get feed for given path            |
 
 ---++ REST Call on Feed and Process Instances
 


Reply via email to