cancel
Showing results for 
Search instead for 
Did you mean: 
Data Engineering
cancel
Showing results for 
Search instead for 
Did you mean: 

Execute tasks parallel to process multiple files parallel

Phani1
Valued Contributor

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
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

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.

Welcome to Databricks Community: Lets learn, network and celebrate together

Join our fast-growing data practitioner and expert community of 80K+ members, ready to discover, help and collaborate together while making meaningful connections. 

Click here to register and join today! 

Engage in exciting technical discussions, join a group with your peers and meet our Featured Members.