Skip to content

Commit 947462f

Browse files
committed
Revert "[SPARK-23831][SQL] Add org.apache.derby to IsolatedClientLoader"
This reverts commit a75571b.
1 parent 4c91b22 commit 947462f

File tree

2 files changed

+0
-7
lines changed

2 files changed

+0
-7
lines changed

sql/hive/src/main/scala/org/apache/spark/sql/hive/client/IsolatedClientLoader.scala

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -182,7 +182,6 @@ private[hive] class IsolatedClientLoader(
182182
name.startsWith("org.slf4j") ||
183183
name.startsWith("org.apache.log4j") || // log4j1.x
184184
name.startsWith("org.apache.logging.log4j") || // log4j2
185-
name.startsWith("org.apache.derby.") ||
186185
name.startsWith("org.apache.spark.") ||
187186
(sharesHadoopClasses && isHadoopClass) ||
188187
name.startsWith("scala.") ||

sql/hive/src/test/scala/org/apache/spark/sql/hive/HiveExternalCatalogSuite.scala

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -113,10 +113,4 @@ class HiveExternalCatalogSuite extends ExternalCatalogSuite {
113113
catalog.createDatabase(newDb("dbWithNullDesc").copy(description = null), ignoreIfExists = false)
114114
assert(catalog.getDatabase("dbWithNullDesc").description == "")
115115
}
116-
117-
test("SPARK-23831: Add org.apache.derby to IsolatedClientLoader") {
118-
val client1 = HiveUtils.newClientForMetadata(new SparkConf, new Configuration)
119-
val client2 = HiveUtils.newClientForMetadata(new SparkConf, new Configuration)
120-
assert(!client1.equals(client2))
121-
}
122116
}

0 commit comments

Comments
 (0)