falcon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Sowmya Ramesh (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (FALCON-1162) Cluster submit succeeds when staging HDFS dir does not have 777 (ALL) permission
Date Wed, 29 Apr 2015 00:10:07 GMT

    [ https://issues.apache.org/jira/browse/FALCON-1162?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14518403#comment-14518403
] 

Sowmya Ramesh commented on FALCON-1162:
---------------------------------------

I see that test FeedEvictorTest failed on 04/25 too. I think it fails intermittently. [~peeyushb]:
Can you please take a look? I will also create a jira to track this.

{noformat}
Running org.apache.falcon.retention.FeedEvictorTest
Tests run: 8, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 3.547 sec <<< FAILURE!
- in org.apache.falcon.retention.FeedEvictorTest
testFeedBasePathExists(org.apache.falcon.retention.FeedEvictorTest)  Time elapsed: 0.236 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}

> 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.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)

Mime
View raw message