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

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

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.

Join 100K+ Data Experts: Register Now & Grow with Us!

Excited to expand your horizons with us? Click here to Register and begin your journey to success!

Already a member? Login and join your local regional user group! If there isn’t one near you, fill out this form and we’ll create one for you to join!