falcon-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ajayyad...@apache.org
Subject falcon git commit: FALCON-1694 Status API shows params along with instance status. Contributed by Pallavi Rao.
Date Tue, 29 Dec 2015 04:49:22 GMT
Repository: falcon
Updated Branches:
  refs/heads/master 7a74bb0c6 -> 8671eae06


FALCON-1694 Status API shows params along with instance status. Contributed by Pallavi Rao.


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

Branch: refs/heads/master
Commit: 8671eae06c215e82597c90dd9388916d48ae3837
Parents: 7a74bb0
Author: Ajay Yadava <ajaynsit@gmail.com>
Authored: Mon Dec 28 20:42:54 2015 +0530
Committer: Ajay Yadava <ajaynsit@gmail.com>
Committed: Mon Dec 28 20:42:54 2015 +0530

----------------------------------------------------------------------
 CHANGES.txt                                                        | 2 ++
 .../org/apache/falcon/workflow/engine/FalconWorkflowEngine.java    | 2 ++
 2 files changed, 4 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/falcon/blob/8671eae0/CHANGES.txt
----------------------------------------------------------------------
diff --git a/CHANGES.txt b/CHANGES.txt
index 6f1e490..5be5cac 100755
--- a/CHANGES.txt
+++ b/CHANGES.txt
@@ -88,6 +88,8 @@ Trunk (Unreleased)
   OPTIMIZATIONS
 
   BUG FIXES
+    FALCON-1694 Status API shows params along with instance status(Pallavi Rao via Ajay Yadava)
+
     FALCON-1681 Improve logging for idempotent behaviour while scheduling entities(Pallavi
Rao via Ajay Yadava)
 
     FALCON-1680 Error message is not intuitive when entity schedule fails(Pallavi Rao via
Ajay Yadava)

http://git-wip-us.apache.org/repos/asf/falcon/blob/8671eae0/scheduler/src/main/java/org/apache/falcon/workflow/engine/FalconWorkflowEngine.java
----------------------------------------------------------------------
diff --git a/scheduler/src/main/java/org/apache/falcon/workflow/engine/FalconWorkflowEngine.java
b/scheduler/src/main/java/org/apache/falcon/workflow/engine/FalconWorkflowEngine.java
index 989c6e0..bceab72 100644
--- a/scheduler/src/main/java/org/apache/falcon/workflow/engine/FalconWorkflowEngine.java
+++ b/scheduler/src/main/java/org/apache/falcon/workflow/engine/FalconWorkflowEngine.java
@@ -286,6 +286,8 @@ public class FalconWorkflowEngine extends AbstractWorkflowEngine {
                             .getExecutionInstance(instance.getId()).getCurrentState().name());
             break;
         case STATUS:
+            // Mask wfParams
+            instanceInfo.wfParams = null;
             if (StringUtils.isNotEmpty(instance.getExternalID())) {
                 List<InstancesResult.InstanceAction> instanceActions =
                         DAGEngineFactory.getDAGEngine(cluster).getJobDetails(instance.getExternalID());


Mime
View raw message