@InterfaceAudience.Private @InterfaceStability.Evolving public class CheckpointCommand extends NamenodeCommand
Returned to the backup node by the name-node as a reply to the
NamenodeProtocol.startCheckpoint(NamenodeRegistration)
request.
Contains:
CheckpointSignature
identifying the particular checkpointConstructor and Description |
---|
CheckpointCommand() |
CheckpointCommand(CheckpointSignature sig,
boolean needToReturnImg) |
Modifier and Type | Method and Description |
---|---|
CheckpointSignature |
getSignature()
Checkpoint signature is used to ensure
that nodes are talking about the same checkpoint.
|
boolean |
needToReturnImage()
Indicates whether the new checkpoint image needs to be transfered
back to the name-node after the checkpoint is done.
|
getAction
public CheckpointCommand()
public CheckpointCommand(CheckpointSignature sig, boolean needToReturnImg)
public CheckpointSignature getSignature()
public boolean needToReturnImage()
Copyright © 2013 Apache Software Foundation. All rights reserved.