viirya commented on pull request #29326:
URL: https://github.com/apache/spark/pull/29326#issuecomment-875060042


   > Oh I didn't even realize that Spark is using `hive-exec-core` jar. Does 
that mean it doesn't take advantage of the Guava shading from Hive 2.3.8+ at 
all?
   
   Yea, I'm afraid that it is true. If we want to completely isolate 
dependencies from Hive, we may need to relocate all included (but not 
relocated) dependencies in `hive-exec` w/o classifier.
   
   > One idea is to have Spark use 
[`hadoop-shaded-guava`](https://github.com/apache/hadoop-thirdparty) which is 
also 30.1.1-jre. It also makes sure that Spark always use the same Guava 
version as Hadoop.
   
   Even Spark uses `hadoop-shaded-guava`, but `hive-exec` still needs older 
Guava if we cannot use the version w/o classifier (due to other dependencies 
e.g. common-lang3, orc, parquet..)


-- 
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]

Reply via email to