You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@falcon.apache.org by ro...@apache.org on 2014/09/18 15:24:35 UTC

[1/2] git commit: FALCON-736 OneNonCatInputOneHCatOutput test fails because of change in parameter name. Contributed by Raghav Kumar Gautam

Repository: incubator-falcon
Updated Branches:
  refs/heads/master a0f180490 -> 7dbec734e


FALCON-736 OneNonCatInputOneHCatOutput test fails because of change in parameter name. Contributed by Raghav Kumar Gautam


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

Branch: refs/heads/master
Commit: 73ce4105dfd33fbc5750558f93322509740d28dc
Parents: a0f1804
Author: Ruslan Ostafiychuk <ro...@apache.org>
Authored: Thu Sep 18 16:23:15 2014 +0300
Committer: Ruslan Ostafiychuk <ro...@apache.org>
Committed: Thu Sep 18 16:23:15 2014 +0300

----------------------------------------------------------------------
 falcon-regression/CHANGES.txt                                     | 3 +++
 .../src/test/resources/hcat/hivescript/script_non_hcat_input.hql  | 2 +-
 2 files changed, 4 insertions(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-falcon/blob/73ce4105/falcon-regression/CHANGES.txt
----------------------------------------------------------------------
diff --git a/falcon-regression/CHANGES.txt b/falcon-regression/CHANGES.txt
index d4f0a0d..3b4ec02 100644
--- a/falcon-regression/CHANGES.txt
+++ b/falcon-regression/CHANGES.txt
@@ -73,6 +73,9 @@ Trunk (Unreleased)
    FALCON-681 delete duplicate feed retention test from falcon regression (SamarthG)
 
   BUG FIXES
+   FALCON-736 OneNonCatInputOneHCatOutput test fails because of change in parameter name (Raghav Kumar Gautam
+   via Ruslan Ostafiychuk)
+
    FALCON-733 HCatProcess tests fail because _SUCCESS file is non-zero size (Raghav Kumar Gautam
    via Ruslan Ostafiychuk)
 

http://git-wip-us.apache.org/repos/asf/incubator-falcon/blob/73ce4105/falcon-regression/merlin/src/test/resources/hcat/hivescript/script_non_hcat_input.hql
----------------------------------------------------------------------
diff --git a/falcon-regression/merlin/src/test/resources/hcat/hivescript/script_non_hcat_input.hql b/falcon-regression/merlin/src/test/resources/hcat/hivescript/script_non_hcat_input.hql
index 935d6dc..49543e7 100644
--- a/falcon-regression/merlin/src/test/resources/hcat/hivescript/script_non_hcat_input.hql
+++ b/falcon-regression/merlin/src/test/resources/hcat/hivescript/script_non_hcat_input.hql
@@ -21,7 +21,7 @@ CREATE EXTERNAL TABLE ${falcon_outputData_database}.temp_table_on_raw_data(id ST
  LOCATION '${inputData}';
 
 INSERT OVERWRITE TABLE ${falcon_outputData_database}.${falcon_outputData_table}
- PARTITION (dt='${falcon_outputData_dated_partition_value}')
+ PARTITION (dt='${falcon_outputData_dated_partition_value_dt}')
  SELECT id, value FROM temp_table_on_raw_data;
 
 DROP TABLE IF EXISTS ${falcon_outputData_database}.temp_table_on_raw_data;
\ No newline at end of file


[2/2] git commit: FALCON-737 In NoOutputProcessTest print info before assertion. Contributed by Raghav Kumar Gautam

Posted by ro...@apache.org.
FALCON-737 In NoOutputProcessTest print info before assertion. Contributed by Raghav Kumar Gautam


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

Branch: refs/heads/master
Commit: 7dbec734e047b6dd039eda9ecef06208fd989fb4
Parents: 73ce410
Author: Ruslan Ostafiychuk <ro...@apache.org>
Authored: Thu Sep 18 16:24:00 2014 +0300
Committer: Ruslan Ostafiychuk <ro...@apache.org>
Committed: Thu Sep 18 16:24:00 2014 +0300

----------------------------------------------------------------------
 falcon-regression/CHANGES.txt                           |  2 ++
 .../apache/falcon/regression/NoOutputProcessTest.java   | 12 ++++++------
 2 files changed, 8 insertions(+), 6 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-falcon/blob/7dbec734/falcon-regression/CHANGES.txt
----------------------------------------------------------------------
diff --git a/falcon-regression/CHANGES.txt b/falcon-regression/CHANGES.txt
index 3b4ec02..2d8d631 100644
--- a/falcon-regression/CHANGES.txt
+++ b/falcon-regression/CHANGES.txt
@@ -73,6 +73,8 @@ Trunk (Unreleased)
    FALCON-681 delete duplicate feed retention test from falcon regression (SamarthG)
 
   BUG FIXES
+   FALCON-737 In NoOutputProcessTest print info before assertion (Raghav Kumar Gautam via Ruslan Ostafiychuk)
+
    FALCON-736 OneNonCatInputOneHCatOutput test fails because of change in parameter name (Raghav Kumar Gautam
    via Ruslan Ostafiychuk)
 

http://git-wip-us.apache.org/repos/asf/incubator-falcon/blob/7dbec734/falcon-regression/merlin/src/test/java/org/apache/falcon/regression/NoOutputProcessTest.java
----------------------------------------------------------------------
diff --git a/falcon-regression/merlin/src/test/java/org/apache/falcon/regression/NoOutputProcessTest.java b/falcon-regression/merlin/src/test/java/org/apache/falcon/regression/NoOutputProcessTest.java
index 45714ce..871e8dc 100644
--- a/falcon-regression/merlin/src/test/java/org/apache/falcon/regression/NoOutputProcessTest.java
+++ b/falcon-regression/merlin/src/test/java/org/apache/falcon/regression/NoOutputProcessTest.java
@@ -114,10 +114,10 @@ public class NoOutputProcessTest extends BaseTestClass {
         //wait for all the instances to complete
         InstanceUtil.waitTillInstanceReachState(clusterOC, bundles[0].getProcessName(), 3,
             CoordinatorAction.Status.SUCCEEDED, EntityType.PROCESS);
-        Assert.assertEquals(messageConsumer.getReceivedMessages().size(), 3,
-            " Message for all the 3 instance not found");
         messageConsumer.interrupt();
         Util.printMessageData(messageConsumer);
+        Assert.assertEquals(messageConsumer.getReceivedMessages().size(), 3,
+            " Message for all the 3 instance not found");
     }
 
     /**
@@ -138,14 +138,14 @@ public class NoOutputProcessTest extends BaseTestClass {
         //wait for all the instances to complete
         InstanceUtil.waitTillInstanceReachState(clusterOC, bundles[0].getProcessName(), 3,
             CoordinatorAction.Status.SUCCEEDED, EntityType.PROCESS);
-        Assert.assertEquals(consumerEntityMsg.getReceivedMessages().size(), 3,
-            " Message for all the 3 instance not found");
-        Assert.assertEquals(consumerProcessMsg.getReceivedMessages().size(), 3,
-            " Message for all the 3 instance not found");
         consumerEntityMsg.interrupt();
         consumerProcessMsg.interrupt();
         Util.printMessageData(consumerEntityMsg);
         Util.printMessageData(consumerProcessMsg);
+        Assert.assertEquals(consumerEntityMsg.getReceivedMessages().size(), 3,
+            " Message for all the 3 instance not found");
+        Assert.assertEquals(consumerProcessMsg.getReceivedMessages().size(), 3,
+            " Message for all the 3 instance not found");
     }
 
     @AfterClass(alwaysRun = true)