ApiEnableNnHaArguments

Properties

Name Type Description Notes
active_nn_name str Name of the NameNode role that is going to be made Highly Available. [optional]
standby_nn_name str Name of the new Standby NameNode role that will be created during the command (Optional). [optional]
standby_nn_host_id str Id of the host on which new Standby NameNode will be created. [optional]
standby_name_dir_list list[str] List of directories for the new Standby NameNode. If not provided then it will use same dirs as Active NameNode. [optional]
nameservice str 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]
qj_name str 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]
active_fc_name str Name of the FailoverController role to be created on Active NameNode's host (Optional). [optional]
standby_fc_name str Name of the FailoverController role to be created on Standby NameNode's host (Optional). [optional]
zk_service_name str 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]
force_init_z_node bool Boolean indicating if the ZNode should be force initialized if it is already present. Useful while re-enabling High Availability. (Default: TRUE) [optional]
clear_existing_standby_name_dirs bool 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]
clear_existing_jn_edits_dir bool 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]

[Back to Model list] [Back to API list] [Back to README]