I'm new to databrick and I'm just trying to copy my scala code to databrick notebook.
However, for the imports, everything is fine except
import org.apache.spark.util.LongAccumxulator
which is a package written in Java,
I know that scala can import java packages, so what is going wrong here?
The error message is:
notebook:11: error: object LongAccumxulator is not a member of package
org.apache.spark.util import org.apache.spark.util.LongAccumxulator
What is the reason for getting this error?