[ 
https://issues.apache.org/jira/browse/YARN-4126?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14740832#comment-14740832
 ] 

Jian He edited comment on YARN-4126 at 9/11/15 1:48 PM:
--------------------------------------------------------

You can try using below changes ?

{code}
-      UserGroupInformation.createRemoteUser("owner");
+      UserGroupInformation.createRemoteUser("owner", AuthMethod.KERBEROS);
   private static final UserGroupInformation other =
-      UserGroupInformation.createRemoteUser("other");
+      UserGroupInformation.createRemoteUser("other", AuthMethod.KERBEROS);
   private static final UserGroupInformation tester =
-      UserGroupInformation.createRemoteUser("tester");
+      UserGroupInformation.createRemoteUser("tester", AuthMethod.KERBEROS);
{code}


was (Author: jianhe):
You can try using below changes ?

{code}
-      UserGroupInformation.createRemoteUser("other");
+      UserGroupInformation.createRemoteUser("other", AuthMethod.KERBEROS);
{code}

> RM should not issue delegation tokens in unsecure mode
> ------------------------------------------------------
>
>                 Key: YARN-4126
>                 URL: https://issues.apache.org/jira/browse/YARN-4126
>             Project: Hadoop YARN
>          Issue Type: Bug
>            Reporter: Jian He
>            Assignee: Bibin A Chundatt
>         Attachments: 0001-YARN-4126.patch, 0002-YARN-4126.patch, 
> 0003-YARN-4126.patch, 0004-YARN-4126.patch, 0005-YARN-4126.patch
>
>
> ClientRMService#getDelegationToken is currently  returning a delegation token 
> in insecure mode. We should not return the token if it's in insecure mode. 



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to