Spark Jobs
Introduction Spark JOB:- In spark, we have two different types of computation or operations. 1. transformations 2. action Transformations are lazily evaluated means it will be executed until and any actions or side effects are called. Till side effects are actions called, spark will create logical plan for those transformations as DAG. if no action called then no transformation happen or executed. So, this each actions will trigger the jobs or create jobs and computed. so, mostly no of jobs is equal to no of actions unless some optimization techniques applied like caching Data Frames are in intermediate results, Whole Stage Code Generation techniques, query optimization , adaptive query execution, shuffled count. Spark jobs are set of tasks which will done by distributed computation. Spark job is logically divided into stages. Stages:- Stages are logical unit of job. It is consist of set of tasks can run parallelly on partitions of data or executors of work...