Peter Cseh created OOZIE-2903:
---------------------------------

             Summary: Make sure Java action can submit MR jobs on secure 
clusters
                 Key: OOZIE-2903
                 URL: https://issues.apache.org/jira/browse/OOZIE-2903
             Project: Oozie
          Issue Type: Sub-task
            Reporter: Peter Cseh


In JavaActionExecutor we've commented out the part where Oozie asks for the MR 
delegation tokens:
{noformat}
 // TODO: OYA: do we actually need an MR token?  IIRC, it's issued by the JHS
//                // setting up propagation of the delegation token.
//                Token<DelegationTokenIdentifier> mrdt = null;
//                HadoopAccessorService has = 
Services.get().get(HadoopAccessorService.class);
//                mrdt = jobClient.getDelegationToken(has
//                        .getMRDelegationTokenRenewer(launcherJobConf));
//                
launcherJobConf.getCredentials().addToken(HadoopAccessorService.MR_TOKEN_ALIAS, 
mrdt);
{noformat}

We should make sure that MR jobs can be submitted from Java action on secure 
clusters. If we need to ask for MR tokens, do it.



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)

Reply via email to