We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 558e767 commit 13918d9Copy full SHA for 13918d9
1 file changed
sql/hive/src/main/scala/org/apache/spark/sql/hive/client/IsolatedClientLoader.scala
@@ -177,7 +177,10 @@ private[hive] class IsolatedClientLoader(
177
178
protected def isSharedClass(name: String): Boolean = {
179
val isHadoopClass =
180
- name.startsWith("org.apache.hadoop.") && !name.startsWith("org.apache.hadoop.hive.")
+ name.startsWith("org.apache.hadoop.") && !name.startsWith("org.apache.hadoop.hive.") ||
181
+ // Also, includes configuration2 as a min fix for Hadoop 3+ for now. This is failed
182
+ // during class resolution. It is fine when 'sharesHadoopClasses' is disabled.
183
+ name.startsWith("org.apache.commons.configuration2.")
184
185
name.startsWith("org.slf4j") ||
186
name.startsWith("org.apache.log4j") || // log4j1.x
0 commit comments