HADOOP-13026 Should not wrap IOExceptions into a AuthenticationException in KerberosAuthenticator. Xuan Gong via stevel
This commit is contained in:
parent
b6afb4a951
commit
f225b5514f
|
@ -329,7 +329,11 @@ public class KerberosAuthenticator implements Authenticator {
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
} catch (PrivilegedActionException ex) {
|
} catch (PrivilegedActionException ex) {
|
||||||
throw new AuthenticationException(ex.getException());
|
if (ex.getException() instanceof IOException) {
|
||||||
|
throw (IOException) ex.getException();
|
||||||
|
} else {
|
||||||
|
throw new AuthenticationException(ex.getException());
|
||||||
|
}
|
||||||
} catch (LoginException ex) {
|
} catch (LoginException ex) {
|
||||||
throw new AuthenticationException(ex);
|
throw new AuthenticationException(ex);
|
||||||
}
|
}
|
||||||
|
|
|
@ -320,6 +320,9 @@ Release 2.7.4 - UNRELEASED
|
||||||
HDFS-6291. FSImage may be left unclosed in BootstrapStandby#doRun()
|
HDFS-6291. FSImage may be left unclosed in BootstrapStandby#doRun()
|
||||||
(Sanghyun Yun via vinayakumarb)
|
(Sanghyun Yun via vinayakumarb)
|
||||||
|
|
||||||
|
HADOOP-13026 Should not wrap IOExceptions into a AuthenticationException in
|
||||||
|
KerberosAuthenticator. Xuan Gong via stevel
|
||||||
|
|
||||||
Release 2.7.3 - 2016-08-25
|
Release 2.7.3 - 2016-08-25
|
||||||
|
|
||||||
INCOMPATIBLE CHANGES
|
INCOMPATIBLE CHANGES
|
||||||
|
|
Loading…
Reference in New Issue