diff --git a/tools/src/main/scala/org/apache/spark/tools/GenerateMIMAIgnore.scala b/tools/src/main/scala/org/apache/spark/tools/GenerateMIMAIgnore.scala index 5547e9fe58fc7..3fb85e1ff73a8 100644 --- a/tools/src/main/scala/org/apache/spark/tools/GenerateMIMAIgnore.scala +++ b/tools/src/main/scala/org/apache/spark/tools/GenerateMIMAIgnore.scala @@ -99,7 +99,9 @@ object GenerateMIMAIgnore { // Heuristic to remove JVM classes that do not correspond to user-facing classes in Scala name.contains("anon") || name.endsWith("$class") || - name.contains("$sp") + name.contains("$sp") || + name.contains("hive") || + name.contains("Hive") } /**