spark-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Kiran Chitturi <>
Subject 2.0.0: Hive metastore uses a different version of derby than the Spark package
Date Sat, 06 Aug 2016 00:45:02 GMT

In 2.0.0, I encountered this error while using the spark-shell.

Caused by: java.lang.SecurityException: sealing violation: can't seal
package already loaded

Full stacktrace:

While looking at the dependency tree, I found that hive-metastore
'org.spark-project.hive:hive-metastore:jar:1.2.1.spark2:compile' uses
** while the jars folder in 2.0.0 binary uses *derby-*

Excluding derby from my shaded jar fixed the issue.

This could be an issue for someone else. Would it make sense to update so
that hive-metastore and Spark package are on the same derby version ?


Kiran Chitturi

View raw message