falcon-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From venkat...@apache.org
Subject git commit: FALCON-324 Document lineage feature - adds cli. Contributed by Sowmya Ramesh
Date Wed, 07 May 2014 21:45:42 GMT
Repository: incubator-falcon
Updated Branches:
  refs/heads/master 623ee4a66 -> 7700dc268


FALCON-324 Document lineage feature - adds cli. Contributed by Sowmya Ramesh


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

Branch: refs/heads/master
Commit: 7700dc2689f9547c1dd4fd88a003543f177e39ee
Parents: 623ee4a
Author: Venkatesh Seetharam <venkatesh@apache.org>
Authored: Wed May 7 14:45:30 2014 -0700
Committer: Venkatesh Seetharam <venkatesh@apache.org>
Committed: Wed May 7 14:45:30 2014 -0700

----------------------------------------------------------------------
 docs/src/site/twiki/FalconCLI.twiki            | 44 +++++++++++++++++++++
 docs/src/site/twiki/restapi/ResourceList.twiki | 18 ++++-----
 2 files changed, 53 insertions(+), 9 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-falcon/blob/7700dc26/docs/src/site/twiki/FalconCLI.twiki
----------------------------------------------------------------------
diff --git a/docs/src/site/twiki/FalconCLI.twiki b/docs/src/site/twiki/FalconCLI.twiki
index c649cd4..bf2f15d 100644
--- a/docs/src/site/twiki/FalconCLI.twiki
+++ b/docs/src/site/twiki/FalconCLI.twiki
@@ -165,6 +165,50 @@ Usage:
 $FALCON_HOME/bin/falcon instance -type <<feed/process>> -name <<name>>
-logs -start "yyyy-MM-dd'T'HH:mm'Z'" [-end "yyyy-MM-dd'T'HH:mm'Z'"] [-runid <<runid>>]
 
 
+---++ Graphs Options
+
+---+++ Vertex
+
+Get the vertex with the specified id.
+
+Usage:
+$FALCON_HOME/bin/falcon graph -vertex -id <<id>>
+
+Example:
+$FALCON_HOME/bin/falcon graph -vertex -id 4
+
+---+++ Vertices
+
+Get all vertices for a key index given the specified value.
+
+Usage:
+$FALCON_HOME/bin/falcon graph -vertices -key <<key>> -value <<value>>
+
+Example:
+$FALCON_HOME/bin/falcon graph -vertices -key type -value feed-instance
+
+---+++ Vertex Edges
+
+Get the adjacent vertices or edges of the vertex with the specified direction.
+
+Usage:
+$FALCON_HOME/bin/falcon graph -edges -id <<vertex-id>> -direction <<direction>>
+
+Example:
+$FALCON_HOME/bin/falcon graph -edges -id 4 -direction both
+$FALCON_HOME/bin/falcon graph -edges -id 4 -direction inE
+
+---+++ Edge
+
+Get the edge with the specified id.
+
+Usage:
+$FALCON_HOME/bin/falcon graph -edge -id <<id>>
+
+Example:
+$FALCON_HOME/bin/falcon graph -edge -id Q9n-Q-5g
+
+
 ---++Admin Options
 
 ---+++Help

http://git-wip-us.apache.org/repos/asf/incubator-falcon/blob/7700dc26/docs/src/site/twiki/restapi/ResourceList.twiki
----------------------------------------------------------------------
diff --git a/docs/src/site/twiki/restapi/ResourceList.twiki b/docs/src/site/twiki/restapi/ResourceList.twiki
index ad0a53f..677880c 100644
--- a/docs/src/site/twiki/restapi/ResourceList.twiki
+++ b/docs/src/site/twiki/restapi/ResourceList.twiki
@@ -64,12 +64,12 @@ See also: [[../Security.twiki][Security in Falcon]]
 
 ---++ REST Call on Lineage Graph
 
-| *Call Type* | *Resource*                                                              
            | *Description*                                       |
-| GET         | [[Graph][api/graphs/lineage/serialize]]                                 
            | dump the graph                                      |
-| GET         | [[AllVertices][api/graphs/lineage/vertices/all]]                        
            | get all vertices                                    |
-| GET         | [[Vertices][api/graphs/lineage/vertices?key=:key&value=:value]]     
                | get all vertices for a key index                    |
-| GET         | [[Vertex][api/graphs/lineage/vertices/:id]]                             
            | get vertex with id <id>                             |
-| GET         | [[VertexProperties][api/graphs/lineage/vertices/properties/:id?relationships=:true]]
| get vertex properties with id                       |
-| GET         | [[AdjacentVertices][api/graphs/lineage/vertices/:id/:direction]]        
            | get the adjacent vertices or edges with a direction |
-| GET         | [[AllEdges][api/graphs/lineage//edges/all]]                             
            | get all edges                                       |
-| GET         | [[Edge][api/graphs/lineage/edges/:id]]                                  
            | get edge with id <id>                               |
\ No newline at end of file
+| *Call Type* | *Resource*                                                              
            | *Description*                                                              
  |
+| GET         | [[Graph][api/graphs/lineage/serialize]]                                 
            | dump the graph                                                             
  |
+| GET         | [[AllVertices][api/graphs/lineage/vertices/all]]                        
            | get all vertices                                                           
  |
+| GET         | [[Vertices][api/graphs/lineage/vertices?key=:key&value=:value]]     
                | get all vertices for a key index                                       
      |
+| GET         | [[Vertex][api/graphs/lineage/vertices/:id]]                             
            | get the vertex with the specified id                                       
  |
+| GET         | [[VertexProperties][api/graphs/lineage/vertices/properties/:id?relationships=:true]]
| get the properties of the vertex with the specified id                        |
+| GET         | [[AdjacentVertices][api/graphs/lineage/vertices/:id/:direction]]        
            | get the adjacent vertices or edges of the vertex with the specified direction
|
+| GET         | [[AllEdges][api/graphs/lineage//edges/all]]                             
            | get all edges                                                              
  |
+| GET         | [[Edge][api/graphs/lineage/edges/:id]]                                  
            | get the edge with the specified id                                         
  |


Mime
View raw message