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_accessexecprojectsId, locationsId, batchesId, sparkApplicationsIdparentObtain high level information corresponding to a single Spark Application.
projects_locations_batches_spark_applications_access_environment_infoexecprojectsId, locationsId, batchesId, sparkApplicationsIdparentObtain environment details 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_native_build_infoexecprojectsId, locationsId, batchesId, sparkApplicationsIdparentObtain build data for Native Job
projects_locations_batches_spark_applications_access_native_sql_queryexecprojectsId, locationsId, batchesId, sparkApplicationsIdexecutionId, parentObtain data corresponding to a particular Native SQL Query 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_access_sql_queryexecprojectsId, locationsId, batchesId, sparkApplicationsIddetails, executionId, parent, planDescriptionObtain data corresponding to a particular SQL Query for a Spark Application.
projects_locations_batches_spark_applications_access_stage_attemptexecprojectsId, locationsId, batchesId, sparkApplicationsIdparent, stageAttemptId, stageId, summaryMetricsMaskObtain data corresponding to 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_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_searchexecprojectsId, locationsId, batchesIdapplicationStatus, maxEndTime, maxTime, minEndTime, minTime, pageSize, pageTokenObtain high level information and list of Spark Applications corresponding to a batch
projects_locations_batches_spark_applications_search_executor_stage_summaryexecprojectsId, locationsId, batchesId, sparkApplicationsIdpageSize, pageToken, parent, stageAttemptId, stageIdObtain executor summary with respect to a spark stage attempt.
projects_locations_batches_spark_applications_search_executorsexecprojectsId, locationsId, batchesId, sparkApplicationsIdexecutorStatus, pageSize, pageToken, parentObtain data corresponding to executors for a Spark Application.
projects_locations_batches_spark_applications_search_jobsexecprojectsId, locationsId, batchesId, sparkApplicationsIdjobStatus, pageSize, pageToken, parentObtain list of spark jobs corresponding to 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_sql_queriesexecprojectsId, locationsId, batchesId, sparkApplicationsIddetails, pageSize, pageToken, parent, planDescriptionObtain data corresponding to SQL Queries for a Spark Application.
projects_locations_batches_spark_applications_search_stage_attempt_tasksexecprojectsId, locationsId, batchesId, sparkApplicationsIdpageSize, pageToken, parent, sortRuntime, stageAttemptId, stageId, taskStatusObtain data corresponding to tasks for a spark stage attempt for a Spark Application.
projects_locations_batches_spark_applications_search_stage_attemptsexecprojectsId, locationsId, batchesId, sparkApplicationsIdpageSize, pageToken, parent, stageId, summaryMetricsMaskObtain data corresponding to a spark stage attempts for a Spark Application.
projects_locations_batches_spark_applications_search_stagesexecprojectsId, locationsId, batchesId, sparkApplicationsIdpageSize, pageToken, parent, stageStatus, summaryMetricsMaskObtain data corresponding to stages 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_summarize_jobsexecprojectsId, locationsId, batchesId, sparkApplicationsIdparentObtain summary of Jobs for a Spark Application
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_stagesexecprojectsId, locationsId, batchesId, sparkApplicationsIdparentObtain summary of Stages for a Spark Application
projects_locations_batches_spark_applications_writeexecprojectsId, locationsId, batchesId, sparkApplicationsIdWrite wrapper objects from dataplane to spanner
projects_locations_sessions_spark_applications_accessexecprojectsId, locationsId, sessionsId, sparkApplicationsIdparentObtain high level information corresponding to a single 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_jobexecprojectsId, locationsId, sessionsId, sparkApplicationsIdjobId, parentObtain data corresponding to a spark job 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_sessions_spark_applications_access_native_sql_queryexecprojectsId, locationsId, sessionsId, sparkApplicationsIdexecutionId, parentObtain data corresponding to a particular Native SQL Query 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_access_sql_queryexecprojectsId, locationsId, sessionsId, sparkApplicationsIddetails, executionId, parent, planDescriptionObtain data corresponding to a particular SQL Query 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_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_searchexecprojectsId, locationsId, sessionsIdapplicationStatus, maxEndTime, maxTime, minEndTime, minTime, pageSize, pageTokenObtain high level information and list of Spark Applications corresponding to a batch
projects_locations_sessions_spark_applications_search_executor_stage_summaryexecprojectsId, locationsId, sessionsId, sparkApplicationsIdpageSize, pageToken, parent, stageAttemptId, stageIdObtain executor summary with respect to a spark stage attempt.
projects_locations_sessions_spark_applications_search_executorsexecprojectsId, locationsId, sessionsId, sparkApplicationsIdexecutorStatus, pageSize, pageToken, parentObtain data corresponding to executors for a Spark Application.
projects_locations_sessions_spark_applications_search_jobsexecprojectsId, locationsId, sessionsId, sparkApplicationsIdjobIds, jobStatus, pageSize, pageToken, parentObtain list of spark jobs corresponding to a Spark Application.
projects_locations_sessions_spark_applications_search_native_sql_queriesexecprojectsId, locationsId, sessionsId, sparkApplicationsIdpageSize, pageToken, parentObtain data corresponding to Native SQL Queries for a Spark Application.
projects_locations_sessions_spark_applications_search_sql_queriesexecprojectsId, locationsId, sessionsId, sparkApplicationsIddetails, operationIds, pageSize, pageToken, parent, planDescriptionObtain data corresponding to SQL Queries for a Spark Application.
projects_locations_sessions_spark_applications_search_stage_attempt_tasksexecprojectsId, locationsId, sessionsId, sparkApplicationsIdpageSize, pageToken, parent, sortRuntime, stageAttemptId, stageId, taskStatusObtain data corresponding to tasks for a spark stage attempt for a Spark Application.
projects_locations_sessions_spark_applications_search_stage_attemptsexecprojectsId, locationsId, sessionsId, sparkApplicationsIdpageSize, pageToken, parent, stageId, summaryMetricsMaskObtain data corresponding to a spark stage attempts for a Spark Application.
projects_locations_sessions_spark_applications_search_stagesexecprojectsId, locationsId, sessionsId, sparkApplicationsIdpageSize, pageToken, parent, stageIds, stageStatus, summaryMetricsMaskObtain data corresponding to stages for 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_summarize_jobsexecprojectsId, locationsId, sessionsId, sparkApplicationsIdjobIds, parentObtain summary of Jobs for a Spark Application
projects_locations_sessions_spark_applications_summarize_stage_attempt_tasksexecprojectsId, locationsId, sessionsId, sparkApplicationsIdparent, stageAttemptId, stageIdObtain summary of Tasks for a Spark Application Stage Attempt
projects_locations_sessions_spark_applications_summarize_stagesexecprojectsId, locationsId, sessionsId, sparkApplicationsIdparent, stageIdsObtain summary of Stages for a Spark Application
projects_locations_sessions_spark_applications_writeexecprojectsId, locationsId, sessionsId, sparkApplicationsIdWrite wrapper objects from dataplane to spanner

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 high level information corresponding to a single Spark Application.

EXEC google.dataproc.spark_applications.projects_locations_batches_spark_applications_access
@projectsId='{{ projectsId }}' --required,
@locationsId='{{ locationsId }}' --required,
@batchesId='{{ batchesId }}' --required,
@sparkApplicationsId='{{ sparkApplicationsId }}' --required,
@parent='{{ parent }}'
;