sunchao commented on pull request #33989: URL: https://github.com/apache/spark/pull/33989#issuecomment-926976194
Hmm interesting. After I changed the isolated class loader to pick guava classes from Hive jars (which is of 14.0.1), tests started to fail because it now seems to uses Spark's built-in Guava which is 30.1.1-jre. This doesn't seem to make sense. ``` [error] sbt.ForkMain$ForkError: java.lang.IllegalAccessError: tried to access method com.google.common.collect.Iterators.emptyIterator()Lcom/google/common/collect/UnmodifiableIterator; from class org.apache.hadoop.hive.ql.exec.FetchOperator [error] at org.apache.hadoop.hive.ql.exec.FetchOperator.<init>(FetchOperator.java:108) [error] at org.apache.hadoop.hive.ql.exec.FetchTask.initialize(FetchTask.java:87) [error] at org.apache.hadoop.hive.ql.Driver.compile(Driver.java:541) [error] at org.apache.hadoop.hive.ql.Driver.compileInternal(Driver.java:1317) [error] at org.apache.hadoop.hive.ql.Driver.runInternal(Driver.java:1457) [error] at org.apache.hadoop.hive.ql.Driver.run(Driver.java:1237) [error] at org.apache.hadoop.hive.ql.Driver.run(Driver.java:1227) [error] at org.apache.spark.sql.hive.client.HiveClientImpl.$anonfun$runHive$1(HiveClientImpl.scala:831) ``` `Iterators.emptyIterator` here is no longer public in the newer versions of guava. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
