Skip to main content

spark_applications

Creates, updates, deletes, gets or lists a spark_applications resource.

Overview

Namespark_applications
TypeResource
Idgoogle.dataproc.spark_applications

Fields

The following fields are returned by SELECT queries:

SELECT not supported for this resource, use SHOW METHODS to view available operations for the resource.

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
projects_locations_sessions_spark_applications_search_stage_attempt_tasksexecprojectsId, locationsId, sessionsId, sparkApplicationsIdparent, pageToken, pageSize, taskStatus, sortRuntime, stageId, stageAttemptIdObtain data corresponding to tasks for a spark stage attempt for a Spark Application.
projects_locations_sessions_spark_applications_access_sql_queryexecprojectsId, locationsId, sessionsId, sparkApplicationsIdparent, planDescription, details, executionIdObtain data corresponding to a particular SQL Query for a Spark Application.
projects_locations_sessions_spark_applications_access_environment_infoexecprojectsId, locationsId, sessionsId, sparkApplicationsIdparentObtain environment details for a Spark Application
projects_locations_sessions_spark_applications_search_executorsexecprojectsId, locationsId, sessionsId, sparkApplicationsIdparent, pageToken, pageSize, executorStatusObtain data corresponding to executors for a Spark Application.
projects_locations_sessions_spark_applications_search_jobsexecprojectsId, locationsId, sessionsId, sparkApplicationsIdjobIds, pageToken, parent, jobStatus, pageSizeObtain list of spark jobs corresponding to a Spark Application.
projects_locations_sessions_spark_applications_access_sql_planexecprojectsId, locationsId, sessionsId, sparkApplicationsIdexecutionId, parentObtain Spark Plan Graph for a Spark Application SQL execution. Limits the number of clusters returned as part of the graph to 10000.
projects_locations_sessions_spark_applications_access_jobexecprojectsId, locationsId, sessionsId, sparkApplicationsIdjobId, parentObtain data corresponding to a spark job for a Spark Application.
projects_locations_sessions_spark_applications_accessexecprojectsId, locationsId, sessionsId, sparkApplicationsIdparentObtain high level information corresponding to a single Spark Application.
projects_locations_sessions_spark_applications_searchexecprojectsId, locationsId, sessionsIdmaxTime, maxEndTime, minTime, pageSize, pageToken, applicationStatus, minEndTimeObtain high level information and list of Spark Applications corresponding to a batch
projects_locations_sessions_spark_applications_access_stage_rdd_graphexecprojectsId, locationsId, sessionsId, sparkApplicationsIdstageId, parentObtain RDD operation graph for a Spark Application Stage. Limits the number of clusters returned as part of the graph to 10000.
projects_locations_sessions_spark_applications_writeexecprojectsId, locationsId, sessionsId, sparkApplicationsIdWrite wrapper objects from dataplane to spanner
projects_locations_sessions_spark_applications_search_executor_stage_summaryexecprojectsId, locationsId, sessionsId, sparkApplicationsIdpageToken, parent, stageId, stageAttemptId, pageSizeObtain executor summary with respect to a spark stage attempt.
projects_locations_sessions_spark_applications_summarize_stage_attempt_tasksexecprojectsId, locationsId, sessionsId, sparkApplicationsIdparent, stageId, stageAttemptIdObtain summary of Tasks for a Spark Application Stage Attempt
projects_locations_sessions_spark_applications_summarize_executorsexecprojectsId, locationsId, sessionsId, sparkApplicationsIdparentObtain summary of Executor Summary for a Spark Application
projects_locations_sessions_spark_applications_summarize_stagesexecprojectsId, locationsId, sessionsId, sparkApplicationsIdstageIds, parentObtain summary of Stages for a Spark Application
projects_locations_sessions_spark_applications_search_sql_queriesexecprojectsId, locationsId, sessionsId, sparkApplicationsIddetails, pageSize, parent, planDescription, pageToken, operationIdsObtain data corresponding to SQL Queries for a Spark Application.
projects_locations_sessions_spark_applications_summarize_jobsexecprojectsId, locationsId, sessionsId, sparkApplicationsIdparent, jobIdsObtain summary of Jobs for a Spark Application
projects_locations_sessions_spark_applications_search_stagesexecprojectsId, locationsId, sessionsId, sparkApplicationsIdpageSize, summaryMetricsMask, stageIds, stageStatus, pageToken, parentObtain data corresponding to stages for a Spark Application.
projects_locations_sessions_spark_applications_access_stage_attemptexecprojectsId, locationsId, sessionsId, sparkApplicationsIdparent, stageAttemptId, stageId, summaryMetricsMaskObtain data corresponding to a spark stage attempt for a Spark Application.
projects_locations_sessions_spark_applications_search_stage_attemptsexecprojectsId, locationsId, sessionsId, sparkApplicationsIdpageToken, pageSize, stageId, parent, summaryMetricsMaskObtain data corresponding to a spark stage attempts for a Spark Application.
projects_locations_batches_spark_applications_search_executor_stage_summaryexecprojectsId, locationsId, batchesId, sparkApplicationsIdstageId, pageSize, parent, stageAttemptId, pageTokenObtain executor summary with respect to a spark stage attempt.
projects_locations_batches_spark_applications_search_stage_attemptsexecprojectsId, locationsId, batchesId, sparkApplicationsIdparent, pageSize, pageToken, stageId, summaryMetricsMaskObtain data corresponding to a spark stage attempts for a Spark Application.
projects_locations_batches_spark_applications_summarize_stagesexecprojectsId, locationsId, batchesId, sparkApplicationsIdparentObtain summary of Stages for a Spark Application
projects_locations_batches_spark_applications_search_sql_queriesexecprojectsId, locationsId, batchesId, sparkApplicationsIddetails, parent, pageToken, planDescription, pageSizeObtain data corresponding to SQL Queries for a Spark Application.
projects_locations_batches_spark_applications_access_stage_attemptexecprojectsId, locationsId, batchesId, sparkApplicationsIdsummaryMetricsMask, stageId, stageAttemptId, parentObtain data corresponding to a spark stage attempt for a Spark Application.
projects_locations_batches_spark_applications_search_stage_attempt_tasksexecprojectsId, locationsId, batchesId, sparkApplicationsIdpageSize, sortRuntime, stageId, pageToken, parent, stageAttemptId, taskStatusObtain data corresponding to tasks for a spark stage attempt for a Spark Application.
projects_locations_batches_spark_applications_access_stage_rdd_graphexecprojectsId, locationsId, batchesId, sparkApplicationsIdparent, stageIdObtain RDD operation graph for a Spark Application Stage. Limits the number of clusters returned as part of the graph to 10000.
projects_locations_batches_spark_applications_accessexecprojectsId, locationsId, batchesId, sparkApplicationsIdparentObtain high level information corresponding to a single Spark Application.
projects_locations_batches_spark_applications_writeexecprojectsId, locationsId, batchesId, sparkApplicationsIdWrite wrapper objects from dataplane to spanner
projects_locations_batches_spark_applications_search_jobsexecprojectsId, locationsId, batchesId, sparkApplicationsIdjobStatus, pageToken, pageSize, parentObtain list of spark jobs corresponding to a Spark Application.
projects_locations_batches_spark_applications_searchexecprojectsId, locationsId, batchesIdminTime, applicationStatus, maxEndTime, minEndTime, pageToken, pageSize, maxTimeObtain high level information and list of Spark Applications corresponding to a batch
projects_locations_batches_spark_applications_access_environment_infoexecprojectsId, locationsId, batchesId, sparkApplicationsIdparentObtain environment details for a Spark Application
projects_locations_batches_spark_applications_search_executorsexecprojectsId, locationsId, batchesId, sparkApplicationsIdexecutorStatus, parent, pageToken, pageSizeObtain data corresponding to executors for a Spark Application.
projects_locations_batches_spark_applications_summarize_executorsexecprojectsId, locationsId, batchesId, sparkApplicationsIdparentObtain summary of Executor Summary for a Spark Application
projects_locations_batches_spark_applications_access_sql_queryexecprojectsId, locationsId, batchesId, sparkApplicationsIdparent, planDescription, details, executionIdObtain data corresponding to a particular SQL Query for a Spark Application.
projects_locations_batches_spark_applications_access_jobexecprojectsId, locationsId, batchesId, sparkApplicationsIdjobId, parentObtain data corresponding to a spark job for a Spark Application.
projects_locations_batches_spark_applications_access_sql_planexecprojectsId, locationsId, batchesId, sparkApplicationsIdexecutionId, parentObtain Spark Plan Graph for a Spark Application SQL execution. Limits the number of clusters returned as part of the graph to 10000.
projects_locations_batches_spark_applications_summarize_stage_attempt_tasksexecprojectsId, locationsId, batchesId, sparkApplicationsIdparent, stageAttemptId, stageIdObtain summary of Tasks for a Spark Application Stage Attempt
projects_locations_batches_spark_applications_summarize_jobsexecprojectsId, locationsId, batchesId, sparkApplicationsIdparentObtain summary of Jobs for a Spark Application
projects_locations_batches_spark_applications_search_stagesexecprojectsId, locationsId, batchesId, sparkApplicationsIdsummaryMetricsMask, pageToken, parent, pageSize, stageStatusObtain data corresponding to stages for a Spark Application.

