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

Balu Vellanki commented on FALCON-753:
--------------------------------------

Tested the latest patch end2end. Patch applies cleanly and tests pass. +1 

The testing steps are as follows.
1. Created a cluster entity xml with following locations
{code}
 <locations>
        <location name="staging" path="/apps/falcon/primaryCluster/staging" />
        <location name="temp" path="/tmp" />
        <location name="working" path="/apps/falcon/primaryCluster/working" />
    </locations>
{code}
2. Submitted cluster as user hrt_qa. This failed as expected with error "Unable 
to validate the locations for cluster" because the staging and working 
locations are not created by the user. 
3. Created the staging and working dirs as user hdfs. Submit cluster as user 
hrt_qa failed as expected with error " Path 
[/apps/falcon/primaryCluster/staging] with owner [falcon] doesn't match the 
actual path  owner hdfs"
4. Changed owner of staging and working dirs to "falcon" , but chmod to 644. 
Submit cluster as user hrt_qa failed as expected  because user did not set the 
right permission on the dirs 
5. Updated permissions on staging and working dirs to 777 and 755 respectively. 
 Submission of cluster passed.

I also submitted feed, process and verified that the generated oozie workflow 
ran successfully.

> Change the ownership for staging dir to user submitting the feed
> ----------------------------------------------------------------
>
>                 Key: FALCON-753
>                 URL: https://issues.apache.org/jira/browse/FALCON-753
>             Project: Falcon
>          Issue Type: Sub-task
>          Components: oozie
>    Affects Versions: 0.6
>            Reporter: Venkatesh Seetharam
>            Assignee: Venkatesh Seetharam
>              Labels: backward-incompatible
>             Fix For: 0.6
>
>         Attachments: FALCON-753-review-v1.patch, FALCON-753-review.patch, 
> FALCON-753-v0.patch
>
>




--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to