[
https://issues.apache.org/jira/browse/MAPREDUCE-3443?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13161143#comment-13161143
]
Hudson commented on MAPREDUCE-3443:
-----------------------------------
Integrated in Hadoop-Common-trunk-Commit #1351 (See
[https://builds.apache.org/job/Hadoop-Common-trunk-Commit/1351/])
MAPREDUCE-3443. JobClient and Job should function in the context of the UGI
which created them. (Contributed by Mahadev Konar)
sseth : http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1209231
Files :
* /hadoop/common/trunk/hadoop-mapreduce-project/CHANGES.txt
*
/hadoop/common/trunk/hadoop-mapreduce-project/hadoop-mapreduce-client/hadoop-mapreduce-client-core/src/main/java/org/apache/hadoop/mapred/JobClient.java
*
/hadoop/common/trunk/hadoop-mapreduce-project/hadoop-mapreduce-client/hadoop-mapreduce-client-core/src/main/java/org/apache/hadoop/mapreduce/Job.java
*
/hadoop/common/trunk/hadoop-mapreduce-project/hadoop-mapreduce-client/hadoop-mapreduce-client-jobclient/src/main/java/org/apache/hadoop/mapred/ClientServiceDelegate.java
> Oozie jobs are running as oozie user even though they create the jobclient as
> doAs.
> -----------------------------------------------------------------------------------
>
> Key: MAPREDUCE-3443
> URL: https://issues.apache.org/jira/browse/MAPREDUCE-3443
> Project: Hadoop Map/Reduce
> Issue Type: Bug
> Components: mrv2
> Affects Versions: 0.23.0
> Reporter: Mahadev konar
> Assignee: Mahadev konar
> Priority: Blocker
> Fix For: 0.23.1
>
> Attachments: MAPREDUCE-3443.patch, MAPREDUCE-3443.patch,
> MAPREDUCE-3443.patch, MAPREDUCE-3443.patch, MAPREDUCE-3443.patch
>
>
> Oozie is having issues with job submission, since it does the following:
> {code}
> doAs(userwhosubmittedjob) {
> jobclient = new JobClient(jobconf);
> }
> jobclient.submitjob()
> {code}
> In 0.20.2** this works because the JT proxy is created as soon as we call new
> JobClient(). But in 0.23 this is no longer true since the client has to talk
> to multiple servers (AM/RM/JHS). To keep this behavior we will have to store
> the ugi in new JobClient() and make sure all the calls are run with a doAs()
> inside the jobclient.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators:
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira