Class MRDelegationTokenRenewer
java.lang.Object
org.apache.hadoop.security.token.TokenRenewer
org.apache.hadoop.mapreduce.v2.security.MRDelegationTokenRenewer
@Private
public class MRDelegationTokenRenewer
extends org.apache.hadoop.security.token.TokenRenewer
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidcancel(org.apache.hadoop.security.token.Token<?> token, org.apache.hadoop.conf.Configuration conf) booleanhandleKind(org.apache.hadoop.io.Text kind) protected MRClientProtocolinstantiateHistoryProxy(org.apache.hadoop.conf.Configuration conf, InetSocketAddress hsAddress) booleanisManaged(org.apache.hadoop.security.token.Token<?> token) longrenew(org.apache.hadoop.security.token.Token<?> token, org.apache.hadoop.conf.Configuration conf) protected voidstopHistoryProxy(MRClientProtocol proxy)
-
Constructor Details
-
MRDelegationTokenRenewer
public MRDelegationTokenRenewer()
-
-
Method Details
-
handleKind
public boolean handleKind(org.apache.hadoop.io.Text kind) - Specified by:
handleKindin classorg.apache.hadoop.security.token.TokenRenewer
-
renew
public long renew(org.apache.hadoop.security.token.Token<?> token, org.apache.hadoop.conf.Configuration conf) throws IOException, InterruptedException - Specified by:
renewin classorg.apache.hadoop.security.token.TokenRenewer- Throws:
IOExceptionInterruptedException
-
cancel
public void cancel(org.apache.hadoop.security.token.Token<?> token, org.apache.hadoop.conf.Configuration conf) throws IOException, InterruptedException - Specified by:
cancelin classorg.apache.hadoop.security.token.TokenRenewer- Throws:
IOExceptionInterruptedException
-
isManaged
- Specified by:
isManagedin classorg.apache.hadoop.security.token.TokenRenewer- Throws:
IOException
-
stopHistoryProxy
-
instantiateHistoryProxy
protected MRClientProtocol instantiateHistoryProxy(org.apache.hadoop.conf.Configuration conf, InetSocketAddress hsAddress) throws IOException - Throws:
IOException
-