cancel
Showing results for 
Search instead for 
Did you mean: 
Data Engineering
Join discussions on data engineering best practices, architectures, and optimization strategies within the Databricks Community. Exchange insights and solutions with fellow data engineers.
cancel
Showing results for 
Search instead for 
Did you mean: 

Execute tasks parallel to process multiple files parallel

Phani1
Valued Contributor II

Hi all, 

If we have multiple tasks under the job, How to invoke a specific task under a job.

Do we have any API to invoke Job and its specific tasks instead of Job.

Use case: When we receive multiple messages from the event hub, each underlying task in the job has to process the messages from the event hub in parallel.

Notice: all the tasks in the job are pointing to the same notebook.

2 REPLIES 2

Kaniz_Fatma
Community Manager
Community Manager

Hi @Janga Reddy​,

You can use a job to run a data processing or data analysis task in a Databricks cluster with scalable resources.

Your job can consist of a single task or a large, multi-task workflow with complex dependencies.

Databricks manages the task orchestration, cluster management, monitoring, and error reporting for your jobs.

You can run your jobs immediately or periodically through an easy-to-use scheduling system. You can implement job tasks using notebooks, JARS, Delta Live Tables pipelines, Python, Scala, Spark submit, and Java applications.

You create jobs through the Jobs UI, the Jobs API, or the Databricks CLI. The Jobs UI allows you to monitor, test, and troubleshoot your running and completed jobs.

To get started:

  • Create your first Databricks jobs workflow with the quickstart.
  • Learn how to create, view, and run workflows with the Databricks jobs user interface.
  • Learn about Jobs API updates to support creating and managing workflows with Databricks jobs.

Phani1
Valued Contributor II

Thanks for your response, My question is ,if we have multiple tasks in a job ,How can we invoke specific task, I can see API to invoke the job but not a particular task in it. Kindly find attachment for your reference.

Connect with Databricks Users in Your Area

Join a Regional User Group to connect with local Databricks users. Events will be happening in your city, and you won’t want to miss the chance to attend and share knowledge.

If there isn’t a group near you, start one and help create a community that brings people together.

Request a New Group