Uploaded image for project: 'Zeppelin'
  1. Zeppelin
  2. ZEPPELIN-2368

Option to run all paragraphs *sequentially*

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 0.7.1
    • 0.8.0
    • Core, zeppelin-server
    • None

    Description

      A user on zeppelin's user email list:

      I often have notebooks that have a %sh as the 1st paragraph. This scps some file from another server, and then a number of spark or sparksql paragraphs are after that.

      If I click on the run-all paragraphs at the top of the notebook the 1st %sh paragraph kicks off as expected, but the 2nd %spark notebook starts too at the same time. The others go into pending state and then start once the spark one has completed.

      Is this a bug? Or am I doing something wrong?

      Quoting moon

      That's expected behavior at the moment. The reason is

      Each interpreter has it's own scheduler (either FIFO, Parallel), and run-all just submit all paragraphs into target interpreter's scheduler.

      I think we can add feature such as run-all-sequentially.

      Attachments

        Issue Links

          Activity

            People

              zjffdu Jeff Zhang
              Tagar Ruslan Dautkhanov
              Votes:
              9 Vote for this issue
              Watchers:
              17 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: