You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@falcon.apache.org by su...@apache.org on 2015/04/09 09:36:18 UTC
falcon git commit: FALCON-1142
ClusterEntityParserTest.testClusterWithOnlyStaging fails when run alone.
Contributed by Pallavi Rao
Repository: falcon
Updated Branches:
refs/heads/master 4b0a920f6 -> 40be65d5d
FALCON-1142 ClusterEntityParserTest.testClusterWithOnlyStaging fails when run alone. 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/40be65d5
Tree: http://git-wip-us.apache.org/repos/asf/falcon/tree/40be65d5
Diff: http://git-wip-us.apache.org/repos/asf/falcon/diff/40be65d5
Branch: refs/heads/master
Commit: 40be65d5d3d8cfba166494334e5bc7e5305b5e70
Parents: 4b0a920
Author: Suhas Vasu <su...@inmobi.com>
Authored: Thu Apr 9 13:05:25 2015 +0530
Committer: Suhas Vasu <su...@inmobi.com>
Committed: Thu Apr 9 13:05:25 2015 +0530
----------------------------------------------------------------------
CHANGES.txt | 19 +++++++++++++++++--
.../entity/parser/ClusterEntityParserTest.java | 3 ++-
2 files changed, 19 insertions(+), 3 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/falcon/blob/40be65d5/CHANGES.txt
----------------------------------------------------------------------
diff --git a/CHANGES.txt b/CHANGES.txt
index 399e401..8cda779 100755
--- a/CHANGES.txt
+++ b/CHANGES.txt
@@ -1,7 +1,19 @@
Apache Falcon Change log
Trunk (Unreleased)
+ INCOMPATIBLE CHANGES
+
+ NEW FEATURES
+
+ IMPROVEMENTS
+ FALCON-1142 ClusterEntityParserTest.testClusterWithOnlyStaging
+ fails when run alone(Pallavi Rao via Suhas Vasu)
+ OPTIMIZATIONS
+
+ BUG FIXES
+
+Branch: 0.6.1 (Proposed Release Version: 0.6.1)
INCOMPATIBLE CHANGES
NEW FEATURES
@@ -16,8 +28,11 @@ Trunk (Unreleased)
FALCON-822 Add reverse look up API (Ajay Yadava via Suhas Vasu)
IMPROVEMENTS
- FALCON-1128 Adding getter methods to FeedLookupResult(KArishma G
- via Samarth)
+ FALCON-1142 ClusterEntityParserTest.testClusterWithOnlyStaging
+ fails when run alone(Pallavi Rao via Suhas Vasu)
+
+ FALCON-1128 Adding getter methods to FeedLookupResult
+ (Karishma Gulati via Samarth)
FALCON-1086 Support execution-order of a feed to be overridden
for replication coord (Shaik Idris Ali via Suhas Vasu)
http://git-wip-us.apache.org/repos/asf/falcon/blob/40be65d5/common/src/test/java/org/apache/falcon/entity/parser/ClusterEntityParserTest.java
----------------------------------------------------------------------
diff --git a/common/src/test/java/org/apache/falcon/entity/parser/ClusterEntityParserTest.java b/common/src/test/java/org/apache/falcon/entity/parser/ClusterEntityParserTest.java
index 5085b24..acc14a4 100644
--- a/common/src/test/java/org/apache/falcon/entity/parser/ClusterEntityParserTest.java
+++ b/common/src/test/java/org/apache/falcon/entity/parser/ClusterEntityParserTest.java
@@ -285,13 +285,14 @@ public class ClusterEntityParserTest extends AbstractTestBase {
Mockito.doNothing().when(clusterEntityParser).validateWorkflowInterface(cluster);
Mockito.doNothing().when(clusterEntityParser).validateMessagingInterface(cluster);
Mockito.doNothing().when(clusterEntityParser).validateRegistryInterface(cluster);
+ this.dfsCluster.getFileSystem().mkdirs(new Path(ClusterHelper.getLocation(cluster,
+ ClusterLocationType.STAGING).getPath()), HadoopClientFactory.READ_EXECUTE_PERMISSION);
clusterEntityParser.validate(cluster);
String workingDirPath = cluster.getLocations().getLocations().get(0).getPath() + "/working";
Assert.assertEquals(ClusterHelper.getLocation(cluster, ClusterLocationType.WORKING).getPath(), workingDirPath);
FileStatus workingDirStatus = this.dfsCluster.getFileSystem().getFileLinkStatus(new Path(workingDirPath));
Assert.assertTrue(workingDirStatus.isDirectory());
Assert.assertEquals(workingDirStatus.getPermission(), HadoopClientFactory.READ_EXECUTE_PERMISSION);
-
}
/**