|
@@ -446,7 +446,7 @@ Usage:
|
|
[-finalize] |
|
|
[-finalize] |
|
|
[-importCheckpoint] |
|
|
[-importCheckpoint] |
|
|
[-initializeSharedEdits] |
|
|
[-initializeSharedEdits] |
|
|
- [-bootstrapStandby] |
|
|
|
|
|
|
+ [-bootstrapStandby [-force] [-nonInteractive] [-skipSharedEditsCheck] ] |
|
|
[-recover [-force] ] |
|
|
[-recover [-force] ] |
|
|
[-metadataVersion ]
|
|
[-metadataVersion ]
|
|
|
|
|
|
@@ -462,7 +462,7 @@ Usage:
|
|
| `-finalize` | No longer supported. Use `dfsadmin -finalizeUpgrade` instead. |
|
|
| `-finalize` | No longer supported. Use `dfsadmin -finalizeUpgrade` instead. |
|
|
| `-importCheckpoint` | Loads image from a checkpoint directory and save it into the current one. Checkpoint dir is read from property dfs.namenode.checkpoint.dir |
|
|
| `-importCheckpoint` | Loads image from a checkpoint directory and save it into the current one. Checkpoint dir is read from property dfs.namenode.checkpoint.dir |
|
|
| `-initializeSharedEdits` | Format a new shared edits dir and copy in enough edit log segments so that the standby NameNode can start up. |
|
|
| `-initializeSharedEdits` | Format a new shared edits dir and copy in enough edit log segments so that the standby NameNode can start up. |
|
|
-| `-bootstrapStandby` | Allows the standby NameNode's storage directories to be bootstrapped by copying the latest namespace snapshot from the active NameNode. This is used when first configuring an HA cluster. |
|
|
|
|
|
|
+| `-bootstrapStandby` `[-force]` `[-nonInteractive]` `[-skipSharedEditsCheck]` | Allows the standby NameNode's storage directories to be bootstrapped by copying the latest namespace snapshot from the active NameNode. This is used when first configuring an HA cluster. The option -force or -nonInteractive has the same meaning as that described in namenode -format command. -skipSharedEditsCheck option skips edits check which ensures that we have enough edits already in the shared directory to start up from the last checkpoint on the active. |
|
|
| `-recover` `[-force]` | Recover lost metadata on a corrupt filesystem. See [HDFS User Guide](./HdfsUserGuide.html#Recovery_Mode) for the detail. |
|
|
| `-recover` `[-force]` | Recover lost metadata on a corrupt filesystem. See [HDFS User Guide](./HdfsUserGuide.html#Recovery_Mode) for the detail. |
|
|
| `-metadataVersion` | Verify that configured directories exist, then print the metadata versions of the software and the image. |
|
|
| `-metadataVersion` | Verify that configured directories exist, then print the metadata versions of the software and the image. |
|
|
|
|
|