Description
Oozie is having issues with job submission, since it does the following:
doAs(userwhosubmittedjob) {
jobclient = new JobClient(jobconf);
}
jobclient.submitjob()
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.