java.io.Closeable, java.lang.AutoCloseable, org.apache.hadoop.service.Servicepublic class TimelineConnector
extends org.apache.hadoop.service.AbstractService
| Modifier and Type | Class | Description |
|---|---|---|
static class |
TimelineConnector.TimelineClientRetryOp |
Abstract class for an operation that should be retried by timeline client.
|
static class |
TimelineConnector.TimelineClientRetryOpForOperateDelegationToken |
| Constructor | Description |
|---|---|
TimelineConnector(boolean requireConnectionRetry,
org.apache.hadoop.security.UserGroupInformation authUgi,
java.lang.String doAsUser,
org.apache.hadoop.security.token.delegation.web.DelegationTokenAuthenticatedURL.Token token) |
| Modifier and Type | Method | Description |
|---|---|---|
static java.net.URI |
constructResURI(org.apache.hadoop.conf.Configuration conf,
java.lang.String address,
java.lang.String uri) |
|
com.sun.jersey.api.client.Client |
getClient() |
|
org.apache.hadoop.security.token.delegation.web.DelegationTokenAuthenticator |
getMaprDelegationTokenAuthenticator() |
|
protected org.apache.hadoop.security.ssl.SSLFactory |
getSSLFactory(org.apache.hadoop.conf.Configuration conf) |
|
java.lang.Object |
operateDelegationToken(java.security.PrivilegedExceptionAction<?> action) |
|
protected void |
serviceInit(org.apache.hadoop.conf.Configuration conf) |
|
protected void |
serviceStop() |
|
void |
setSocketTimeOut(int socketTimeOut) |
close, getBlockers, getConfig, getFailureCause, getFailureState, getLifecycleHistory, getName, getServiceState, getStartTime, init, isInState, noteFailure, putBlocker, registerGlobalListener, registerServiceListener, removeBlocker, serviceStart, setConfig, start, stop, toString, unregisterGlobalListener, unregisterServiceListener, waitForServiceToStoppublic TimelineConnector(boolean requireConnectionRetry,
org.apache.hadoop.security.UserGroupInformation authUgi,
java.lang.String doAsUser,
org.apache.hadoop.security.token.delegation.web.DelegationTokenAuthenticatedURL.Token token)
protected void serviceInit(org.apache.hadoop.conf.Configuration conf)
throws java.lang.Exception
serviceInit in class org.apache.hadoop.service.AbstractServicejava.lang.Exceptionpublic org.apache.hadoop.security.token.delegation.web.DelegationTokenAuthenticator getMaprDelegationTokenAuthenticator()
protected org.apache.hadoop.security.ssl.SSLFactory getSSLFactory(org.apache.hadoop.conf.Configuration conf)
throws java.security.GeneralSecurityException,
java.io.IOException
java.security.GeneralSecurityExceptionjava.io.IOExceptionpublic static java.net.URI constructResURI(org.apache.hadoop.conf.Configuration conf,
java.lang.String address,
java.lang.String uri)
protected void serviceStop()
serviceStop in class org.apache.hadoop.service.AbstractServicepublic com.sun.jersey.api.client.Client getClient()
public java.lang.Object operateDelegationToken(java.security.PrivilegedExceptionAction<?> action)
throws java.io.IOException,
org.apache.hadoop.yarn.exceptions.YarnException
java.io.IOExceptionorg.apache.hadoop.yarn.exceptions.YarnException@VisibleForTesting public void setSocketTimeOut(int socketTimeOut)
Copyright © 2008–2025 Apache Software Foundation. All rights reserved.