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/11/21 11:51:00 UTC

falcon git commit: FALCON-1587 Divide FalconCLI.twiki into sub sections for different modules on the lines of REST Api. Contributed by Praveen Adlakha.

Repository: falcon
Updated Branches:
  refs/heads/master 7953e8aec -> 0fe2762b7


FALCON-1587 Divide FalconCLI.twiki into sub sections for different modules on the lines of REST Api. Contributed by Praveen Adlakha.


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

Branch: refs/heads/master
Commit: 0fe2762b799c7142858bb3061541504e4e9ed654
Parents: 7953e8a
Author: Ajay Yadava <aj...@gmail.com>
Authored: Sat Nov 21 16:16:50 2015 +0530
Committer: Ajay Yadava <aj...@gmail.com>
Committed: Sat Nov 21 16:16:50 2015 +0530

----------------------------------------------------------------------
 docs/src/site/twiki/falconcli/CommonCLI.twiki   |  21 ++++
 .../site/twiki/falconcli/ContinueInstance.twiki |   8 ++
 docs/src/site/twiki/falconcli/Definition.twiki  |   8 ++
 .../src/site/twiki/falconcli/DeleteEntity.twiki |   8 ++
 .../site/twiki/falconcli/DependencyEntity.twiki |  10 ++
 .../twiki/falconcli/DependencyInstance.twiki    |  33 ++++++
 .../src/site/twiki/falconcli/EdgeMetadata.twiki |  11 ++
 docs/src/site/twiki/falconcli/FalconCLI.twiki   | 112 +++++++++++++++++++
 .../twiki/falconcli/FeedInstanceListing.twiki   |  11 ++
 docs/src/site/twiki/falconcli/HelpAdmin.twiki   |   6 +
 .../src/site/twiki/falconcli/KillInstance.twiki |  14 +++
 .../twiki/falconcli/LifeCycleInstance.twiki     |   9 ++
 .../site/twiki/falconcli/LineageMetadata.twiki  |  12 ++
 docs/src/site/twiki/falconcli/ListEntity.twiki  |  17 +++
 .../src/site/twiki/falconcli/ListInstance.twiki |  19 ++++
 .../src/site/twiki/falconcli/ListMetadata.twiki |  13 +++
 .../src/site/twiki/falconcli/LogsInstance.twiki |  14 +++
 docs/src/site/twiki/falconcli/Lookup.twiki      |  12 ++
 .../site/twiki/falconcli/ParamsInstance.twiki   |   8 ++
 .../site/twiki/falconcli/RelationMetadata.twiki |  10 ++
 .../site/twiki/falconcli/RerunInstance.twiki    |  10 ++
 .../src/site/twiki/falconcli/ResumeEntity.twiki |   8 ++
 .../site/twiki/falconcli/ResumeInstance.twiki   |   8 ++
 .../site/twiki/falconcli/RunningInstance.twiki  |  13 +++
 docs/src/site/twiki/falconcli/SLAAlert.twiki    |  49 ++++++++
 docs/src/site/twiki/falconcli/Schedule.twiki    |  13 +++
 docs/src/site/twiki/falconcli/StatusAdmin.twiki |   8 ++
 .../src/site/twiki/falconcli/StatusEntity.twiki |   8 ++
 .../site/twiki/falconcli/StatusInstance.twiki   |  20 ++++
 docs/src/site/twiki/falconcli/Submit.twiki      |  13 +++
 .../src/site/twiki/falconcli/SubmitRecipe.twiki |  17 +++
 .../site/twiki/falconcli/SummaryEntity.twiki    |  14 +++
 .../site/twiki/falconcli/SummaryInstance.twiki  |  20 ++++
 .../site/twiki/falconcli/SuspendEntity.twiki    |   8 ++
 .../site/twiki/falconcli/SuspendInstance.twiki  |   8 ++
 docs/src/site/twiki/falconcli/Touch.twiki       |  10 ++
 .../site/twiki/falconcli/TriageInstance.twiki   |   9 ++
 .../src/site/twiki/falconcli/UpdateEntity.twiki |  14 +++
 .../src/site/twiki/falconcli/VersionAdmin.twiki |   7 ++
 .../twiki/falconcli/VertexEdgesMetadata.twiki   |  12 ++
 .../site/twiki/falconcli/VertexMetadata.twiki   |  11 ++
 .../site/twiki/falconcli/VerticesMetadata.twiki |  11 ++
 docs/src/site/twiki/index.twiki                 |   2 +-
 43 files changed, 648 insertions(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/falcon/blob/0fe2762b/docs/src/site/twiki/falconcli/CommonCLI.twiki
----------------------------------------------------------------------
diff --git a/docs/src/site/twiki/falconcli/CommonCLI.twiki b/docs/src/site/twiki/falconcli/CommonCLI.twiki
new file mode 100644
index 0000000..fab2ed1
--- /dev/null
+++ b/docs/src/site/twiki/falconcli/CommonCLI.twiki
@@ -0,0 +1,21 @@
+---++ Common CLI Options
+
+---+++Falcon URL
+
+Optional -url option indicating the URL of the Falcon system to run the command against can be provided.  If not mentioned it will be picked from the system environment variable FALCON_URL. If FALCON_URL is not set then it will be picked from client.properties file. If the option is not
+provided and also not set in client.properties, Falcon CLI will fail.
+
+---+++Proxy user support
+
+The -doAs option allows the current user to impersonate other users when interacting with the Falcon system. The current user must be configured as a proxyuser in the Falcon system. The proxyuser configuration may restrict from
+which hosts a user may impersonate users, as well as users of which groups can be impersonated.
+
+<a href="../FalconDocumentation.html#Proxyuser_support">Proxyuser support described here.</a>
+
+---+++Debug Mode
+
+If you export FALCON_DEBUG=true then the Falcon CLI will output the Web Services API details used by any commands you execute. This is useful for debugging purposes to or see how the Falcon CLI works with the WS API.
+Alternately, you can specify '-debug' through the CLI arguments to get the debug statements.
+
+Example:
+$FALCON_HOME/bin/falcon entity -submit -type cluster -file /cluster/definition.xml -debug
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/falcon/blob/0fe2762b/docs/src/site/twiki/falconcli/ContinueInstance.twiki
----------------------------------------------------------------------
diff --git a/docs/src/site/twiki/falconcli/ContinueInstance.twiki b/docs/src/site/twiki/falconcli/ContinueInstance.twiki
new file mode 100644
index 0000000..304e281
--- /dev/null
+++ b/docs/src/site/twiki/falconcli/ContinueInstance.twiki
@@ -0,0 +1,8 @@
+---+++Continue
+
+[[CommonCLI][Common CLI Options]]
+
+Continue option is used to continue the failed workflow instance. This option is valid only for process instances in terminal state, i.e. KILLED or FAILED.
+
+Usage:
+$FALCON_HOME/bin/falcon instance -type <<feed/process>> -name <<name>> -continue -start "yyyy-MM-dd'T'HH:mm'Z'" -end "yyyy-MM-dd'T'HH:mm'Z'"

http://git-wip-us.apache.org/repos/asf/falcon/blob/0fe2762b/docs/src/site/twiki/falconcli/Definition.twiki
----------------------------------------------------------------------
diff --git a/docs/src/site/twiki/falconcli/Definition.twiki b/docs/src/site/twiki/falconcli/Definition.twiki
new file mode 100644
index 0000000..08d46c7
--- /dev/null
+++ b/docs/src/site/twiki/falconcli/Definition.twiki
@@ -0,0 +1,8 @@
+---+++Definition
+
+[[CommonCLI][Common CLI Options]]
+
+Definition option returns the entity definition submitted earlier during submit step.
+
+Usage:
+$FALCON_HOME/bin/falcon entity -type [cluster|datasource|feed|process] -name <<name>> -definition

http://git-wip-us.apache.org/repos/asf/falcon/blob/0fe2762b/docs/src/site/twiki/falconcli/DeleteEntity.twiki
----------------------------------------------------------------------
diff --git a/docs/src/site/twiki/falconcli/DeleteEntity.twiki b/docs/src/site/twiki/falconcli/DeleteEntity.twiki
new file mode 100644
index 0000000..f2b3080
--- /dev/null
+++ b/docs/src/site/twiki/falconcli/DeleteEntity.twiki
@@ -0,0 +1,8 @@
+---+++Delete
+
+[[CommonCLI][Common CLI Options]]
+
+Delete removes the submitted entity definition for the specified entity and put it into the archive.
+
+Usage:
+$FALCON_HOME/bin/falcon entity  -type [cluster|datasource|feed|process] -name <<name>> -delete

http://git-wip-us.apache.org/repos/asf/falcon/blob/0fe2762b/docs/src/site/twiki/falconcli/DependencyEntity.twiki
----------------------------------------------------------------------
diff --git a/docs/src/site/twiki/falconcli/DependencyEntity.twiki b/docs/src/site/twiki/falconcli/DependencyEntity.twiki
new file mode 100644
index 0000000..bdef1d7
--- /dev/null
+++ b/docs/src/site/twiki/falconcli/DependencyEntity.twiki
@@ -0,0 +1,10 @@
+---+++Dependency
+
+[[CommonCLI][Common CLI Options]]
+
+With the use of dependency option, we can list all the entities on which the specified entity is dependent.
+For example for a feed, dependency return the cluster name and for process it returns all the input feeds,
+output feeds and cluster names.
+
+Usage:
+$FALCON_HOME/bin/falcon entity -type [cluster|datasource|feed|process] -name <<name>> -dependency
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/falcon/blob/0fe2762b/docs/src/site/twiki/falconcli/DependencyInstance.twiki
----------------------------------------------------------------------
diff --git a/docs/src/site/twiki/falconcli/DependencyInstance.twiki b/docs/src/site/twiki/falconcli/DependencyInstance.twiki
new file mode 100644
index 0000000..c66a4ea
--- /dev/null
+++ b/docs/src/site/twiki/falconcli/DependencyInstance.twiki
@@ -0,0 +1,33 @@
+---+++Dependency
+Display the dependent instances which are dependent on the given instance. For example for a given process instance it will
+list all the input feed instances(if any) and the output feed instances(if any).
+
+An example use case of this command is as follows:
+Suppose you find out that the data in a feed instance was incorrect and you need to figure out which all process instances
+consumed this feed instance so that you can reprocess them after correcting the feed instance. You can give the feed instance
+and it will tell you which process instance produced this feed and which all process instances consumed this feed.
+
+NOTE:
+1. instanceTime must be a valid instanceTime e.g. instanceTime of a feed should be in it's validity range on applicable clusters,
+ and it should be in the range of instances produced by the producer process(if any)
+
+2. For processes with inputs like latest() which vary with time the results are not guaranteed to be correct.
+
+Usage:
+$FALCON_HOME/bin/falcon instance -type <<feed/process>> -name <<name>> -params -instanceTime "yyyy-MM-dd'T'HH:mm'Z'"
+
+For example:
+$FALCON_HOME/bin/falcon instance -dependency -type feed -name out -instanceTime 2014-12-15T00:00Z
+name: producer, type: PROCESS, cluster: local, instanceTime: 2014-12-15T00:00Z, tags: Output
+name: consumer, type: PROCESS, cluster: local, instanceTime: 2014-12-15T00:03Z, tags: Input
+name: consumer, type: PROCESS, cluster: local, instanceTime: 2014-12-15T00:04Z, tags: Input
+name: consumer, type: PROCESS, cluster: local, instanceTime: 2014-12-15T00:02Z, tags: Input
+name: consumer, type: PROCESS, cluster: local, instanceTime: 2014-12-15T00:05Z, tags: Input
+
+
+Response: default/Success!
+
+Request Id: default/1125035965@qtp-503156953-7 - 447be0ad-1d38-4dce-b438-20f3de69b172
+
+
+<a href="../Restapi/InstanceDependencies.html">Optional params described here.</a>
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/falcon/blob/0fe2762b/docs/src/site/twiki/falconcli/EdgeMetadata.twiki
----------------------------------------------------------------------
diff --git a/docs/src/site/twiki/falconcli/EdgeMetadata.twiki b/docs/src/site/twiki/falconcli/EdgeMetadata.twiki
new file mode 100644
index 0000000..477996e
--- /dev/null
+++ b/docs/src/site/twiki/falconcli/EdgeMetadata.twiki
@@ -0,0 +1,11 @@
+---+++ Edge
+
+[[CommonCLI][Common CLI Options]]
+
+Get the edge with the specified id.
+
+Usage:
+$FALCON_HOME/bin/falcon metadata -edge -id <<id>>
+
+Example:
+$FALCON_HOME/bin/falcon metadata -edge -id Q9n-Q-5g
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/falcon/blob/0fe2762b/docs/src/site/twiki/falconcli/FalconCLI.twiki
----------------------------------------------------------------------
diff --git a/docs/src/site/twiki/falconcli/FalconCLI.twiki b/docs/src/site/twiki/falconcli/FalconCLI.twiki
new file mode 100644
index 0000000..0c0082f
--- /dev/null
+++ b/docs/src/site/twiki/falconcli/FalconCLI.twiki
@@ -0,0 +1,112 @@
+---+FalconCLI
+
+FalconCLI is a interface between user and Falcon. It is a command line utility provided by Falcon. FalconCLI supports Entity Management, Instance Management and Admin operations.There is a set of web services that are used by FalconCLI to interact with Falcon.
+
+---+++Types of CLI Options
+
+CLI options are classified into :
+
+   * <a href="#Common_CLI_Options">Common CLI Options</a>
+   * <a href="#Entity_Management_Commands">Entity Management Commands</a>
+   * <a href="#Instance_Management_Commands">Instance Management Commands</a>
+   * <a href="#Metadata_Commands">Metadata Commands</a>
+   * <a href="#Admin_Commands">Admin commands</a>
+   * <a href="#Recipe_Commands">Recipe commands</a>
+
+
+
+-----------
+
+---++Common CLI Options
+
+---+++Falcon URL
+
+Optional -url option indicating the URL of the Falcon system to run the command against can be provided.  If not mentioned it will be picked from the system environment variable FALCON_URL. If FALCON_URL is not set then it will be picked from client.properties file. If the option is not
+provided and also not set in client.properties, Falcon CLI will fail.
+
+---+++Proxy user support
+
+The -doAs option allows the current user to impersonate other users when interacting with the Falcon system. The current user must be configured as a proxyuser in the Falcon system. The proxyuser configuration may restrict from
+which hosts a user may impersonate users, as well as users of which groups can be impersonated.
+
+<a href="../FalconDocumentation.html#Proxyuser_support">Proxyuser support described here.</a>
+
+---+++Debug Mode
+
+If you export FALCON_DEBUG=true then the Falcon CLI will output the Web Services API details used by any commands you execute. This is useful for debugging purposes to or see how the Falcon CLI works with the WS API.
+Alternately, you can specify '-debug' through the CLI arguments to get the debug statements.
+Example:
+$FALCON_HOME/bin/falcon entity -submit -type cluster -file /cluster/definition.xml -debug
+
+-----------
+
+---++Entity Management Commands
+
+| *Command*                                      | *Description*                                   |
+| [[Submit]]                                     | Submit the entity definition.                   |
+| [[Schedule]]                                   | Scheduled the entity                            |
+| [[SuspendEntity][Suspend]]                     | Suspends the scheduled entity                   |
+| [[ResumeEntity][Resume]]                       | Puts a suspended entity back in action          |
+| [[DeleteEntity][Delete]]                       | Remove the submitted entity                     |
+| [[ListEntity][List]]                           | Lists the particular type of entity             |
+| [[SummaryEntity][Summary]]                     | Shows summary of the type of entity             |
+| [[UpdateEntity][Update]]                       | Update already submitted entity                 |
+| [[Touch]]                                      | Force update already submitted entity           |
+| [[StatusEntity][Status]]                       | Return's the status of the entity               |
+| [[DependencyEntity][Dependency]]               | List all the entities on which the specified entity is dependent|
+| [[Definition]]                                 | Return's the definition of the entity           |
+| [[Lookup]]                                     | Return's the feed name for a path               |
+| [[SLAAlert]]                                   | Return's the feed instance which have missed sla|
+
+
+-----------
+---++Instance Management Commands
+
+| *Command*                                      | *Description*                                   |
+| [[KillInstance][Kill]]                         | Kills all the instances of specified process    |
+| [[SuspendInstance][Suspend]]                   | Suspends instances of a specified process       |
+| [[ContinueInstance][Continue]]                 | Continue the failed workflow instances          |
+| [[RerunInstance][Rerun]]                       | Rerun instances of specified process            |
+| [[ResumeInstance][Resume]]                     | Resume instance of specified process from suspended state   |
+| [[StatusInstance][Status]]                     | Gets the status of entity                       |
+| [[ListInstance][List]]                         | Gets single or multiple instances               |
+| [[SummaryInstance][Summary]]                   | Gets consolidated status of the instances between the specified time period    |
+| [[RunningInstance][Running]]                   | Gets running instances of the mentioned process |
+| [[FeedInstanceListing]]                        | Gets falcon feed instance availability          |
+| [[LogsInstance][Logs]]                         | Gets logs for instance                          |
+| [[LifeCycleInstance][LifeCycle]]               | Describes list of life cycles of a entity       |
+| [[TriageInstance][Triage]]                     | Traces entities ancestors for failure           |
+| [[ParamsInstance][Params]]                     | Displays workflow params                        |
+| [[DependencyInstance][Dependency]]             | Displays the dependent instances    |
+
+-----------
+
+---++Metadata Commands
+
+| *Command*                                      | *Description*                                    |
+|[[LineageMetadata][Lineage]]                    | Returns the relationship between processes and feeds |
+|[[VertexMetadata][Vertex]]                      | Gets the vertex with the specified id            |
+|[[VerticesMetadata][Vertices]]                  | Gets all vertices for a key                      |
+|[[VertexEdgesMetadata][Vertex Edges]]           | Gets the adjacent vertices or edges of the vertex|
+|[[EdgeMetadata][Edge]]                          | Gets the edge with the specified id              |
+|[[ListMetadata][List]]                          | Return list of all dimension of given type       |
+|[[RelationMetadata][Relations]]                | Return all dimensions related to specified Dimension |
+
+-----------
+
+---++Admin Commands
+
+| *Command*                                      | *Description*                                   |
+|[[HelpAdmin][Help]]                             | Return help options                             |
+|[[VersionAdmin][Version]]                       | Return current falcon version                   |
+|[[StatusAdmin][Status]]                         | Return the status of falcon                     |
+
+-----------
+
+---++Recipe Commands
+
+| *Command*                                      | *Description*                                   |
+|[[SubmitRecipe][Submit]]                        | Submit the specified Recipe                     |
+
+
+

http://git-wip-us.apache.org/repos/asf/falcon/blob/0fe2762b/docs/src/site/twiki/falconcli/FeedInstanceListing.twiki
----------------------------------------------------------------------
diff --git a/docs/src/site/twiki/falconcli/FeedInstanceListing.twiki b/docs/src/site/twiki/falconcli/FeedInstanceListing.twiki
new file mode 100644
index 0000000..aa60d49
--- /dev/null
+++ b/docs/src/site/twiki/falconcli/FeedInstanceListing.twiki
@@ -0,0 +1,11 @@
+---+++FeedInstanceListing
+
+Get falcon feed instance availability.
+
+Usage:
+$FALCON_HOME/bin/falcon instance -type feed -name <<name>> -listing
+
+Optional Args : -start "yyyy-MM-dd'T'HH:mm'Z'" -end "yyyy-MM-dd'T'HH:mm'Z'"
+-colo <<colo>>
+
+<a href="../Restapi/FeedInstanceListing.html">Optional params described here.</a>

http://git-wip-us.apache.org/repos/asf/falcon/blob/0fe2762b/docs/src/site/twiki/falconcli/HelpAdmin.twiki
----------------------------------------------------------------------
diff --git a/docs/src/site/twiki/falconcli/HelpAdmin.twiki b/docs/src/site/twiki/falconcli/HelpAdmin.twiki
new file mode 100644
index 0000000..69b1378
--- /dev/null
+++ b/docs/src/site/twiki/falconcli/HelpAdmin.twiki
@@ -0,0 +1,6 @@
+---+++Help
+
+[[CommonCLI][Common CLI Options]]
+
+Usage:
+$FALCON_HOME/bin/falcon admin -help

http://git-wip-us.apache.org/repos/asf/falcon/blob/0fe2762b/docs/src/site/twiki/falconcli/KillInstance.twiki
----------------------------------------------------------------------
diff --git a/docs/src/site/twiki/falconcli/KillInstance.twiki b/docs/src/site/twiki/falconcli/KillInstance.twiki
new file mode 100644
index 0000000..623921f
--- /dev/null
+++ b/docs/src/site/twiki/falconcli/KillInstance.twiki
@@ -0,0 +1,14 @@
+---+++Kill
+
+[[CommonCLI][Common CLI Options]]
+
+Kill sub-command is used to kill all the instances of the specified process whose nominal time is between the given start time and end time.
+
+Note:
+1. The start time and end time needs to be specified in TZ format.
+Example:   01 Jan 2012 01:00  => 2012-01-01T01:00Z
+
+2. Process name is compulsory parameter for each instance management command.
+
+Usage:
+$FALCON_HOME/bin/falcon instance -type <<feed/process>> -name <<name>> -kill -start "yyyy-MM-dd'T'HH:mm'Z'" -end "yyyy-MM-dd'T'HH:mm'Z'"

http://git-wip-us.apache.org/repos/asf/falcon/blob/0fe2762b/docs/src/site/twiki/falconcli/LifeCycleInstance.twiki
----------------------------------------------------------------------
diff --git a/docs/src/site/twiki/falconcli/LifeCycleInstance.twiki b/docs/src/site/twiki/falconcli/LifeCycleInstance.twiki
new file mode 100644
index 0000000..bbcda55
--- /dev/null
+++ b/docs/src/site/twiki/falconcli/LifeCycleInstance.twiki
@@ -0,0 +1,9 @@
+---+++LifeCycle
+
+[[CommonCLI][Common CLI Options]]
+
+Describes list of life cycles of a entity , for feed it can be replication/retention and for process it can be execution.
+This can be used with instance management options. Default values are replication for feed and execution for process.
+
+Usage:
+$FALCON_HOME/bin/falcon instance -type <<feed/process>> -name <<name>> -status -lifecycle <<lifecycletype>> -start "yyyy-MM-dd'T'HH:mm'Z'" -end "yyyy-MM-dd'T'HH:mm'Z'"

http://git-wip-us.apache.org/repos/asf/falcon/blob/0fe2762b/docs/src/site/twiki/falconcli/LineageMetadata.twiki
----------------------------------------------------------------------
diff --git a/docs/src/site/twiki/falconcli/LineageMetadata.twiki b/docs/src/site/twiki/falconcli/LineageMetadata.twiki
new file mode 100644
index 0000000..e668e03
--- /dev/null
+++ b/docs/src/site/twiki/falconcli/LineageMetadata.twiki
@@ -0,0 +1,12 @@
+---+++Lineage
+
+
+Returns the relationship between processes and feeds in a given pipeline in [[http://www.graphviz.org/content/dot-language/][dot]] format.
+You can use the output and view a graphical representation of DAG using an online graphviz viewer like [[http://www.webgraphviz.com/][this]].
+
+Usage:
+
+$FALCON_HOME/bin/falcon metadata -lineage -pipeline my-pipeline
+
+pipeline is a mandatory option.
+

http://git-wip-us.apache.org/repos/asf/falcon/blob/0fe2762b/docs/src/site/twiki/falconcli/ListEntity.twiki
----------------------------------------------------------------------
diff --git a/docs/src/site/twiki/falconcli/ListEntity.twiki b/docs/src/site/twiki/falconcli/ListEntity.twiki
new file mode 100644
index 0000000..0047c1b
--- /dev/null
+++ b/docs/src/site/twiki/falconcli/ListEntity.twiki
@@ -0,0 +1,17 @@
+---+++List
+
+[[CommonCLI][Common CLI Options]]
+
+Entities of a particular type can be listed with list sub-command.
+
+Usage:
+$FALCON_HOME/bin/falcon entity -list
+
+Optional Args : -fields <<field1,field2>>
+-type <<[cluster|datasource|feed|process],[cluster|datasource|feed|process]>>
+-nameseq <<namesubsequence>> -tagkeys <<tagkeyword1,tagkeyword2>>
+-filterBy <<field1:value1,field2:value2>> -tags <<tagkey=tagvalue,tagkey=tagvalue>>
+-orderBy <<field>> -sortOrder <<sortOrder>> -offset 0 -numResults 10
+
+<a href="../Restapi/EntityList.html">Optional params described here.</a>
+

http://git-wip-us.apache.org/repos/asf/falcon/blob/0fe2762b/docs/src/site/twiki/falconcli/ListInstance.twiki
----------------------------------------------------------------------
diff --git a/docs/src/site/twiki/falconcli/ListInstance.twiki b/docs/src/site/twiki/falconcli/ListInstance.twiki
new file mode 100644
index 0000000..28e9fed
--- /dev/null
+++ b/docs/src/site/twiki/falconcli/ListInstance.twiki
@@ -0,0 +1,19 @@
+---+++List
+
+[[CommonCLI][Common CLI Options]]
+
+List option via CLI can be used to get single or multiple instances.  If the instance is not yet materialized but is within the process validity range, WAITING is returned as the state. Instance time is also returned. Log location gives the oozie workflow url
+If the instance is in WAITING state, missing dependencies are listed
+
+Example : Suppose a process has 3 instance, one has succeeded,one is in running state and other one is waiting, the expected output is:
+
+{"status":"SUCCEEDED","message":"getStatus is successful","instances":[{"instance":"2012-05-07T05:02Z","status":"SUCCEEDED","logFile":"http://oozie-dashboard-url"},{"instance":"2012-05-07T05:07Z","status":"RUNNING","logFile":"http://oozie-dashboard-url"}, {"instance":"2010-01-02T11:05Z","status":"WAITING"}]}
+
+Usage:
+$FALCON_HOME/bin/falcon instance -type <<feed/process>> -name <<name>> -list
+
+Optional Args : -start "yyyy-MM-dd'T'HH:mm'Z'" -end "yyyy-MM-dd'T'HH:mm'Z'"
+-colo <<colo>> -lifecycle <<lifecycles>>
+-filterBy <<field1:value1,field2:value2>> -orderBy field -sortOrder <<sortOrder>> -offset 0 -numResults 10
+
+<a href="../Restapi/InstanceList.html">Optional params described here.</a>

http://git-wip-us.apache.org/repos/asf/falcon/blob/0fe2762b/docs/src/site/twiki/falconcli/ListMetadata.twiki
----------------------------------------------------------------------
diff --git a/docs/src/site/twiki/falconcli/ListMetadata.twiki b/docs/src/site/twiki/falconcli/ListMetadata.twiki
new file mode 100644
index 0000000..8adea21
--- /dev/null
+++ b/docs/src/site/twiki/falconcli/ListMetadata.twiki
@@ -0,0 +1,13 @@
+---+++ List
+
+[[CommonCLI][Common CLI Options]]
+
+Lists of all dimensions of given type. If the user provides optional param cluster, only the dimensions related to the cluster are listed.
+Usage:
+$FALCON_HOME/bin/falcon metadata -list -type [cluster_entity|datasource_entity|feed_entity|process_entity|user|colo|tags|groups|pipelines]
+
+Optional Args : -cluster <<cluster name>>
+
+Example:
+$FALCON_HOME/bin/falcon metadata -list -type process_entity -cluster primary-cluster
+$FALCON_HOME/bin/falcon metadata -list -type tags

http://git-wip-us.apache.org/repos/asf/falcon/blob/0fe2762b/docs/src/site/twiki/falconcli/LogsInstance.twiki
----------------------------------------------------------------------
diff --git a/docs/src/site/twiki/falconcli/LogsInstance.twiki b/docs/src/site/twiki/falconcli/LogsInstance.twiki
new file mode 100644
index 0000000..ac40ec0
--- /dev/null
+++ b/docs/src/site/twiki/falconcli/LogsInstance.twiki
@@ -0,0 +1,14 @@
+---+++Logs
+
+[[CommonCLI][Common CLI Options]]
+
+Get logs for instance actions
+
+Usage:
+$FALCON_HOME/bin/falcon instance -type <<feed/process>> -name <<name>> -logs
+
+Optional Args : -start "yyyy-MM-dd'T'HH:mm'Z'" -end "yyyy-MM-dd'T'HH:mm'Z'" -runid <<runid>>
+-colo <<colo>> -lifecycle <<lifecycles>>
+-filterBy <<field1:value1,field2:value2>> -orderBy field -sortOrder <<sortOrder>> -offset 0 -numResults 10
+
+<a href="../Restapi/InstanceLogs.html">Optional params described here.</a>

http://git-wip-us.apache.org/repos/asf/falcon/blob/0fe2762b/docs/src/site/twiki/falconcli/Lookup.twiki
----------------------------------------------------------------------
diff --git a/docs/src/site/twiki/falconcli/Lookup.twiki b/docs/src/site/twiki/falconcli/Lookup.twiki
new file mode 100644
index 0000000..a9d9c4e
--- /dev/null
+++ b/docs/src/site/twiki/falconcli/Lookup.twiki
@@ -0,0 +1,12 @@
+---+++Lookup
+
+[[CommonCLI][Common CLI Options]]
+
+Lookup option tells you which feed does a given path belong to. This can be useful in several scenarios e.g. generally you would want to have a single definition for common feeds like metadata with same location
+otherwise it can result in a problem (different retention durations can result in surprises for one team) If you want to check if there are multiple definitions of same metadata then you can pick
+an instance of that and run through the lookup command like below.
+
+Usage:
+$FALCON_HOME/bin/falcon entity -type feed -lookup -path /data/projects/my-hourly/2014/10/10/23/
+
+If you have multiple feeds with location as /data/projects/my-hourly/${YEAR}/${MONTH}/${DAY}/${HOUR} then this command will return all of them.

http://git-wip-us.apache.org/repos/asf/falcon/blob/0fe2762b/docs/src/site/twiki/falconcli/ParamsInstance.twiki
----------------------------------------------------------------------
diff --git a/docs/src/site/twiki/falconcli/ParamsInstance.twiki b/docs/src/site/twiki/falconcli/ParamsInstance.twiki
new file mode 100644
index 0000000..9f217ba
--- /dev/null
+++ b/docs/src/site/twiki/falconcli/ParamsInstance.twiki
@@ -0,0 +1,8 @@
+---+++Params
+
+[[CommonCLI][Common CLI Options]]
+
+Displays the workflow params of a given instance. Where start time is considered as nominal time of that instance and end time won't be considered.
+
+Usage:
+$FALCON_HOME/bin/falcon instance -type <<feed/process>> -name <<name>> -params -start "yyyy-MM-dd'T'HH:mm'Z'"

http://git-wip-us.apache.org/repos/asf/falcon/blob/0fe2762b/docs/src/site/twiki/falconcli/RelationMetadata.twiki
----------------------------------------------------------------------
diff --git a/docs/src/site/twiki/falconcli/RelationMetadata.twiki b/docs/src/site/twiki/falconcli/RelationMetadata.twiki
new file mode 100644
index 0000000..e9bc970
--- /dev/null
+++ b/docs/src/site/twiki/falconcli/RelationMetadata.twiki
@@ -0,0 +1,10 @@
+---+++ Relations
+
+[[CommonCLI][Common CLI Options]]
+
+List all dimensions related to specified Dimension identified by dimension-type and dimension-name.
+Usage:
+$FALCON_HOME/bin/falcon metadata -relations -type [cluster_entity|feed_entity|process_entity|user|colo|tags|groups|pipelines] -name <<Dimension Name>>
+
+Example:
+$FALCON_HOME/bin/falcon metadata -relations -type process_entity -name sample-process
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/falcon/blob/0fe2762b/docs/src/site/twiki/falconcli/RerunInstance.twiki
----------------------------------------------------------------------
diff --git a/docs/src/site/twiki/falconcli/RerunInstance.twiki b/docs/src/site/twiki/falconcli/RerunInstance.twiki
new file mode 100644
index 0000000..aac844c
--- /dev/null
+++ b/docs/src/site/twiki/falconcli/RerunInstance.twiki
@@ -0,0 +1,10 @@
+---+++Rerun
+
+[[CommonCLI][Common CLI Options]]
+
+Rerun option is used to rerun instances of a given process. On issuing a rerun, by default the execution resumes from the last failed node in the workflow. This option is valid only for process instances in terminal state, i.e. SUCCEEDED, KILLED or FAILED.
+If one wants to forcefully rerun the entire workflow, -force should be passed along with -rerun
+Additionally, you can also specify properties to override via a properties file.
+
+Usage:
+$FALCON_HOME/bin/falcon instance -type <<feed/process>> -name <<name>> -rerun -start "yyyy-MM-dd'T'HH:mm'Z'" -end "yyyy-MM-dd'T'HH:mm'Z'" [-force] [-file <<properties file>>]

http://git-wip-us.apache.org/repos/asf/falcon/blob/0fe2762b/docs/src/site/twiki/falconcli/ResumeEntity.twiki
----------------------------------------------------------------------
diff --git a/docs/src/site/twiki/falconcli/ResumeEntity.twiki b/docs/src/site/twiki/falconcli/ResumeEntity.twiki
new file mode 100644
index 0000000..39be411
--- /dev/null
+++ b/docs/src/site/twiki/falconcli/ResumeEntity.twiki
@@ -0,0 +1,8 @@
+---+++Resume
+
+[[CommonCLI][Common CLI Options]]
+
+Puts a suspended process/feed back to active, which in turn resumes applicable oozie bundle.
+
+Usage:
+ $FALCON_HOME/bin/falcon entity  -type [feed|process] -name <<name>> -resume

http://git-wip-us.apache.org/repos/asf/falcon/blob/0fe2762b/docs/src/site/twiki/falconcli/ResumeInstance.twiki
----------------------------------------------------------------------
diff --git a/docs/src/site/twiki/falconcli/ResumeInstance.twiki b/docs/src/site/twiki/falconcli/ResumeInstance.twiki
new file mode 100644
index 0000000..3790f47
--- /dev/null
+++ b/docs/src/site/twiki/falconcli/ResumeInstance.twiki
@@ -0,0 +1,8 @@
+---+++Resume
+
+[[CommonCLI][Common CLI Options]]
+
+Resume option is used to resume any instance that  is in suspended state.
+
+Usage:
+$FALCON_HOME/bin/falcon instance -type <<feed/process>> -name <<name>> -resume -start "yyyy-MM-dd'T'HH:mm'Z'" -end "yyyy-MM-dd'T'HH:mm'Z'"

http://git-wip-us.apache.org/repos/asf/falcon/blob/0fe2762b/docs/src/site/twiki/falconcli/RunningInstance.twiki
----------------------------------------------------------------------
diff --git a/docs/src/site/twiki/falconcli/RunningInstance.twiki b/docs/src/site/twiki/falconcli/RunningInstance.twiki
new file mode 100644
index 0000000..f269358
--- /dev/null
+++ b/docs/src/site/twiki/falconcli/RunningInstance.twiki
@@ -0,0 +1,13 @@
+---+++Running
+
+[[CommonCLI][Common CLI Options]]
+
+Running option provides all the running instances of the mentioned process.
+
+Usage:
+$FALCON_HOME/bin/falcon instance -type <<feed/process>> -name <<name>> -running
+
+Optional Args : -colo <<colo>> -lifecycle <<lifecycles>>
+-filterBy <<field1:value1,field2:value2>> -orderBy <<field>> -sortOrder <<sortOrder>> -offset 0 -numResults 10
+
+<a href="../Restapi/InstanceRunning.html">Optional params described here.</a>
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/falcon/blob/0fe2762b/docs/src/site/twiki/falconcli/SLAAlert.twiki
----------------------------------------------------------------------
diff --git a/docs/src/site/twiki/falconcli/SLAAlert.twiki b/docs/src/site/twiki/falconcli/SLAAlert.twiki
new file mode 100644
index 0000000..e5270fa
--- /dev/null
+++ b/docs/src/site/twiki/falconcli/SLAAlert.twiki
@@ -0,0 +1,49 @@
+---+++SLAAlert
+
+[[CommonCLI][Common CLI Options]]
+
+<verbatim>
+Since: 0.8
+</verbatim>
+
+This command lists all the feed instances which have missed sla and are still not available. If a feed instance missed
+sla but is now available, then it will not be reported in results. The purpose of this API is alerting and hence it
+ doesn't return feed instances which missed SLA but are available as they don't require any action.
+
+* Currently sla monitoring is supported only for feeds.
+
+* Option end is optional and will default to current time if missing.
+
+* Option name is optional, if provided only instances of that feed will be considered.
+
+Usage:
+
+*Example 1*
+
+*$FALCON_HOME/bin/falcon entity -type feed -start 2014-09-05T00:00Z -slaAlert  -end 2016-05-03T00:00Z -colo local*
+
+name: out, type: FEED, cluster: local, instanceTime: 2015-09-26T11:59Z, tags: Missed SLA High
+name: out, type: FEED, cluster: local, instanceTime: 2015-09-26T12:00Z, tags: Missed SLA High
+name: out, type: FEED, cluster: local, instanceTime: 2015-09-26T12:01Z, tags: Missed SLA High
+name: out, type: FEED, cluster: local, instanceTime: 2015-09-26T12:02Z, tags: Missed SLA High
+name: out, type: FEED, cluster: local, instanceTime: 2015-09-26T12:03Z, tags: Missed SLA High
+name: out, type: FEED, cluster: local, instanceTime: 2015-09-26T12:04Z, tags: Missed SLA High
+name: out, type: FEED, cluster: local, instanceTime: 2015-09-26T12:05Z, tags: Missed SLA High
+name: out, type: FEED, cluster: local, instanceTime: 2015-09-26T12:06Z, tags: Missed SLA High
+name: out, type: FEED, cluster: local, instanceTime: 2015-09-26T12:07Z, tags: Missed SLA High
+name: out, type: FEED, cluster: local, instanceTime: 2015-09-26T12:08Z, tags: Missed SLA Low
+
+
+Response: default/Success!
+
+Request Id: default/216978070@qtp-830047511-4 - f5a6c129-ab42-4feb-a2bf-c3baed356248
+
+*Example 2*
+
+*$FALCON_HOME/bin/falcon entity -type feed -start 2014-09-05T00:00Z -slaAlert  -end 2016-05-03T00:00Z -colo local -name in*
+
+name: in, type: FEED, cluster: local, instanceTime: 2015-09-26T06:00Z, tags: Missed SLA High
+
+Response: default/Success!
+
+Request Id: default/1580107885@qtp-830047511-7 - f16cbc51-5070-4551-ad25-28f75e5e4cf2

http://git-wip-us.apache.org/repos/asf/falcon/blob/0fe2762b/docs/src/site/twiki/falconcli/Schedule.twiki
----------------------------------------------------------------------
diff --git a/docs/src/site/twiki/falconcli/Schedule.twiki b/docs/src/site/twiki/falconcli/Schedule.twiki
new file mode 100644
index 0000000..42192c7
--- /dev/null
+++ b/docs/src/site/twiki/falconcli/Schedule.twiki
@@ -0,0 +1,13 @@
+---+++Schedule
+
+[[CommonCLI][Common CLI Options]]
+
+Once submitted, an entity can be scheduled using schedule option. Process and feed can only be scheduled.
+
+Usage:
+$FALCON_HOME/bin/falcon entity  -type [process|feed] -name <<name>> -schedule
+
+Optional Arg : -skipDryRun -doAs <username>
+-properties <<key1:val1,...,keyN:valN>>
+
+

http://git-wip-us.apache.org/repos/asf/falcon/blob/0fe2762b/docs/src/site/twiki/falconcli/StatusAdmin.twiki
----------------------------------------------------------------------
diff --git a/docs/src/site/twiki/falconcli/StatusAdmin.twiki b/docs/src/site/twiki/falconcli/StatusAdmin.twiki
new file mode 100644
index 0000000..dadb8e5
--- /dev/null
+++ b/docs/src/site/twiki/falconcli/StatusAdmin.twiki
@@ -0,0 +1,8 @@
+---+++Status
+
+[[CommonCLI][Common CLI Options]]
+
+Status returns the current state of Falcon (running or stopped).
+Usage:
+$FALCON_HOME/bin/falcon admin -status
+

http://git-wip-us.apache.org/repos/asf/falcon/blob/0fe2762b/docs/src/site/twiki/falconcli/StatusEntity.twiki
----------------------------------------------------------------------
diff --git a/docs/src/site/twiki/falconcli/StatusEntity.twiki b/docs/src/site/twiki/falconcli/StatusEntity.twiki
new file mode 100644
index 0000000..56d16f0
--- /dev/null
+++ b/docs/src/site/twiki/falconcli/StatusEntity.twiki
@@ -0,0 +1,8 @@
+---+++Status
+
+[[CommonCLI][Common CLI Options]]
+
+Status returns the current status of the entity.
+
+Usage:
+$FALCON_HOME/bin/falcon entity -type [cluster|datasource|feed|process] -name <<name>> -status
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/falcon/blob/0fe2762b/docs/src/site/twiki/falconcli/StatusInstance.twiki
----------------------------------------------------------------------
diff --git a/docs/src/site/twiki/falconcli/StatusInstance.twiki b/docs/src/site/twiki/falconcli/StatusInstance.twiki
new file mode 100644
index 0000000..f0392b3
--- /dev/null
+++ b/docs/src/site/twiki/falconcli/StatusInstance.twiki
@@ -0,0 +1,20 @@
+---+++Status
+
+[[CommonCLI][Common CLI Options]]
+
+Status option via CLI can be used to get the status of a single or multiple instances.  If the instance is not yet materialized but is within the process validity range, WAITING is returned as the state. Along with the status of the instance time is also returned. Log location gives the oozie workflow url
+If the instance is in WAITING state, missing dependencies are listed.
+The job urls are populated for all actions of user workflow and non-succeeded actions of the main-workflow. The user then need not go to the underlying scheduler to get the job urls when needed to debug an issue in the job.
+
+Example : Suppose a process has 3 instance, one has succeeded,one is in running state and other one is waiting, the expected output is:
+
+{"status":"SUCCEEDED","message":"getStatus is successful","instances":[{"instance":"2012-05-07T05:02Z","status":"SUCCEEDED","logFile":"http://oozie-dashboard-url"},{"instance":"2012-05-07T05:07Z","status":"RUNNING","logFile":"http://oozie-dashboard-url"}, {"instance":"2010-01-02T11:05Z","status":"WAITING"}]
+
+Usage:
+$FALCON_HOME/bin/falcon instance -type <<feed/process>> -name <<name>> -status
+
+Optional Args : -start "yyyy-MM-dd'T'HH:mm'Z'" -end "yyyy-MM-dd'T'HH:mm'Z'" -colo <<colo>>
+-filterBy <<field1:value1,field2:value2>> -lifecycle <<lifecycles>>
+-orderBy field -sortOrder <<sortOrder>> -offset 0 -numResults 10
+
+<a href="../Restapi/InstanceStatus.html"> Optional params described here.</a>

http://git-wip-us.apache.org/repos/asf/falcon/blob/0fe2762b/docs/src/site/twiki/falconcli/Submit.twiki
----------------------------------------------------------------------
diff --git a/docs/src/site/twiki/falconcli/Submit.twiki b/docs/src/site/twiki/falconcli/Submit.twiki
new file mode 100644
index 0000000..f2f7a49
--- /dev/null
+++ b/docs/src/site/twiki/falconcli/Submit.twiki
@@ -0,0 +1,13 @@
+---+++Submit
+
+[[CommonCLI][Common CLI Options]]
+
+Submit option is used to set up entity definition.
+
+Usage:
+$FALCON_HOME/bin/falcon entity -submit -type [cluster|datasource|feed|process] -file <entity-definition.xml>
+
+Example:
+$FALCON_HOME/bin/falcon entity -submit -type cluster -file /cluster/definition.xml
+
+Note: The url option in the above and all subsequent commands is optional. If not mentioned it will be picked from client.properties file. If the option is not provided and also not set in client.properties, Falcon CLI will fail.

http://git-wip-us.apache.org/repos/asf/falcon/blob/0fe2762b/docs/src/site/twiki/falconcli/SubmitRecipe.twiki
----------------------------------------------------------------------
diff --git a/docs/src/site/twiki/falconcli/SubmitRecipe.twiki b/docs/src/site/twiki/falconcli/SubmitRecipe.twiki
new file mode 100644
index 0000000..d14b00d
--- /dev/null
+++ b/docs/src/site/twiki/falconcli/SubmitRecipe.twiki
@@ -0,0 +1,17 @@
+---+++ Submit Recipe
+
+[[CommonCLI][Common CLI Options]]
+
+Submit the specified recipe.
+
+Usage:
+$FALCON_HOME/bin/falcon recipe -name <name>
+Name of the recipe. User should have defined <name>-template.xml and <name>.properties in the path specified by falcon.recipe.path in client.properties file. falcon.home path is used if its not specified in client.properties file.
+If its not specified in client.properties file and also if files cannot be found at falcon.home, Falcon CLI will fail.
+
+Optional Args : -tool <recipeToolClassName>
+Falcon provides a base tool that recipes can override. If this option is not specified the default Recipe Tool
+RecipeTool defined is used. This option is required if user defines his own recipe tool class.
+
+Example:
+$FALCON_HOME/bin/falcon recipe -name hdfs-replication
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/falcon/blob/0fe2762b/docs/src/site/twiki/falconcli/SummaryEntity.twiki
----------------------------------------------------------------------
diff --git a/docs/src/site/twiki/falconcli/SummaryEntity.twiki b/docs/src/site/twiki/falconcli/SummaryEntity.twiki
new file mode 100644
index 0000000..800f9fc
--- /dev/null
+++ b/docs/src/site/twiki/falconcli/SummaryEntity.twiki
@@ -0,0 +1,14 @@
+---+++Summary
+
+[[CommonCLI][Common CLI Options]]
+
+Summary of entities of a particular type and a cluster will be listed. Entity summary has N most recent instances of entity.
+
+Usage:
+$FALCON_HOME/bin/falcon entity -type [feed|process] -summary
+
+Optional Args : -start "yyyy-MM-dd'T'HH:mm'Z'" -end "yyyy-MM-dd'T'HH:mm'Z'" -fields <<field1,field2>>
+-filterBy <<field1:value1,field2:value2>> -tags <<tagkey=tagvalue,tagkey=tagvalue>>
+-orderBy <<field>> -sortOrder <<sortOrder>> -offset 0 -numResults 10 -numInstances 7
+
+<a href="../Restapi/EntitySummary.html">Optional params described here.</a>
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/falcon/blob/0fe2762b/docs/src/site/twiki/falconcli/SummaryInstance.twiki
----------------------------------------------------------------------
diff --git a/docs/src/site/twiki/falconcli/SummaryInstance.twiki b/docs/src/site/twiki/falconcli/SummaryInstance.twiki
new file mode 100644
index 0000000..f7ca0b4
--- /dev/null
+++ b/docs/src/site/twiki/falconcli/SummaryInstance.twiki
@@ -0,0 +1,20 @@
+---+++Summary
+
+[[CommonCLI][Common CLI Options]]
+
+Summary option via CLI can be used to get the consolidated status of the instances between the specified time period.
+Each status along with the corresponding instance count are listed for each of the applicable colos.
+The unscheduled instances between the specified time period are included as UNSCHEDULED in the output to provide more clarity.
+
+Example : Suppose a process has 3 instance, one has succeeded,one is in running state and other one is waiting, the expected output is:
+
+{"status":"SUCCEEDED","message":"getSummary is successful", instancesSummary:[{"cluster": <<name>> "map":[{"SUCCEEDED":"1"}, {"WAITING":"1"}, {"RUNNING":"1"}]}]}
+
+Usage:
+$FALCON_HOME/bin/falcon instance -type <<feed/process>> -name <<name>> -summary
+
+Optional Args : -start "yyyy-MM-dd'T'HH:mm'Z'" -end "yyyy-MM-dd'T'HH:mm'Z'" -colo <<colo>>
+-filterBy <<field1:value1,field2:value2>> -lifecycle <<lifecycles>>
+-orderBy field -sortOrder <<sortOrder>>
+
+<a href="../Restapi/InstanceSummary.html">Optional params described here.</a>

http://git-wip-us.apache.org/repos/asf/falcon/blob/0fe2762b/docs/src/site/twiki/falconcli/SuspendEntity.twiki
----------------------------------------------------------------------
diff --git a/docs/src/site/twiki/falconcli/SuspendEntity.twiki b/docs/src/site/twiki/falconcli/SuspendEntity.twiki
new file mode 100644
index 0000000..7618e9c
--- /dev/null
+++ b/docs/src/site/twiki/falconcli/SuspendEntity.twiki
@@ -0,0 +1,8 @@
+---+++Suspend
+
+[[CommonCLI][Common CLI Options]]
+
+Suspend on an entity results in suspension of the oozie bundle that was scheduled earlier through the schedule function. No further instances are executed on a suspended entity. Only schedule-able entities(process/feed) can be suspended.
+
+Usage:
+$FALCON_HOME/bin/falcon entity  -type [feed|process] -name <<name>> -suspend
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/falcon/blob/0fe2762b/docs/src/site/twiki/falconcli/SuspendInstance.twiki
----------------------------------------------------------------------
diff --git a/docs/src/site/twiki/falconcli/SuspendInstance.twiki b/docs/src/site/twiki/falconcli/SuspendInstance.twiki
new file mode 100644
index 0000000..221cf5c
--- /dev/null
+++ b/docs/src/site/twiki/falconcli/SuspendInstance.twiki
@@ -0,0 +1,8 @@
+---+++Suspend
+
+[[CommonCLI][Common CLI Options]]
+
+Suspend is used to suspend a instance or instances  for the given process. This option pauses the parent workflow at the state, which it was in at the time of execution of this command.
+
+Usage:
+$FALCON_HOME/bin/falcon instance -type <<feed/process>> -name <<name>> -suspend -start "yyyy-MM-dd'T'HH:mm'Z'" -end "yyyy-MM-dd'T'HH:mm'Z'"

http://git-wip-us.apache.org/repos/asf/falcon/blob/0fe2762b/docs/src/site/twiki/falconcli/Touch.twiki
----------------------------------------------------------------------
diff --git a/docs/src/site/twiki/falconcli/Touch.twiki b/docs/src/site/twiki/falconcli/Touch.twiki
new file mode 100644
index 0000000..afbd848
--- /dev/null
+++ b/docs/src/site/twiki/falconcli/Touch.twiki
@@ -0,0 +1,10 @@
+---+++Touch
+
+[[CommonCLI][Common CLI Options]]
+
+Force Update operation allows an already submitted/scheduled entity to be updated.
+
+Usage:
+$FALCON_HOME/bin/falcon entity  -type [feed|process] -name <<name>> -touch
+
+Optional Arg : -skipDryRun. When this argument is specified, Falcon skips oozie dryrun.
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/falcon/blob/0fe2762b/docs/src/site/twiki/falconcli/TriageInstance.twiki
----------------------------------------------------------------------
diff --git a/docs/src/site/twiki/falconcli/TriageInstance.twiki b/docs/src/site/twiki/falconcli/TriageInstance.twiki
new file mode 100644
index 0000000..c2c32cd
--- /dev/null
+++ b/docs/src/site/twiki/falconcli/TriageInstance.twiki
@@ -0,0 +1,9 @@
+---+++Triage
+
+[[CommonCLI][Common CLI Options]]
+
+Given a feed/process instance this command traces it's ancestors to find what all ancestors have failed. It's useful if
+lot of instances are failing in a pipeline as it then finds out the root cause of the pipeline being stuck.
+
+Usage:
+$FALCON_HOME/bin/falcon instance -triage -type <<feed/process>> -name <<name>> -start "yyyy-MM-dd'T'HH:mm'Z'"

http://git-wip-us.apache.org/repos/asf/falcon/blob/0fe2762b/docs/src/site/twiki/falconcli/UpdateEntity.twiki
----------------------------------------------------------------------
diff --git a/docs/src/site/twiki/falconcli/UpdateEntity.twiki b/docs/src/site/twiki/falconcli/UpdateEntity.twiki
new file mode 100644
index 0000000..ae60559
--- /dev/null
+++ b/docs/src/site/twiki/falconcli/UpdateEntity.twiki
@@ -0,0 +1,14 @@
+---+++Update
+
+[[CommonCLI][Common CLI Options]]
+
+Update operation allows an already submitted/scheduled entity to be updated. Cluster and datasource updates are
+currently not allowed.
+
+Usage:
+$FALCON_HOME/bin/falcon entity  -type [feed|process] -name <<name>> -update -file <<path_to_file>>
+
+Optional Arg : -skipDryRun. When this argument is specified, Falcon skips oozie dryrun.
+
+Example:
+$FALCON_HOME/bin/falcon entity -type process -name hourly-reports-generator -update -file /process/definition.xml

http://git-wip-us.apache.org/repos/asf/falcon/blob/0fe2762b/docs/src/site/twiki/falconcli/VersionAdmin.twiki
----------------------------------------------------------------------
diff --git a/docs/src/site/twiki/falconcli/VersionAdmin.twiki b/docs/src/site/twiki/falconcli/VersionAdmin.twiki
new file mode 100644
index 0000000..453f6a1
--- /dev/null
+++ b/docs/src/site/twiki/falconcli/VersionAdmin.twiki
@@ -0,0 +1,7 @@
+---+++Version
+
+[[CommonCLI][Common CLI Options]]
+
+Version returns the current version of Falcon installed.
+Usage:
+$FALCON_HOME/bin/falcon admin -version

http://git-wip-us.apache.org/repos/asf/falcon/blob/0fe2762b/docs/src/site/twiki/falconcli/VertexEdgesMetadata.twiki
----------------------------------------------------------------------
diff --git a/docs/src/site/twiki/falconcli/VertexEdgesMetadata.twiki b/docs/src/site/twiki/falconcli/VertexEdgesMetadata.twiki
new file mode 100644
index 0000000..e9182fc
--- /dev/null
+++ b/docs/src/site/twiki/falconcli/VertexEdgesMetadata.twiki
@@ -0,0 +1,12 @@
+---+++ Vertex Edges
+
+[[CommonCLI][Common CLI Options]]
+
+Get the adjacent vertices or edges of the vertex with the specified direction.
+
+Usage:
+$FALCON_HOME/bin/falcon metadata -edges -id <<vertex-id>> -direction <<direction>>
+
+Example:
+$FALCON_HOME/bin/falcon metadata -edges -id 4 -direction both
+$FALCON_HOME/bin/falcon metadata -edges -id 4 -direction inE

http://git-wip-us.apache.org/repos/asf/falcon/blob/0fe2762b/docs/src/site/twiki/falconcli/VertexMetadata.twiki
----------------------------------------------------------------------
diff --git a/docs/src/site/twiki/falconcli/VertexMetadata.twiki b/docs/src/site/twiki/falconcli/VertexMetadata.twiki
new file mode 100644
index 0000000..b2c62e8
--- /dev/null
+++ b/docs/src/site/twiki/falconcli/VertexMetadata.twiki
@@ -0,0 +1,11 @@
+---+++ Vertex
+
+[[CommonCLI][Common CLI Options]]
+
+Get the vertex with the specified id.
+
+Usage:
+$FALCON_HOME/bin/falcon metadata -vertex -id <<id>>
+
+Example:
+$FALCON_HOME/bin/falcon metadata -vertex -id 4

http://git-wip-us.apache.org/repos/asf/falcon/blob/0fe2762b/docs/src/site/twiki/falconcli/VerticesMetadata.twiki
----------------------------------------------------------------------
diff --git a/docs/src/site/twiki/falconcli/VerticesMetadata.twiki b/docs/src/site/twiki/falconcli/VerticesMetadata.twiki
new file mode 100644
index 0000000..1b32ad5
--- /dev/null
+++ b/docs/src/site/twiki/falconcli/VerticesMetadata.twiki
@@ -0,0 +1,11 @@
+---+++ Vertices
+
+[[CommonCLI][Common CLI Options]]
+
+Get all vertices for a key index given the specified value.
+
+Usage:
+$FALCON_HOME/bin/falcon metadata -vertices -key <<key>> -value <<value>>
+
+Example:
+$FALCON_HOME/bin/falcon metadata -vertices -key type -value feed-instance

http://git-wip-us.apache.org/repos/asf/falcon/blob/0fe2762b/docs/src/site/twiki/index.twiki
----------------------------------------------------------------------
diff --git a/docs/src/site/twiki/index.twiki b/docs/src/site/twiki/index.twiki
index 7437280..a1ee0a3 100644
--- a/docs/src/site/twiki/index.twiki
+++ b/docs/src/site/twiki/index.twiki
@@ -28,7 +28,7 @@ to Falcon architecture and documentation in [[FalconDocumentation][Documentation
 describes steps to on-board a pipeline to Falcon. It also gives a sample pipeline for reference.
 [[EntitySpecification][Entity Specification]] gives complete details of all Falcon entities.
 
-[[FalconCLI][Falcon CLI]] implements [[restapi/ResourceList][Falcon's RESTful API]] and
+[[falconcli/FalconCLI][Falcon CLI]] implements [[restapi/ResourceList][Falcon's RESTful API]] and
 describes various options for the command line utility provided by Falcon.
 
 Falcon provides OOTB [[HiveIntegration][lifecycle management for Tables in Hive (HCatalog)]]