Parameters

Parameters can be passed in the WHERE clause of a query. Check the Methods section to see which parameters are required or optional for each operation.

NameDatatypeDescription
batchesIdstring
locationsIdstring
projectsIdstring
sessionsIdstring
sparkApplicationsIdstring
applicationStatusstring
detailsboolean
executionIdstring (int64)
executorStatusstring
jobIdstring (int64)
jobIdsstring (int64)
jobStatusstring
maxEndTimestring (google-datetime)
maxTimestring (google-datetime)
minEndTimestring (google-datetime)
minTimestring (google-datetime)
operationIdsstring
pageSizeinteger (int32)
pageTokenstring
parentstring
planDescriptionboolean
sortRuntimeboolean
stageAttemptIdinteger (int32)
stageIdstring (int64)
stageIdsstring (int64)
stageStatusstring
summaryMetricsMaskstring (google-fieldmask)
taskStatusstring

Lifecycle Methods

Obtain data corresponding to tasks for a spark stage attempt for a Spark Application.

EXEC google.dataproc.spark_applications.projects_locations_sessions_spark_applications_search_stage_attempt_tasks 
@projectsId='{{ projectsId }}' --required,
@locationsId='{{ locationsId }}' --required,
@sessionsId='{{ sessionsId }}' --required,
@sparkApplicationsId='{{ sparkApplicationsId }}' --required,
@parent='{{ parent }}',
@pageToken='{{ pageToken }}',
@pageSize='{{ pageSize }}',
@taskStatus='{{ taskStatus }}',
@sortRuntime={{ sortRuntime }},
@stageId='{{ stageId }}',
@stageAttemptId='{{ stageAttemptId }}'
;