Class FederationRouterRMTokenInputValidator
java.lang.Object
org.apache.hadoop.yarn.server.federation.store.utils.FederationRouterRMTokenInputValidator
-
Method Summary
Modifier and TypeMethodDescriptionstatic voidvalidate(RouterMasterKeyRequest request) We will check with the RouterMasterKeyRequestRouterMasterKeyRequestto ensure that the request object is not empty and that the RouterMasterKey is not empty.static voidvalidate(RouterRMTokenRequest request) We will check with the RouterRMTokenRequestRouterRMTokenRequestto ensure that the request object is not empty and that the RouterStoreToken is not empty.
-
Method Details
-
validate
public static void validate(RouterRMTokenRequest request) throws FederationStateStoreInvalidInputException We will check with the RouterRMTokenRequestRouterRMTokenRequestto ensure that the request object is not empty and that the RouterStoreToken is not empty.- Parameters:
request- RouterRMTokenRequest Request.- Throws:
FederationStateStoreInvalidInputException- if the request is invalid.
-
validate
public static void validate(RouterMasterKeyRequest request) throws FederationStateStoreInvalidInputException We will check with the RouterMasterKeyRequestRouterMasterKeyRequestto ensure that the request object is not empty and that the RouterMasterKey is not empty.- Parameters:
request- RouterMasterKey Request.- Throws:
FederationStateStoreInvalidInputException- if the request is invalid.
-