How can I run a scala command line in databricks?
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-04-2022 02:39 AM
I wish to run a scala command, which I believe would normally be run from a scala command line rather than from within a notebook.
It happens to be:
scala [-cp scalatest-<version>.jar:...] org.scalatest.tools.Runner [arguments](scalatest_2.12__3.0.8.jar is included within the databricks runtime)
Can this be run within a scala notebook from databricks, or by some other means within databricks, eg (and ideally) as a job?
I have tried various ways of running this command from within a notebook without success. I'm not sure if its possible or if I need to structure the syntax in such a way for it to work.
Thanks