Revert YARN-4126. RM should not issue delegation tokens in unsecure mode.
(cherry picked from commit bb8214cab8
)
This commit is contained in:
parent
7d826631ea
commit
dab611e605
|
@ -1218,7 +1218,7 @@ public class ClientRMService extends AbstractService implements
|
||||||
.contains(UserGroupInformation.getCurrentUser()
|
.contains(UserGroupInformation.getCurrentUser()
|
||||||
.getRealAuthenticationMethod());
|
.getRealAuthenticationMethod());
|
||||||
} else {
|
} else {
|
||||||
return false;
|
return true;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue