Spark RPC TLS (spark.ssl.rpc.enabled) loads entire disk-cached blocks into memory, causing executor OOMs
We're moving our Spark 4.1.1 jobs from our current setup, which uses AES-based RPC encryption (spark.network.crypto.enabled=true), to RPC TLS (spark.ssl.rpc.enabled=true). With RPC TLS, jobs that cache data with persist(StorageLevel.DISK_ONLY) and then read it from other executors started getting executors OOMKilled. The same jobs run fine with our current AES setup. From the code, it looks like this is the cause. When an executor sends a disk-cached block to another executor, DiskBlockData (DiskStore.scala) does this (link to DiskStore.scala): override def toNetty(): AnyRef = new DefaultFileR
0 upvotes
View original discussion ↗
Comments
Sign in or sign up to comment and upvote.
No comments yet.