Episode #125 of the Stack Overflow podcast is here. We talk Tilde Club and mechanical keyboards. Listen now

Questions tagged [scala]

Scala is a general purpose programming language principally targeting the Java Virtual Machine. Designed to express common programming patterns in a concise, elegant, and type-safe way, it fuses both imperative and functional programming styles. Questions about programming and software development using Scala are off topic and should be asked on stackoverflow.com.

Filter by
Sorted by
Tagged with
0
votes
0answers
6 views

Zeppelin dynamic form on sql to spark

I try to tranfer sql query to spark lang. here is sql query. %sql select ${checkbox:fields=AGE|NAME|SEX} from table limit ${limit=10} then I transfer spark lang. %spark var fields = z.select("...
-1
votes
0answers
9 views

Task lost during spark job

I've been using spark job for updating data in redshift, but recently I started encountering job failure. I've tested my spark job with small chunk of data but it work fine with it. Below mentioned ...
0
votes
0answers
78 views

Internal Error during Intellij IDE Installation - Start Failed - IDEA 2019.2

I am trying to install Intellij IDEA 2019.2 but facing below Start Failure. I tried re-installing the software again but faced similar issue during start up of Intellij. Error: Internal error. ...
0
votes
0answers
333 views

Spark - Failed to find data source: avro

When I run spark submit I have the following error: Exception in thread "main" org.apache.spark.sql.AnalysisException: Failed to find data source: avro. Avro is built-in but external data ...
0
votes
0answers
295 views

Could not retrieve jansi 1.11

I downloaded intelliJ and the Scala plug in and created a new Scala SBT project. I am getting the following errors: Getting org.fusesource.jansi jansi 1.11 (this may take some time)... unresolved ...
0
votes
0answers
51 views

Gitlab, Scala Sbt jobs take ages

I am looking for some advice. We have a Self managed Gitlab CE with around 20 projects. I am trying to configure the CI for one Scala Sbt multi module project but the jobs are too slow; the first one ...
2
votes
0answers
197 views

IIssue while loading plugin sbt-assembly in SBT Version 1.2.8

I'm having trouble to install assembly plugin in my sbt 1.2.8 tool. I have added below configuration in my sbt setting file. site.sbt: addSbtPlugin("com.typesafe.sbt" % "sbt-site" % "1.3.3") ...
0
votes
0answers
59 views

How to get sbt working in Fedora 28?

Fedora 28 repositories provide only an old sbt: sbt-0.13.1-9.fc28.1.noarch Getting started sbt recommends to install new sbt: https://www.scala-sbt.org/1.0/docs/Installing-sbt-on-Linux.html $ curl ...
0
votes
0answers
50 views

SBT Download from Intellij-Idea Hangs and Crashes System

Downloader turns forever and never begins the download. It cannot be closed and soon crashes the whole system.
0
votes
0answers
416 views

IntelliJ remote debugger connects, but breakpoints are not working for Scala jetty

I'm having no luck with breakpoints after having tried for more than a few hours, including getting "xsbt-web-plugin" installed, as per https://stackoverflow.com/questions/44232723/intellij-remote-...
0
votes
0answers
37 views

Could not connect to MYSQL: Connection keep increasing even when closed in code

I am using MySQL version is Ver 14.14 Distrib 5.7.23 I am having trouble with running a spark-submit which writes to SQL every 15 mins. In my code I will first close any current SQL connection before ...
0
votes
0answers
643 views

why does the spark-shell command give me “the system cannot find path specified” error?

I first installed java, scala and spark and made the system variable values as below: JAVA_HOME= C:\Program Files\Java\jdk1.8.0_201 SCALA_HOME=C:\Program Files (x86)\scala SPARK_HOME=C:\Program ...
0
votes
0answers
194 views

Powershell doesn't seem to get proper escaped path from $env:path

Every time I try to execute from Powershell a command that is located in my Program Files folder (e.g. 'scala') I get this output: PS C:\> scala the term (x86) was not recognized as a cmdlet, ...
0
votes
1answer
141 views

How do I run scala sbt behind a zsacaler proxy (zscloud)

My company recently used new security software from zscaler to secure internet traffic. From my basic understanding, what it does is: It takes all encrypted SSL internet connections and looks into it ...
36
votes
1answer
100k views

remove package installed by brew

Package name : sbt Path : /usr/local/cellar/sbt what I have try : sudo rmdir sbt -i on my terminal but get "rmdir: sbt: Directory not empty"
-1
votes
1answer
55 views

Need guidance starting node js / scala app

I have installed yum/apt-get installed scala, "node install" installed gulp, but cannot find how to run it for dev mode. I have started a number of node applications in the past. I am trying to ...
1
vote
0answers
732 views

Spark standalone running job error

Have been stuck on this error for a few days, desperately need help. So with standalone deploying mode, I am trying to run sample jobs, yet no matter how simple the job is (even starting spark-shell ...
2
votes
0answers
633 views

Idea IntelliJ : Compile & Run Scala REPL in remote machine

I am developing a Scala application on my remote machine ( It doesnot support GUI ) I need to use IntelliJ IDEA to write my code . Can you suggest me the best way to write my code in local machine ( ...
21
votes
1answer
4k views

Why does the “>” command in a Windows console not redirect all messages to a file?

I am trying to build a Scala project with sbt, so I run a command: sbt clean test > log.log Which means that any messages that the sbt tool writes to the Windows console should be written to the "...
0
votes
0answers
74 views

error running scala installer on windows

I am trying to use the scala 2.11.2 msi installer (downloaded from the scala site) on windows 7 professional (64 bit). However, I get the following error when launching the installer: This ...
1
vote
1answer
564 views

IntelliJ Idea debugging expression evaluation

I'm using IntelliJ idea Community edition (with Scala) and I'm trying to evaluate an expression. I hit Alt-F8 to open it in debug mode and then switch to 'Code Fragment Mode'. However, I'm allowed to ...
3
votes
1answer
3k views

How to add CLASSPATH parameters permanently when using sudo?

On Ubuntu 12.04.2 LTS 64bits, when using sudo or sudo -i or sudo su or even su in a session, in order to use both Java AND Scala I need to enter the following commands: sudo -i CLASSPATH=$CLASSPATH:/...
0
votes
2answers
99 views

Log total time a linux command (compiler) runs during a day

I'm interested in how long my machine spends compiling scala in an average workday. Is there some way to log the total runtime of the scalac command every time it is run, even if it is run by some ...
1
vote
1answer
147 views

Scala REPL Crash

I've tried Scala on two computers. It works fine on a Windows Professional 64-Bit OS, but the REPL and scalac crash nastily on Windows Professional 32-Bit when running directly from the command line. ...
0
votes
1answer
959 views

TextMate Scala bundle

Scala and Textmate have been around for a while, but I wonder why there's no TM Scala Bundle here yet. Is there a usable one without a hard/uncommon installation process? The one which is as easy as ...
0
votes
2answers
1k views

What are software and hardware requirements for Scala language?

I was wondering, what software and hardware requirements are there to make Scala work correctly?
3
votes
1answer
656 views

Scala compiler _incredibly_ slow on Mac OS X 10.6

I recently tried to install scala and the Scala IDE plugin for Eclipse. Everything's working fine, except for that it takes over 5 seconds to compile a simple hello world program. At first I thought ...
13
votes
3answers
2k views

A rapid way to type funny characters from Scalaz?

Is there any easy and fast way to type the funny characters (like ⊛, ≟, ∘, ∨ etc) from Scalaz? (I am using Ubuntu 9.04)