762763764765766767768
public static KeyUpdateCommand convert(KeyUpdateCommandProto keyUpdateCmd) { return new KeyUpdateCommand(PBHelper.convert(keyUpdateCmd.getKeys())); } public static FinalizeCommand convert(FinalizeCommandProto finalizeCmd) { return new FinalizeCommand(finalizeCmd.getBlockPoolId()); }
982983984985986987988989
final BlockListAsLongs blocks = new BlockListAsLongs(r.getBlocks()); bm.processReport(nodeReg, r.getStorage(), poolId, blocks); } if (nn.getFSImage().isUpgradeFinalized() && !nn.isStandbyState()) return new FinalizeCommand(poolId); return null; }
893894895896897898899
1020102110221023102410251026102710281029
} if (nn.getFSImage().isUpgradeFinalized() && !nn.isStandbyState() && noStaleStorages) { return new FinalizeCommand(poolId); } return null; }
932933934935936937938
766767768769770771772
931932933934935936937
} if (nn.getFSImage().isUpgradeFinalized() && !nn.isStandbyState() && !hasStaleStorages) { return new FinalizeCommand(poolId); } return null; }
899900901902903904905906
+ " blocks"); } namesystem.getBlockManager().processReport(nodeReg, poolId, blist); if (nn.getFSImage().isUpgradeFinalized() && !nn.isStandbyState()) return new FinalizeCommand(poolId); return null; }
904905906907908909910911