Member since
08-23-2016
2
Posts
0
Kudos Received
0
Solutions
08-29-2016
10:13 AM
Instead of invoking the sqoop action from shell, i created a sub workflow that does the sqoop job and then called the sub workflow from the main Oozie workflow. The subworkflow will be invoked with submitter as the current user. So problem solved for me.
... View more
08-23-2016
06:29 AM
I am trying to invoke a sqoop oozie job from a oozie shell action . But i am getting following error and oozie sqoop job is in suspended status. JA009: Permission denied: user=yarn, access=WRITE, inode="/user":hdfs:supergroup:drwxr-xr-x at org.apache.hadoop.hdfs.server.namenode.DefaultAuthorizationProvider.checkFsPermission (DefaultAuthorizationProvider.java:257) at org.apache.hadoop.hdfs.server.namenode.DefaultAuthorizationProvider.check (DefaultAuthorizationProvider.java:238) at org.apache.hadoop.hdfs.server.namenode.DefaultAuthorizationProvider.check (DefaultAuthorizationProvider.java:216) at org.apache.hadoop.hdfs.server.namenode.De I know the issue is the job is invoked by yarn and its not having WRITE permission on /user folder. As per your solution i need to change permission rights of /user. But in my company it's not possible since i don't have rights to do that and there are so many users there. I have tried to change the sqoop import operation to a /temp folder where there is WRITE access to all users.But i am still getting same error. I don't know why its is always referring to /user folder. Is there any other way i can resolve this issue? Thanks in advace.
... View more