@InterfaceAudience.Private @InterfaceStability.Unstable public class RMStateStoreUtils extends Object
RMStateStore and subclasses.| Modifier and Type | Field and Description |
|---|---|
static org.apache.commons.logging.Log |
LOG |
| Constructor and Description |
|---|
RMStateStoreUtils() |
| Modifier and Type | Method and Description |
|---|---|
static RMDelegationTokenIdentifierData |
readRMDelegationTokenIdentifierData(DataInputStream fsIn)
Returns the RM Delegation Token data from the
DataInputStream as a
RMDelegationTokenIdentifierData. |
public static RMDelegationTokenIdentifierData readRMDelegationTokenIdentifierData(DataInputStream fsIn) throws IOException
DataInputStream as a
RMDelegationTokenIdentifierData. It can handle both the current
and old (non-protobuf) formats.fsIn - The DataInputStream containing RM Delegation Token dataRMDelegationTokenIdentifierData containing the read in
RM Delegation TokenIOExceptionCopyright © 2022 Apache Software Foundation. All rights reserved.