ApiHdfsHaArguments Data Model

Arguments used for HDFS HA commands.

Properties
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.
enableQuorumStorage boolean This parameter has been deprecated as of CM 5.0, where HA is only supported using Quorum-based Storage.

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
}