Hi there,

I'm tweaking hive thrift server and spart session to provide custom sql
capabilities, and i came across java.lang.ClassNotFoundException to load
customer session builder.

What i found is that the customer session builder is tried to load by
MutableURLClassLoader.

I have no idea about why my customer session builder is not visible to this
class loader. It's happening when opening session.

I've got this root cause stack trace :

Caused by: java.lang.ClassNotFoundException: com.xxx.XXXSessionStateBuilder

at java.net.URLClassLoader.findClass(URLClassLoader.java:382)

at java.lang.ClassLoader.loadClass(ClassLoader.java:418)

at java.lang.ClassLoader.loadClass(ClassLoader.java:351)

at java.lang.Class.forName0(Native Method)

at java.lang.Class.forName(Class.java:348)

at org.apache.spark.util.Utils$.classForName(Utils.scala:207)

at
com.xxx.XXXSparkSession$.com$xxx$XXXSparkSession$$instantiateSessionState(XXXSparkSession.scala:724)


Any idea about this.

TIA.


Jason

Reply via email to