You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@oozie.apache.org by "Peter Bacsko (JIRA)" <ji...@apache.org> on 2017/10/06 12:32:02 UTC

[jira] [Resolved] (OOZIE-2903) Make sure Java action can submit MR jobs on secure clusters

     [ https://issues.apache.org/jira/browse/OOZIE-2903?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Peter Bacsko resolved OOZIE-2903.
---------------------------------
    Resolution: Done

> 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
>            Assignee: Peter Bacsko
>
> 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.4.14#64029)