[ 
https://issues.apache.org/jira/browse/FALCON-2056?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Sowmya Ramesh updated FALCON-2056:
----------------------------------
    Description: 
When falcon hivedr jobs are executed with multiple users. Jobs are failing with 
the following error:

{noformat}
Invalid arguments: Permission denied: user=ambari-qa, access=WRITE, 
inode="/apps/data-mirroring/Events/sowmya-hivedr":hrt_qa:users:drwxr-xr-x
at 
org.apache.hadoop.hdfs.server.namenode.FSPermissionChecker.check(FSPermissionChecker.java:319)
at 
org.apache.hadoop.hdfs.server.namenode.FSPermissionChecker.check(FSPermissionChecker.java:292)
at 
org.apache.hadoop.hdfs.server.namenode.FSPermissionChecker.checkPermission(FSPermissionChecker.j
{noformat}



  was:
When falcon hivedr jobs are executed with multiple users. Jobs are failing with 
the following error:

{noformat}
Invalid arguments: Permission denied: user=ambari-qa, access=WRITE, 
inode="/apps/data-mirroring/Events/sowmya-hivedr":hrt_qa:users:drwxr-xr-x
at 
org.apache.hadoop.hdfs.server.namenode.FSPermissionChecker.check(FSPermissionChecker.java:319)
at 
org.apache.hadoop.hdfs.server.namenode.FSPermissionChecker.check(FSPermissionChecker.java:292)
at 
org.apache.hadoop.hdfs.server.namenode.FSPermissionChecker.checkPermission(FSPermissionChecker.j
{noformat}

Reason:
Reason is /apps/data-mirroring/Events is created by first user who submits the 
job say ambari-qa. Permission of this dir was 
inode="/apps/data-mirroring/Events"ambari-qa_qa:users:drwxr-xr-x. Now if second 
user hrt_qa submits the job he won't have write access. Permission should be 
set to 770 for /apps/data-mirroring/Events/"


> HiveDR doesn't work with multiple users
> ---------------------------------------
>
>                 Key: FALCON-2056
>                 URL: https://issues.apache.org/jira/browse/FALCON-2056
>             Project: Falcon
>          Issue Type: Bug
>          Components: replication
>    Affects Versions: trunk
>            Reporter: Murali Ramasami
>            Assignee: Sowmya Ramesh
>             Fix For: trunk
>
>
> When falcon hivedr jobs are executed with multiple users. Jobs are failing 
> with the following error:
> {noformat}
> Invalid arguments: Permission denied: user=ambari-qa, access=WRITE, 
> inode="/apps/data-mirroring/Events/sowmya-hivedr":hrt_qa:users:drwxr-xr-x
> at 
> org.apache.hadoop.hdfs.server.namenode.FSPermissionChecker.check(FSPermissionChecker.java:319)
> at 
> org.apache.hadoop.hdfs.server.namenode.FSPermissionChecker.check(FSPermissionChecker.java:292)
> at 
> org.apache.hadoop.hdfs.server.namenode.FSPermissionChecker.checkPermission(FSPermissionChecker.j
> {noformat}



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

Reply via email to