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/05/07 11:17:06 UTC

falcon git commit: FALCON-1059 Lineage should support boostrapping. Contributed by Ajay Yadava

Repository: falcon
Updated Branches:
  refs/heads/master 7f9a77fbc -> 208d0ee6a


FALCON-1059 Lineage should support boostrapping. Contributed by Ajay Yadava


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

Branch: refs/heads/master
Commit: 208d0ee6a30b660eb6f3fdf36b6120073dc76637
Parents: 7f9a77f
Author: Ajay Yadava <aj...@gmail.com>
Authored: Thu May 7 14:46:24 2015 +0530
Committer: Ajay Yadava <aj...@gmail.com>
Committed: Thu May 7 14:46:24 2015 +0530

----------------------------------------------------------------------
 CHANGES.txt                                                    | 2 ++
 .../org/apache/falcon/metadata/MetadataMappingService.java     | 3 +--
 docs/src/site/twiki/Operability.twiki                          | 6 ++++++
 3 files changed, 9 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/falcon/blob/208d0ee6/CHANGES.txt
----------------------------------------------------------------------
diff --git a/CHANGES.txt b/CHANGES.txt
index 8fe1963..3134b11 100755
--- a/CHANGES.txt
+++ b/CHANGES.txt
@@ -6,6 +6,8 @@ Trunk (Unreleased)
   NEW FEATURES
 
   IMPROVEMENTS
+    FALCON-1059 Lineage should support bootstrapping(Ajay Yadava)
+
     FALCON-75 Falcon CLI for deleting entities should inform user if entity does not exist(Ajay Yadava)
 
     FALCON-1127 Falcon entity status is submitted when corresponding Bundle

http://git-wip-us.apache.org/repos/asf/falcon/blob/208d0ee6/common/src/main/java/org/apache/falcon/metadata/MetadataMappingService.java
----------------------------------------------------------------------
diff --git a/common/src/main/java/org/apache/falcon/metadata/MetadataMappingService.java b/common/src/main/java/org/apache/falcon/metadata/MetadataMappingService.java
index 0a77bf1..9137fe0 100644
--- a/common/src/main/java/org/apache/falcon/metadata/MetadataMappingService.java
+++ b/common/src/main/java/org/apache/falcon/metadata/MetadataMappingService.java
@@ -250,8 +250,7 @@ public class MetadataMappingService
 
     @Override
     public void onReload(Entity entity) throws FalconException {
-        // do nothing since entities are being loaded from store into memory and
-        // are already added to the graph
+        onAdd(entity);
     }
 
     @Override

http://git-wip-us.apache.org/repos/asf/falcon/blob/208d0ee6/docs/src/site/twiki/Operability.twiki
----------------------------------------------------------------------
diff --git a/docs/src/site/twiki/Operability.twiki b/docs/src/site/twiki/Operability.twiki
index ae4b717..9584569 100644
--- a/docs/src/site/twiki/Operability.twiki
+++ b/docs/src/site/twiki/Operability.twiki
@@ -5,6 +5,12 @@
 Apache Falcon provides various tools to operationalize Falcon consisting of Alerts for
 unrecoverable errors, Audits of user actions, Metrics, and Notifications. They are detailed below.
 
+++ Lineage
+
+Currently Lineage has no way to access or restore information about entity instances created during the time lineage
+was disabled. Information about entities however, is preserved and bootstrapped when lineage is enabled. If you have to
+reset the graph db then you can delete the graph db files as specified in the startup.properties and restart the falcon.
+Please note: you will loose all the information about the instances if you delete the graph db.
 
 ---++ Monitoring