run databricks notebooks parallely

pankaj chaturvedi 86 Reputation points
2022-09-16T08:53:04.27+00:00

Hi Team,

I need to run multiple notebooks in Azure Data Bricks parallelly using Pyspark . Could you please let me know how to do that?

I am looking forward your response. Thanks.!

Azure Databricks
Azure Databricks
An Apache Spark-based analytics platform optimized for Azure.
2,175 questions
{count} vote

1 answer

Sort by: Most helpful
  1. PRADEEPCHEEKATLA-MSFT 89,386 Reputation points Microsoft Employee
    2022-09-16T10:48:44.757+00:00

    Hello @pankaj chaturvedi ,

    Thanks for the question and using MS Q&A platform.

    You can run multiple notebooks at the same time by using standard Scala and Python constructs such as Threads (Scala, Python) and Futures (Scala, Python). The advanced notebook workflow notebooks demonstrate how to use these constructs. The notebooks are in Scala but you could easily write the equivalent in Python. To run the example:

    1. Download the notebook archive.
    2. Import the archive into a workspace.
    3. Run the Concurrent Notebooks notebook.

    For more details, refer to Run multiple notebooks concurrently and Run Databricks Notebooks In Parallel -Python.

    Hope this will help. Please let us know if any further queries.

    ------------------------------

    • Please don't forget to click on 130616-image.png or upvote 130671-image.png button whenever the information provided helps you. Original posters help the community find answers faster by identifying the correct answer. Here is how
    • Want a reminder to come back and check responses? Here is how to subscribe to a junotification
    • If you are interested in joining the VM program and help shape the future of Q&A: Here is jhow you can be part of Q&A Volunteer Moderators

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.