@Private @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 checkpoint| Constructor | Description |
|---|---|
CheckpointCommand() |
|
CheckpointCommand(CheckpointSignature sig,
boolean needToReturnImg) |
| Modifier and Type | Method | 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, toStringpublic CheckpointCommand()
public CheckpointCommand(CheckpointSignature sig, boolean needToReturnImg)
public CheckpointSignature getSignature()
public boolean needToReturnImage()
Copyright © 2008–2025 Apache Software Foundation. All rights reserved.