Package org.apache.flink.runtime.hadoop
Class HadoopUserUtils
java.lang.Object
org.apache.flink.runtime.hadoop.HadoopUserUtils
Utility class for working with Hadoop user related classes. This should only be used if Hadoop is
on the classpath.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic longgetIssueDate(Clock clock, String tokenKind, org.apache.hadoop.security.token.delegation.AbstractDelegationTokenIdentifier identifier) static booleanhasUserKerberosAuthMethod(org.apache.hadoop.security.UserGroupInformation ugi) static booleanisProxyUser(org.apache.hadoop.security.UserGroupInformation ugi)
-
Constructor Details
-
HadoopUserUtils
public HadoopUserUtils()
-
-
Method Details
-
isProxyUser
public static boolean isProxyUser(org.apache.hadoop.security.UserGroupInformation ugi) -
hasUserKerberosAuthMethod
public static boolean hasUserKerberosAuthMethod(org.apache.hadoop.security.UserGroupInformation ugi) -
getIssueDate
-