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_batches_spark_applications_writeexecprojectsId, locationsId, batchesId, sparkApplicationsIdWrite wrapper objects from dataplane to spanner
projects_locations_batches_spark_applications_searchexecprojectsId, locationsId, batchesIdapplicationStatus, minTime, maxTime, minEndTime, maxEndTime, pageSize, pageTokenObtain high level information and list of Spark Applications corresponding to a batch
projects_locations_batches_spark_applications_accessexecprojectsId, locationsId, batchesId, sparkApplicationsIdparentObtain high level information corresponding to a single Spark Application.
projects_locations_batches_spark_applications_search_jobsexecprojectsId, locationsId, batchesId, sparkApplicationsIdparent, jobStatus, pageSize, pageTokenObtain list of spark jobs corresponding to a Spark Application.
projects_locations_batches_spark_applications_access_jobexecprojectsId, locationsId, batchesId, sparkApplicationsIdparent, jobIdObtain data corresponding to a spark job for a Spark Application.
projects_locations_batches_spark_applications_search_stagesexecprojectsId, locationsId, batchesId, sparkApplicationsIdparent, stageStatus, pageSize, pageToken, summaryMetricsMaskObtain data corresponding to stages for a Spark Application.
projects_locations_batches_spark_applications_search_stage_attemptsexecprojectsId, locationsId, batchesId, sparkApplicationsIdparent, stageId, pageSize, pageToken, summaryMetricsMaskObtain data corresponding to a spark stage attempts for a Spark Application.
projects_locations_batches_spark_applications_access_stage_attemptexecprojectsId, locationsId, batchesId, sparkApplicationsIdparent, stageId, stageAttemptId, summaryMetricsMaskObtain data corresponding to a spark stage attempt for a Spark Application.
projects_locations_batches_spark_applications_search_stage_attempt_tasksexecprojectsId, locationsId, batchesId, sparkApplicationsIdparent, stageId, stageAttemptId, sortRuntime, taskStatus, pageSize, pageTokenObtain data corresponding to tasks for a spark stage attempt for a Spark Application.
projects_locations_batches_spark_applications_search_executorsexecprojectsId, locationsId, batchesId, sparkApplicationsIdparent, executorStatus, pageSize, pageTokenObtain data corresponding to executors for a Spark Application.
projects_locations_batches_spark_applications_search_executor_stage_summaryexecprojectsId, locationsId, batchesId, sparkApplicationsIdparent, stageId, stageAttemptId, pageSize, pageTokenObtain executor summary with respect to a spark stage attempt.
projects_locations_batches_spark_applications_search_sql_queriesexecprojectsId, locationsId, batchesId, sparkApplicationsIdparent, details, planDescription, pageSize, pageTokenObtain data corresponding to SQL Queries for a Spark Application.
projects_locations_batches_spark_applications_access_sql_queryexecprojectsId, locationsId, batchesId, sparkApplicationsIdparent, executionId, details, planDescriptionObtain data corresponding to a particular SQL Query for a Spark Application.
projects_locations_batches_spark_applications_access_sql_planexecprojectsId, locationsId, batchesId, sparkApplicationsIdparent, executionIdObtain 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_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_access_environment_infoexecprojectsId, locationsId, batchesId, sparkApplicationsIdparentObtain environment details for a Spark Application
projects_locations_batches_spark_applications_summarize_jobsexecprojectsId, locationsId, batchesId, sparkApplicationsIdparentObtain summary of Jobs 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_summarize_stage_attempt_tasksexecprojectsId, locationsId, batchesId, sparkApplicationsIdparent, stageId, stageAttemptIdObtain summary of Tasks for a Spark Application Stage Attempt
projects_locations_batches_spark_applications_summarize_executorsexecprojectsId, locationsId, batchesId, sparkApplicationsIdparentObtain summary of Executor Summary for a Spark Application
projects_locations_sessions_spark_applications_writeexecprojectsId, locationsId, sessionsId, sparkApplicationsIdWrite wrapper objects from dataplane to spanner
projects_locations_sessions_spark_applications_searchexecprojectsId, locationsId, sessionsIdapplicationStatus, minTime, maxTime, minEndTime, maxEndTime, pageSize, pageTokenObtain high level information and list of Spark Applications corresponding to a batch
projects_locations_sessions_spark_applications_accessexecprojectsId, locationsId, sessionsId, sparkApplicationsIdparentObtain high level information corresponding to a single Spark Application.
projects_locations_sessions_spark_applications_search_jobsexecprojectsId, locationsId, sessionsId, sparkApplicationsIdparent, jobStatus, pageSize, pageToken, jobIdsObtain list of spark jobs corresponding to a Spark Application.
projects_locations_sessions_spark_applications_access_jobexecprojectsId, locationsId, sessionsId, sparkApplicationsIdparent, jobIdObtain data corresponding to a spark job for a Spark Application.
projects_locations_sessions_spark_applications_search_stagesexecprojectsId, locationsId, sessionsId, sparkApplicationsIdparent, stageStatus, pageSize, pageToken, summaryMetricsMask, stageIdsObtain data corresponding to stages for a Spark Application.
projects_locations_sessions_spark_applications_search_stage_attemptsexecprojectsId, locationsId, sessionsId, sparkApplicationsIdparent, stageId, pageSize, pageToken, summaryMetricsMaskObtain data corresponding to a spark stage attempts for a Spark Application.
projects_locations_sessions_spark_applications_access_stage_attemptexecprojectsId, locationsId, sessionsId, sparkApplicationsIdparent, stageId, stageAttemptId, summaryMetricsMaskObtain data corresponding to a spark stage attempt for a Spark Application.
projects_locations_sessions_spark_applications_search_stage_attempt_tasksexecprojectsId, locationsId, sessionsId, sparkApplicationsIdparent, stageId, stageAttemptId, sortRuntime, taskStatus, pageSize, pageTokenObtain data corresponding to tasks for a spark stage attempt for a Spark Application.
projects_locations_sessions_spark_applications_search_executorsexecprojectsId, locationsId, sessionsId, sparkApplicationsIdparent, executorStatus, pageSize, pageTokenObtain data corresponding to executors for a Spark Application.
projects_locations_sessions_spark_applications_search_executor_stage_summaryexecprojectsId, locationsId, sessionsId, sparkApplicationsIdparent, stageId, stageAttemptId, pageSize, pageTokenObtain executor summary with respect to a spark stage attempt.
projects_locations_sessions_spark_applications_search_sql_queriesexecprojectsId, locationsId, sessionsId, sparkApplicationsIdparent, details, planDescription, pageSize, pageToken, operationIdsObtain data corresponding to SQL Queries for a Spark Application.
projects_locations_sessions_spark_applications_access_sql_queryexecprojectsId, locationsId, sessionsId, sparkApplicationsIdparent, executionId, details, planDescriptionObtain data corresponding to a particular SQL Query for a Spark Application.
projects_locations_sessions_spark_applications_access_sql_planexecprojectsId, locationsId, sessionsId, sparkApplicationsIdparent, executionIdObtain 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_stage_rdd_graphexecprojectsId, locationsId, sessionsId, 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_sessions_spark_applications_access_environment_infoexecprojectsId, locationsId, sessionsId, sparkApplicationsIdparentObtain environment details 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_summarize_stagesexecprojectsId, locationsId, sessionsId, sparkApplicationsIdparent, stageIdsObtain summary of Stages for a Spark Application
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

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

Write wrapper objects from dataplane to spanner

EXEC google.dataproc.spark_applications.projects_locations_batches_spark_applications_write 
@projectsId='{{ projectsId }}' --required,
@locationsId='{{ locationsId }}' --required,
@batchesId='{{ batchesId }}' --required,
@sparkApplicationsId='{{ sparkApplicationsId }}' --required
@@json=
'{
"parent": "{{ parent }}",
"sparkWrapperObjects": "{{ sparkWrapperObjects }}"
}';