Reply
Highlighted
New Contributor
Posts: 1
Registered: ‎04-06-2018

Livy: object Predef does not have a member classOf

Hello,

 

I'm trying to import a package with Livy but it keeps hitting this error when I create the session:

 

scala.reflect.internal.FatalError: object Predef does not have a member classOf

This are the libraries that i tried to import:

 

 

livy.spark.jars.packages     com.ubirch.key:model-db_2.11:0.4.0
                             org.scala-lang:scala-parser-combinators:2.11.0-M4

 

So i tried to exclude the reflect library using this parameter:

 

spark.jars.excludes    org.scala-lang:scala-reflect:2.11.8

 

But this is not working. Also when I import those libraries directly into spark with --packages it works fine.

 

I think i'm hitting this bug.

 

My Livy version is livy-0.5.0-incubating-bin.

 

Regards,

Silva

Announcements