ApiEnableNnHaArguments

Properties

Name Type Description Notes
activeNnName String Name of the NameNode role that is going to be made Highly Available. [optional]
standbyNnName String Name of the new Standby NameNode role that will be created during the command (Optional). [optional]
standbyNnHostId String Id of the host on which new Standby NameNode will be created. [optional]
standbyNameDirList List<String> List of directories for the new Standby NameNode. If not provided then it will use same dirs as Active NameNode. [optional]
nameservice String Nameservice to be used while enabling Highly Available. It must be specified if Active NameNode isn't configured with it. If Active NameNode is already configured, then this need not be specified. However, if it is still specified, it must match the existing config for the Active NameNode. [optional]
qjName String Name of the journal located on each JournalNodes' filesystem. This can be optionally provided if the config hasn't already been set for the Active NameNode. If this isn't provided and Active NameNode doesn't also have the config, then nameservice is used by default. If Active NameNode already has this configured, then it much match the existing config. [optional]
activeFcName String Name of the FailoverController role to be created on Active NameNode's host (Optional). [optional]
standbyFcName String Name of the FailoverController role to be created on Standby NameNode's host (Optional). [optional]
zkServiceName String Name of the ZooKeeper service to be used for Auto-Failover. This MUST be provided if HDFS doesn't have a ZooKeeper dependency. If the dependency is already set, then this should be the name of the same ZooKeeper service, but can also be omitted in that case. [optional]
jns List<ApiJournalNodeArguments> Arguments for the JournalNodes to be created during the command. Must be provided only if JournalNodes don't exist already in HDFS. [optional]
forceInitZNode Boolean Boolean indicating if the ZNode should be force initialized if it is already present. Useful while re-enabling High Availability. (Default: TRUE) [optional]
clearExistingStandbyNameDirs Boolean Boolean indicating if the existing name directories for Standby NameNode should be cleared during the workflow. Useful while re-enabling High Availability. (Default: TRUE) [optional]
clearExistingJnEditsDir Boolean Boolean indicating if the existing edits directories for the JournalNodes for the specified nameservice should be cleared during the workflow. Useful while re-enabling High Availability. (Default: TRUE) [optional]