code: def enable_llama_ha(self, new_llama_host_id, zk_service_name=None,
                        new_llama_role_name=None):
      
      args = dict(
        newLlamaHostId = new_llama_host_id,
        zkServiceName = zk_service_name,
        newLlamaRoleName = new_llama_role_name
      )
      return self._cmd('impalaEnableLlamaHa', data=args, api_version=8)
docs: Enable high availability for an Impala Llama ApplicationMaster.
  
      This command only applies to CDH 5.1+ Impala services.
  
      @param new_llama_host_id: id of the host where the second Llama role
                                will be added.
      @param zk_service_name: Name of the ZooKeeper service to use for
                              auto-failover. If Impala's ZooKeeper dependency
                              is already set, then that ZooKeeper service will
                              be used for auto-failover, and this parameter
                              may be omitted.
      @param new_llama_role_name: Name of the new Llama role. If omitted, a
                                  name will be generated automatically.
      @return: Reference to the submitted command.
      @since: API v8