Running Shell Commands in Notebooks
You can run shell commands either sequentially or concurrently from the Notebooks page of the QDS UI. Shell Interpreters are associated with notebooks by default. However, if you want to use any user interpreter then you must associate the interpreter with the notebook. Interpreters are started on demand when required by notebooks.
Steps
Navigate to the Notebooks page.
On the Notebooks page, click Interpreters.
For the shell interpreter, click on the corresponding edit button.
Set
zepplin.shell.concurrentCommands
=true
.You can run up to five shell commands concurrently.
Create multiple paragraphs with Spark SQL commands and click the Run icon on the left side to run all the paragraphs.
All the paragraphs run concurrently.
The following figure shows sample shell commands run from the Notebooks page.