|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.hadoop.service.AbstractService
org.apache.hadoop.mapreduce.v2.hs.HistoryServerStateStoreService
org.apache.hadoop.mapreduce.v2.hs.HistoryServerNullStateStoreService
@InterfaceAudience.Private @InterfaceStability.Unstable public class HistoryServerNullStateStoreService
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from class org.apache.hadoop.mapreduce.v2.hs.HistoryServerStateStoreService |
|---|
HistoryServerStateStoreService.HistoryServerState |
| Nested classes/interfaces inherited from interface org.apache.hadoop.service.Service |
|---|
org.apache.hadoop.service.Service.STATE |
| Constructor Summary | |
|---|---|
HistoryServerNullStateStoreService()
|
|
| Method Summary | |
|---|---|
protected void |
closeStorage()
Implementation-specific shutdown. |
protected void |
initStorage(org.apache.hadoop.conf.Configuration conf)
Implementation-specific initialization. |
HistoryServerStateStoreService.HistoryServerState |
loadState()
Load the history server state from the state storage. |
void |
removeToken(org.apache.hadoop.mapreduce.v2.api.MRDelegationTokenIdentifier tokenId)
Blocking method to remove a delegation token from the state storage. |
void |
removeTokenMasterKey(org.apache.hadoop.security.token.delegation.DelegationKey key)
Blocking method to remove a delegation token master key. |
protected void |
startStorage()
Implementation-specific startup. |
void |
storeToken(org.apache.hadoop.mapreduce.v2.api.MRDelegationTokenIdentifier tokenId,
Long renewDate)
Blocking method to store a delegation token along with the current token sequence number to the state storage. |
void |
storeTokenMasterKey(org.apache.hadoop.security.token.delegation.DelegationKey key)
Blocking method to store a delegation token master key. |
void |
updateToken(org.apache.hadoop.mapreduce.v2.api.MRDelegationTokenIdentifier tokenId,
Long renewDate)
Blocking method to update the expiration of a delegation token in the state storage. |
| Methods inherited from class org.apache.hadoop.mapreduce.v2.hs.HistoryServerStateStoreService |
|---|
serviceInit, serviceStart, serviceStop |
| Methods inherited from class org.apache.hadoop.service.AbstractService |
|---|
close, getBlockers, getConfig, getFailureCause, getFailureState, getLifecycleHistory, getName, getServiceState, getStartTime, init, isInState, noteFailure, putBlocker, registerGlobalListener, registerServiceListener, removeBlocker, setConfig, start, stop, toString, unregisterGlobalListener, unregisterServiceListener, waitForServiceToStop |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public HistoryServerNullStateStoreService()
| Method Detail |
|---|
protected void initStorage(org.apache.hadoop.conf.Configuration conf)
throws IOException
HistoryServerStateStoreService
initStorage in class HistoryServerStateStoreServiceconf - the configuration
IOException
protected void startStorage()
throws IOException
HistoryServerStateStoreService
startStorage in class HistoryServerStateStoreServiceIOException
protected void closeStorage()
throws IOException
HistoryServerStateStoreService
closeStorage in class HistoryServerStateStoreServiceIOException
public HistoryServerStateStoreService.HistoryServerState loadState()
throws IOException
HistoryServerStateStoreService
loadState in class HistoryServerStateStoreServiceIOException
public void storeToken(org.apache.hadoop.mapreduce.v2.api.MRDelegationTokenIdentifier tokenId,
Long renewDate)
throws IOException
HistoryServerStateStoreService
storeToken in class HistoryServerStateStoreServicetokenId - the token to storerenewDate - the token renewal deadline
IOException
public void updateToken(org.apache.hadoop.mapreduce.v2.api.MRDelegationTokenIdentifier tokenId,
Long renewDate)
throws IOException
HistoryServerStateStoreService
updateToken in class HistoryServerStateStoreServicetokenId - the token to updaterenewDate - the new token renewal deadline
IOException
public void removeToken(org.apache.hadoop.mapreduce.v2.api.MRDelegationTokenIdentifier tokenId)
throws IOException
HistoryServerStateStoreService
removeToken in class HistoryServerStateStoreServicetokenId - the token to remove
IOException
public void storeTokenMasterKey(org.apache.hadoop.security.token.delegation.DelegationKey key)
throws IOException
HistoryServerStateStoreService
storeTokenMasterKey in class HistoryServerStateStoreServicekey - the master key to store
IOException
public void removeTokenMasterKey(org.apache.hadoop.security.token.delegation.DelegationKey key)
throws IOException
HistoryServerStateStoreService
removeTokenMasterKey in class HistoryServerStateStoreServicekey - the master key to remove
IOException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||