|
@@ -2968,7 +2968,7 @@ public class NativeAzureFileSystem extends FileSystem {
|
|
* @throws IOException thrown when getting the current user.
|
|
* @throws IOException thrown when getting the current user.
|
|
*/
|
|
*/
|
|
@Override
|
|
@Override
|
|
- public Token<?> getDelegationToken(final String renewer) throws IOException {
|
|
|
|
|
|
+ public synchronized Token<?> getDelegationToken(final String renewer) throws IOException {
|
|
if (kerberosSupportEnabled) {
|
|
if (kerberosSupportEnabled) {
|
|
try {
|
|
try {
|
|
final UserGroupInformation ugi = UserGroupInformation.getCurrentUser();
|
|
final UserGroupInformation ugi = UserGroupInformation.getCurrentUser();
|