โ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-14-2021 12:05 PM
Hi @ Zen ! My name is Kaniz, and I'm the technical moderator here. Great to meet you, and thanks for your question! Let's see if your peers on the community have an answer to your question first. Or else I will follow up shortly with a response.
โ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:25 AM
Hi @Zenโ ,
You're most welcome at Databricks Community .
Sorry to keep you waiting.
I'm glad to help you here.
We'll get an answer soon for your question.
Thank you for your patience.
โ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-15-2021 07:37 AM
You're welcome @Zenโ .
I'll revert back to you asap .
Thanks for waiting .
โ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,
โ09-16-2021 09:35 AM
Hi @Zenโ ,
Sorry to keep you waiting.
My team is looking into it.
We'll revert back to you soon with a response.
Thank you for your patience๐ .
โ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
โ05-18-2022 01:25 PM
Hi @Zen)โ, Just a friendly follow-up. Do you still need help, or @DARSHAN BARGALโ 's response help you to find the solution? Please let us know.