code: def enable_jt_ha(self, new_jt_host_id, force_init_znode=True, zk_service_name=None,
        new_jt_name=None, fc1_name=None, fc2_name=None):
      
      args = dict(
        newJtHostId = new_jt_host_id,
        forceInitZNode = force_init_znode,
        zkServiceName = zk_service_name,
        newJtRoleName = new_jt_name,
        fc1RoleName = fc1_name,
        fc2RoleName = fc2_name
      )
      return self._cmd('enableJtHa', data=args)
docs: Enable high availability for a MR JobTracker.
  
      @param zk_service_name: Name of the ZooKeeper service to use for auto-failover.
             If MapReduce service depends on a ZooKeeper service then that ZooKeeper
             service will be used for auto-failover and in that case this parameter
             can be omitted.
      @param new_jt_host_id: id of the host where the second JobTracker
                          will be added.
      @param force_init_znode: Initialize the ZNode used for auto-failover 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.
      @param new_jt_name: Name of the second JobTracker role to be created.
      @param fc1_name: Name of the Failover Controller role that is co-located with
                       the existing JobTracker.
      @param fc2_name: Name of the Failover Controller role that is co-located with
                       the new JobTracker.
      @return: Reference to the submitted command.
      @since: API v5