Arguments used for HDFS HA commands.
name | data type | description |
---|---|---|
activeName | string | Name of the active NameNode. |
activeSharedEditsPath | string | Path to the shared edits directory on the active NameNode's host. Ignored if Quorum-based Storage is being enabled. |
standByName | string | Name of the stand-by Namenode. |
standBySharedEditsPath | string | Path to the shared edits directory on the stand-by NameNode's host. Ignored if Quorum-based Storage is being enabled. |
nameservice | string | Nameservice that identifies the HA pair. |
startDependentServices | boolean | Whether to re-start dependent services. Defaults to true. |
deployClientConfigs | boolean | Whether to re-deploy client configurations. Defaults to true. |
|
|
Whether to enable Quorum-based Storage. Enabling Quorum-based Storage requires a minimum of three and an odd number of JournalNodes to be created and configured before enabling HDFS HA. Available since API v2. |
Example
{ "activeName" : "...", "activeSharedEditsPath" : "...", "standByName" : "...", "standBySharedEditsPath" : "...", "nameservice" : "...", "startDependentServices" : true, "deployClientConfigs" : true }