# ApiEnableJtHaArguments Data Model

Arguments used for enable JT HA command.

Properties
name | data type | description
--- | --- | ---
newJtHostId | string | Id of host on which second JobTracker role will be added.
forceInitZNode | boolean | Initialize the ZNode even if it already exists. This can happen if JobTracker HA was enabled before and then disabled. Disable operation doesn't delete this ZNode. Defaults to true.
zkServiceName | string | Name of the ZooKeeper service that will be used for auto-failover. This is an optional parameter if the MapReduce to ZooKeeper dependency is already set in CM.
newJtRoleName | string | Name of the second JobTracker role to be created (Optional)
fc1RoleName | string | Name of first Failover Controller role to be created. This is the Failover Controller co-located with the current JobTracker (Optional)
fc2RoleName | string | Name of second Failover Controller role to be created. This is the Failover Controller co-located with the new JobTracker (Optional)
logicalName | string | Logical name of the JobTracker pair. If value is not provided, "logicaljt" is used as the default. The name can contain only alphanumeric characters and "-". Available since API v8.

Example

    {
      "newJtHostId" : "...",
      "forceInitZNode" : true,
      "zkServiceName" : "...",
      "newJtRoleName" : "...",
      "fc1RoleName" : "...",
      "fc2RoleName" : "...",
      "logicalName" : "..."
    }