You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@oozie.apache.org by "Anuroopa George (JIRA)" <ji...@apache.org> on 2014/07/31 20:21:39 UTC
[jira] [Created] (OOZIE-1955) Unable to run hive scripts from Oozie
shell action
Anuroopa George created OOZIE-1955:
--------------------------------------
Summary: Unable to run hive scripts from Oozie shell action
Key: OOZIE-1955
URL: https://issues.apache.org/jira/browse/OOZIE-1955
Project: Oozie
Issue Type: Bug
Affects Versions: 4.0.0
Environment: Hive .12,Oozie 4.0
Reporter: Anuroopa George
Fix For: 4.0.0
While trying to execute Hive script from shell script(shell action of Oozie) using hive -f command,Hive script fails.
The problem is that the shell script is submitted from Oozie as mapred user,and the staging area is created with respect to the user who submits the Oozie workflow.So mapred user is unable to
access this staging area and the hive scripts get failed.
Below is the exception:
java.io.IOException: The ownership on the staging directory hdfs://nameservice1/user/user1/.staging is not as expected.
It is owned by user1. The directory must be owned by the submitter mapred or by mapred
at org.apache.hadoop.mapreduce.JobSubmissionFiles.getStagingDir(JobSubmissionFiles.java:113)
--
This message was sent by Atlassian JIRA
(v6.2#6252)