Package org.apache.hadoop.security
Class KerberosAuthException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.io.IOException
org.apache.hadoop.security.KerberosAuthException
- All Implemented Interfaces:
Serializable
Thrown when
UserGroupInformation failed with an unrecoverable error,
such as failure in kerberos login/logout, invalid subject etc.
Caller should not retry when catching this exception.- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionKerberosAuthException(String initialMsg, Throwable cause) KerberosAuthException(Throwable cause) -
Method Summary
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
KerberosAuthException
-
KerberosAuthException
-
KerberosAuthException
-
-
Method Details
-
setUser
-
setPrincipal
-
setKeytabFile
-
setTicketCacheFile
-
getInitialMessage
- Returns:
- The initial message, or null if not set.
-
getKeytabFile
- Returns:
- The keytab file path, or null if not set.
-
getPrincipal
- Returns:
- The principal, or null if not set.
-
getTicketCacheFile
- Returns:
- The ticket cache file path, or null if not set.
-
getUser
- Returns:
- The user, or null if not set.
-
getMessage
- Overrides:
getMessagein classThrowable
-