[
https://issues.apache.org/jira/browse/FALCON-1162?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14518347#comment-14518347
]
Sowmya Ramesh edited comment on FALCON-1162 at 4/29/15 12:06 AM:
-----------------------------------------------------------------
[~me.venkatr]: Latest patch provided has check style violations. Please build
using "export MAVEN_OPTS="-Xmx1024m -XX:MaxPermSize=256m -noverify" && mvn
clean verify -Phadoop-2,test-patch"
Also UT FeedEvictorTest is failing
{noformat}
[INFO] Starting audit...
/Users/sramesh/Workspace/ApacheCommit/common/src/test/java/org/apache/falcon/entity/parser/ClusterEntityParserTest.java:323:
First sentence should end with a period.
Audit done.
Running org.apache.falcon.retention.FeedEvictorTest
Tests run: 8, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 4.017 sec <<<
FAILURE! - in org.apache.falcon.retention.FeedEvictorTest
testFeedBasePathExists(org.apache.falcon.retention.FeedEvictorTest) Time
elapsed: 0.346 sec <<< FAILURE!
java.lang.AssertionError: expected:<0> but was:<1>
at org.testng.Assert.fail(Assert.java:89)
at org.testng.Assert.failNotEquals(Assert.java:489)
at org.testng.Assert.assertEquals(Assert.java:118)
at org.testng.Assert.assertEquals(Assert.java:365)
at org.testng.Assert.assertEquals(Assert.java:375)
at
org.apache.falcon.retention.FeedEvictorTest.testFeedBasePathExists(FeedEvictorTest.java:449)
{noformat}
was (Author: sowmyaramesh):
[~me.venkatr]: Latest patch provided has check style violations. Please build
using "export MAVEN_OPTS="-Xmx1024m -XX:MaxPermSize=256m -noverify" && mvn
clean verify -Phadoop-2,test-patch"
{noformat}
[INFO] Starting audit...
/Users/sramesh/Workspace/ApacheCommit/common/src/test/java/org/apache/falcon/entity/parser/ClusterEntityParserTest.java:323:
First sentence should end with a period.
Audit done.
{noformat}
> Cluster submit succeeds when staging HDFS dir does not have 777 (ALL)
> permission
> ---------------------------------------------------------------------------------
>
> Key: FALCON-1162
> URL: https://issues.apache.org/jira/browse/FALCON-1162
> Project: Falcon
> Issue Type: Bug
> Components: common
> Affects Versions: 0.6
> Reporter: Venkat Ramachandran
> Assignee: Venkat Ramachandran
> Priority: Blocker
> Fix For: 0.6.1
>
> Attachments: FALCON-1162.5.patch, FALCON-1162.6.patch,
> FALCON-1162.7.patch, falcon-1162.1.patch, falcon-1162.2.patch,
> falcon-1162.3.patch
>
>
> Staging HDFS dir specified in the cluster definition should have WORLD
> WRITABLE permission. It seems Cluster entity submit used to validate this
> condition in order to avoid further runtime failures.
> But, this check had been reverted as part of the FALCON-910 commits (only
> checks for 755) as below:
> ClusterEntityParser.java
> {code}
> checkPathOwnerAndPermission(cluster.getName(),
> stagingLocation.getPath(), fs, HadoopClientFactory.READ_EXECUTE_PERMISSION,
> false);
> {code}
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)