Github user JoshRosen commented on a diff in the pull request:
https://github.com/apache/spark/pull/10875#discussion_r50625235
--- Diff: core/src/main/scala/org/apache/spark/io/CompressionCodec.scala ---
@@ -149,12 +149,7 @@ class LZFCompressionCodec(conf: SparkConf) extends
CompressionCodec {
*/
@DeveloperApi
class SnappyCompressionCodec(conf: SparkConf) extends CompressionCodec {
-
- try {
- Snappy.getNativeLibraryVersion
--- End diff --
Also, I guess `getNativeLibraryVersion` might be kind of expensive due to
the IO that it does, so maybe calling it less frequently will give us a perf.
boost?
---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]