def get_mr_task_attempt_log(self, operation_execution_id, attempt_id):
        parameters = {
            'operationExecutionId': operation_execution_id,
            'attemptId': attempt_id
        }

        return _exec('wa', 'getMrTaskAttemptLog', parameters=parameters)
Ejemplo n.º 2
0
  def get_operation_execution_details(self, operation_id, include_tree=False):
    parameters = {'id': operation_id}

    if include_tree:
      parameters['includeTree'] = ''

    return _exec('wa', 'getOperationExecutionDetails', parameters=parameters)
 def list_environments(self):
     return _exec('wa', 'listEnvironments')
 def list_uploads(self):
     return _exec('wa', 'listUploads')
    def get_impala_query(self, cluster, query_id):
        parameters = {'clusterId': cluster.get('id'), 'queryId': query_id}

        return _exec('wa', 'getImpalaQuery', parameters=parameters)