โ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,
โ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
โ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
โ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
โ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,
โ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
Join a Regional User Group to connect with local Databricks users. Events will be happening in your city, and you wonโt want to miss the chance to attend and share knowledge.
If there isnโt a group near you, start one and help create a community that brings people together.
Request a New Group