spark-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Soheil Pourbafrani <soheil.i...@gmail.com>
Subject Scala: The Util is not accessible in def main
Date Sun, 11 Nov 2018 10:12:32 GMT
Hi,
I want to use org.apache.spark.util.Utils library in def main but I got the
error:

Symbole Util is not accessible from this place. Here is the code:

val temp = tokens.map(word => Utils.nonNegativeMod(x, y))

How can I make it accessible?

Mime
View raw message