コード例 #1
0
    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)
コード例 #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)
コード例 #3
0
 def list_environments(self):
     return _exec('wa', 'listEnvironments')
コード例 #4
0
 def list_uploads(self):
     return _exec('wa', 'listUploads')
コード例 #5
0
    def get_impala_query(self, cluster, query_id):
        parameters = {'clusterId': cluster.get('id'), 'queryId': query_id}

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