Checksum error during checkpointing

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

Checksum error during checkpointing

JayeshLalwani

We have a Structured Streaming application running for more than 40 hours. We are storing checkpoints in EFS. The application is failing with a checksum error on the checkpoint (stack trace below)

 

Is this because the checkpoint is corrupt? Is there a way to fix this? Is this a bug in Spark?

 

Caused by: org.apache.hadoop.fs.ChecksumException: Checksum error: file:/efs/checkpoint/UPDATE_JDBC_DECISION_HISTORY/state/0/1/51274.snapshot at 35126272

            at org.apache.hadoop.fs.ChecksumFileSystem$ChecksumFSInputChecker.readChunk(ChecksumFileSystem.java:259)

            at org.apache.hadoop.fs.FSInputChecker.readChecksumChunk(FSInputChecker.java:276)

            at org.apache.hadoop.fs.FSInputChecker.fill(FSInputChecker.java:214)

            at org.apache.hadoop.fs.FSInputChecker.read1(FSInputChecker.java:232)

            at org.apache.hadoop.fs.FSInputChecker.read(FSInputChecker.java:196)

            at java.io.DataInputStream.read(DataInputStream.java:149)

            at org.apache.spark.io.LZ4BlockInputStream.readFully(LZ4BlockInputStream.java:228)

            at org.apache.spark.io.LZ4BlockInputStream.refill(LZ4BlockInputStream.java:203)

            at org.apache.spark.io.LZ4BlockInputStream.read(LZ4BlockInputStream.java:125)

            at java.io.DataInputStream.read(DataInputStream.java:149)

            at org.spark_project.guava.io.ByteStreams.read(ByteStreams.java:899)

            at org.spark_project.guava.io.ByteStreams.readFully(ByteStreams.java:733)

            at org.apache.spark.sql.execution.streaming.state.HDFSBackedStateStoreProvider.org$apache$spark$sql$execution$streaming$state$HDFSBackedStateStoreProvider$$readSnapshotFile(HDFSBackedStateStoreProvider.scala:489)

            at org.apache.spark.sql.execution.streaming.state.HDFSBackedStateStoreProvider$$anonfun$org$apache$spark$sql$execution$streaming$state$HDFSBackedStateStoreProvider$$loadMap$1.apply(HDFSBackedStateStoreProvider.scala:359)

            at org.apache.spark.sql.execution.streaming.state.HDFSBackedStateStoreProvider$$anonfun$org$apache$spark$sql$execution$streaming$state$HDFSBackedStateStoreProvider$$loadMap$1.apply(HDFSBackedStateStoreProvider.scala:358)

            at scala.Option.getOrElse(Option.scala:121)

            at org.apache.spark.sql.execution.streaming.state.HDFSBackedStateStoreProvider.org$apache$spark$sql$execution$streaming$state$HDFSBackedStateStoreProvider$$loadMap(HDFSBackedStateStoreProvider.scala:358)

            at org.apache.spark.sql.execution.streaming.state.HDFSBackedStateStoreProvider$$anonfun$org$apache$spark$sql$execution$streaming$state$HDFSBackedStateStoreProvider$$loadMap$1$$anonfun$6.apply(HDFSBackedStateStoreProvider.scala:360)

            at org.apache.spark.sql.execution.streaming.state.HDFSBackedStateStoreProvider$$anonfun$org$apache$spark$sql$execution$streaming$state$HDFSBackedStateStoreProvider$$loadMap$1$$anonfun$6.apply(HDFSBackedStateStoreProvider.scala:359)

            at scala.Option.getOrElse(Option.scala:121)

            at org.apache.spark.sql.execution.streaming.state.HDFSBackedStateStoreProvider$$anonfun$org$apache$spark$sql$execution$streaming$state$HDFSBackedStateStoreProvider$$loadMap$1.apply(HDFSBackedStateStoreProvider.scala:359)

            at org.apache.spark.sql.execution.streaming.state.HDFSBackedStateStoreProvider$$anonfun$org$apache$spark$sql$execution$streaming$state$HDFSBackedStateStoreProvider$$loadMap$1.apply(HDFSBackedStateStoreProvider.scala:358)

            at scala.Option.getOrElse(Option.scala:121)

            at org.apache.spark.sql.execution.streaming.state.HDFSBackedStateStoreProvider.org$apache$spark$sql$execution$streaming$state$HDFSBackedStateStoreProvider$$loadMap(HDFSBackedStateStoreProvider.scala:358)

 

 



The information contained in this e-mail is confidential and/or proprietary to Capital One and/or its affiliates and may only be used solely in performance of work or services for Capital One. The information transmitted herewith is intended only for use by the individual or entity to which it is addressed. If the reader of this message is not the intended recipient, you are hereby notified that any review, retransmission, dissemination, distribution, copying or other use of, or taking of any action in reliance upon this information is strictly prohibited. If you have received this communication in error, please contact the sender and delete the material from your computer.