- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-14-2021 10:04 AM
Hello,
how do I run a scala script from a Terminal on Databricks - Web Terminal, or from a cell with %sh
just doing `scala -nc script.scala` is not working.
Thanks,
- Labels:
-
Scala
-
Scala Script
Accepted Solutions
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-04-2021 03:17 AM
Hi @Zen
the web terminal is basically used for shell commands only and specific to driver node only.
You can install the scala on top of the driver node from web terminal with below command and use it:
% sudo apt install scala
Please let me know if this helps.
Regards,
Darshan
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-15-2021 06:24 AM
thank you @Kaniz Fatma - unfortunately, I haven't gotten a response for this - it'd help me greatly if you could help with this question, thanks
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-15-2021 07:30 AM
thank you @Kaniz Fatma , some additional info about this. I tried the suggestions here:
but got the same errors as in the link
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-16-2021 08:18 AM
Hi @Kaniz Fatma - I'm following up to check if you were able to find any information on my question. I'd greatly appreciate your help - thank you,
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-04-2021 03:17 AM
Hi @Zen
the web terminal is basically used for shell commands only and specific to driver node only.
You can install the scala on top of the driver node from web terminal with below command and use it:
% sudo apt install scala
Please let me know if this helps.
Regards,
Darshan

