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_executorsexecprojectsId, locationsId, sessionsId, sparkApplicationsIdpageSize, pageToken, executorStatus, parentObtain data corresponding to executors for a Spark Application.
projects_locations_sessions_spark_applications_search_stage_attemptsexecprojectsId, locationsId, sessionsId, sparkApplicationsIdstageId, summaryMetricsMask, pageSize, pageToken, parentObtain data corresponding to a spark stage attempts for a Spark Application.
projects_locations_sessions_spark_applications_access_native_sql_queryexecprojectsId, locationsId, sessionsId, sparkApplicationsIdparent, executionIdObtain data corresponding to a particular Native SQL Query 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_search_stage_attempt_tasksexecprojectsId, locationsId, sessionsId, sparkApplicationsIdsortRuntime, parent, pageToken, stageAttemptId, pageSize, taskStatus, stageIdObtain data corresponding to tasks for a spark stage attempt 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_access_stage_attemptexecprojectsId, locationsId, sessionsId, sparkApplicationsIdstageAttemptId, stageId, summaryMetricsMask, parentObtain data corresponding to a spark stage attempt for a Spark Application.
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_summarize_jobsexecprojectsId, locationsId, sessionsId, sparkApplicationsIdparent, jobIdsObtain summary of Jobs 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_searchexecprojectsId, locationsId, sessionsIdpageToken, pageSize, minTime, maxTime, minEndTime, applicationStatus, maxEndTimeObtain high level information and list of Spark Applications corresponding to a batch
projects_locations_sessions_spark_applications_summarize_stage_attempt_tasksexecprojectsId, locationsId, sessionsId, sparkApplicationsIdstageAttemptId, stageId, parentObtain summary of Tasks for a Spark Application Stage Attempt
projects_locations_sessions_spark_applications_access_sql_queryexecprojectsId, locationsId, sessionsId, sparkApplicationsIdparent, details, planDescription, executionIdObtain data corresponding to a particular SQL Query for a Spark Application.
projects_locations_sessions_spark_applications_search_jobsexecprojectsId, locationsId, sessionsId, sparkApplicationsIdparent, jobIds, jobStatus, pageToken, pageSizeObtain list of spark jobs corresponding to a Spark Application.
projects_locations_sessions_spark_applications_summarize_executorsexecprojectsId, locationsId, sessionsId, sparkApplicationsIdparentObtain summary of Executor Summary 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_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, sparkApplicationsIdstageStatus, pageToken, pageSize, stageIds, summaryMetricsMask, parentObtain data corresponding to stages for 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_search_native_sql_queriesexecprojectsId, locationsId, sessionsId, sparkApplicationsIdparent, pageSize, pageTokenObtain data corresponding to Native SQL Queries for a Spark Application.
projects_locations_sessions_spark_applications_search_sql_queriesexecprojectsId, locationsId, sessionsId, sparkApplicationsIddetails, planDescription, pageToken, pageSize, parent, operationIdsObtain data corresponding to SQL Queries for a Spark Application.
projects_locations_sessions_spark_applications_access_native_build_infoexecprojectsId, locationsId, sessionsId, sparkApplicationsIdparentObtain data corresponding to Native Build Information for a Spark Application.
projects_locations_batches_spark_applications_search_executorsexecprojectsId, locationsId, batchesId, sparkApplicationsIdparent, executorStatus, pageToken, pageSizeObtain data corresponding to executors for a Spark Application.
projects_locations_batches_spark_applications_access_stage_attemptexecprojectsId, locationsId, batchesId, sparkApplicationsIdparent, stageId, summaryMetricsMask, stageAttemptIdObtain data corresponding to a spark stage attempt for a Spark Application.
projects_locations_batches_spark_applications_access_stage_rdd_graphexecprojectsId, locationsId, batchesId, 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_batches_spark_applications_search_stage_attempt_tasksexecprojectsId, locationsId, batchesId, sparkApplicationsIdparent, sortRuntime, taskStatus, stageId, pageToken, stageAttemptId, pageSizeObtain data corresponding to tasks for a spark stage attempt for a Spark Application.
projects_locations_batches_spark_applications_access_environment_infoexecprojectsId, locationsId, batchesId, sparkApplicationsIdparentObtain environment details 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_stage_attemptsexecprojectsId, locationsId, batchesId, sparkApplicationsIdstageId, summaryMetricsMask, pageToken, pageSize, parentObtain data corresponding to a spark stage attempts for a Spark Application.
projects_locations_batches_spark_applications_access_native_sql_queryexecprojectsId, locationsId, batchesId, sparkApplicationsIdparent, executionIdObtain data corresponding to a particular Native SQL Query for a Spark Application.
projects_locations_batches_spark_applications_compute_tuning_configexecprojectsId, locationsId, batchesId, sparkApplicationsIdexecutionId, parent, semanticQueryIdReturns autotuning configuration for a specific query plan id and cohort id. Called by Spark during query planning.
projects_locations_batches_spark_applications_accessexecprojectsId, locationsId, batchesId, sparkApplicationsIdparentObtain high level information corresponding to a single 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_access_sql_queryexecprojectsId, locationsId, batchesId, sparkApplicationsIdparent, details, planDescription, executionIdObtain data corresponding to a particular SQL Query for a Spark Application.
projects_locations_batches_spark_applications_search_jobsexecprojectsId, locationsId, batchesId, sparkApplicationsIdpageToken, pageSize, parent, jobStatusObtain list of spark jobs corresponding to 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_search_executor_stage_summaryexecprojectsId, locationsId, batchesId, sparkApplicationsIdparent, pageToken, stageAttemptId, pageSize, stageIdObtain executor summary with respect to a spark stage attempt.
projects_locations_batches_spark_applications_searchexecprojectsId, locationsId, batchesIdminTime, maxTime, minEndTime, applicationStatus, maxEndTime, pageToken, pageSizeObtain high level information and list of Spark Applications corresponding to a batch
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_writeexecprojectsId, locationsId, batchesId, sparkApplicationsIdWrite wrapper objects from dataplane to spanner
projects_locations_batches_spark_applications_summarize_jobsexecprojectsId, locationsId, batchesId, sparkApplicationsIdparentObtain summary of Jobs for a Spark Application
projects_locations_batches_spark_applications_access_native_build_infoexecprojectsId, locationsId, batchesId, sparkApplicationsIdparentObtain build data for Native Job
projects_locations_batches_spark_applications_search_sql_queriesexecprojectsId, locationsId, batchesId, sparkApplicationsIdparent, pageSize, planDescription, pageToken, detailsObtain data corresponding to SQL Queries for a Spark Application.
projects_locations_batches_spark_applications_search_native_sql_queriesexecprojectsId, locationsId, batchesId, sparkApplicationsIdpageSize, pageToken, parentObtain data corresponding to Native SQL Queries for a Spark Application.
projects_locations_batches_spark_applications_search_stagesexecprojectsId, locationsId, batchesId, sparkApplicationsIdparent, summaryMetricsMask, stageStatus, pageToken, pageSizeObtain data corresponding to stages 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.

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
semanticQueryIdstring
sortRuntimeboolean
stageAttemptIdinteger (int32)
stageIdstring (int64)
stageIdsstring (int64)
stageStatusstring
summaryMetricsMaskstring (google-fieldmask)
taskStatusstring

Lifecycle Methods

Obtain data corresponding to executors for a Spark Application.

EXEC google.dataproc.spark_applications.projects_locations_sessions_spark_applications_search_executors
@projectsId='{{ projectsId }}' --required,
@locationsId='{{ locationsId }}' --required,
@sessionsId='{{ sessionsId }}' --required,
@sparkApplicationsId='{{ sparkApplicationsId }}' --required,
@pageSize='{{ pageSize }}',
@pageToken='{{ pageToken }}',
@executorStatus='{{ executorStatus }}',
@parent='{{ parent }}'
;