@InterfaceAudience.Private @InterfaceStability.Unstable public class RMStateStoreUtils extends Object
RMStateStore
and subclasses.Modifier and Type | Field and Description |
---|---|
static org.slf4j.Logger |
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 TokenIOException
- an I/O exception has occurred.Copyright © 2008–2023 Apache Software Foundation. All rights reserved.