Ishank Bansal
10/13/2023, 11:57 AMAsynchronousException{java.lang.Exception: Could not materialize checkpoint 927 for operator pacing reduce: impression (1/1).}
at org.apache.flink.streaming.runtime.tasks.StreamTask$AsyncCheckpointRunnable.run(StreamTask.java:948)
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
at java.util.concurrent.FutureTask.run(FutureTask.java:266)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
at java.lang.Thread.run(Thread.java:748)
Caused by: java.lang.Exception: Could not materialize checkpoint 927 for operator pacing reduce: impression (1/1).
... 6 more
Caused by: java.util.concurrent.ExecutionException: java.io.IOException: Could not flush and close the file system output stream to <s3://c6-qa2-s3-uw2-mapr-data/flink/tmp/checkpoints/e719bfc35f191baeaab7ce7aaf87f9b7/chk-927/4818d320-b149-47fe-b99e-510b763edb8a> in order to obtain the stream state handle
at java.util.concurrent.FutureTask.report(FutureTask.java:122)
at java.util.concurrent.FutureTask.get(FutureTask.java:192)
at org.apache.flink.util.FutureUtil.runIfNotDoneAndGet(FutureUtil.java:43)
at org.apache.flink.streaming.runtime.tasks.StreamTask$AsyncCheckpointRunnable.run(StreamTask.java:894)
... 5 more
Suppressed: java.lang.Exception: Could not properly cancel managed keyed state future.
at org.apache.flink.streaming.api.operators.OperatorSnapshotResult.cancel(OperatorSnapshotResult.java:91)
at org.apache.flink.streaming.runtime.tasks.StreamTask$AsyncCheckpointRunnable.cleanup(StreamTask.java:976)
at org.apache.flink.streaming.runtime.tasks.StreamTask$AsyncCheckpointRunnable.run(StreamTask.java:939)
... 5 more
Caused by: java.util.concurrent.ExecutionException: java.io.IOException: Could not flush and close the file system output stream to <s3://c6-qa2-s3-uw2-mapr-data/flink/tmp/checkpoints/e719bfc35f191baeaab7ce7aaf87f9b7/chk-927/4818d320-b149-47fe-b99e-510b763edb8a> in order to obtain the stream state handle
at java.util.concurrent.FutureTask.report(FutureTask.java:122)
at java.util.concurrent.FutureTask.get(FutureTask.java:192)
at org.apache.flink.util.FutureUtil.runIfNotDoneAndGet(FutureUtil.java:43)
at org.apache.flink.runtime.state.StateUtil.discardStateFuture(StateUtil.java:66)
at org.apache.flink.streaming.api.operators.OperatorSnapshotResult.cancel(OperatorSnapshotResult.java:89)
... 7 more
Caused by: java.io.IOException: Could not flush and close the file system output stream to <s3://c6-qa2-s3-uw2-mapr-data/flink/tmp/checkpoints/e719bfc35f191baeaab7ce7aaf87f9b7/chk-927/4818d320-b149-47fe-b99e-510b763edb8a> in order to obtain the stream state handle
at org.apache.flink.runtime.state.filesystem.FsCheckpointStreamFactory$FsCheckpointStateOutputStream.closeAndGetHandle(FsCheckpointStreamFactory.java:336)
at org.apache.flink.runtime.state.heap.HeapKeyedStateBackend$1.performOperation(HeapKeyedStateBackend.java:397)
at org.apache.flink.runtime.state.heap.HeapKeyedStateBackend$1.performOperation(HeapKeyedStateBackend.java:339)
at org.apache.flink.runtime.io.async.AbstractAsyncCallableWithResources.call(AbstractAsyncCallableWithResources.java:75)
at java.util.concurrent.FutureTask.run(FutureTask.java:266)
at org.apache.flink.util.FutureUtil.runIfNotDoneAndGet(FutureUtil.java:40)
at org.apache.flink.streaming.runtime.tasks.StreamTask$AsyncCheckpointRunnable.run(StreamTask.java:894)
... 5 more
Caused by: java.io.IOException: org.apache.flink.fs.s3presto.shaded.com.amazonaws.AmazonClientException: Unable to complete transfer: Could not initialize class org.apache.flink.fs.s3presto.shaded.com.amazonaws.util.Base64
at org.apache.flink.fs.s3presto.shaded.com.facebook.presto.hive.PrestoS3FileSystem$PrestoS3OutputStream.uploadObject(PrestoS3FileSystem.java:1036)
at org.apache.flink.fs.s3presto.shaded.com.facebook.presto.hive.PrestoS3FileSystem$PrestoS3OutputStream.close(PrestoS3FileSystem.java:987)
at org.apache.flink.fs.s3presto.shaded.org.apache.hadoop.fs.FSDataOutputStream$PositionCache.close(FSDataOutputStream.java:72)
at org.apache.flink.fs.s3presto.shaded.org.apache.hadoop.fs.FSDataOutputStream.close(FSDataOutputStream.java:106)
at org.apache.flink.fs.s3presto.shaded.org.apache.flink.runtime.fs.hdfs.HadoopDataOutputStream.close(HadoopDataOutputStream.java:52)
at org.apache.flink.core.fs.ClosingFSDataOutputStream.close(ClosingFSDataOutputStream.java:64)
at org.apache.flink.runtime.state.filesystem.FsCheckpointStreamFactory$FsCheckpointStateOutputStream.closeAndGetHandle(FsCheckpointStreamFactory.java:319)
... 11 more
Caused by: org.apache.flink.fs.s3presto.shaded.com.amazonaws.AmazonClientException: Unable to complete transfer: Could not initialize class org.apache.flink.fs.s3presto.shaded.com.amazonaws.util.Base64
at org.apache.flink.fs.s3presto.shaded.com.amazonaws.services.s3.transfer.internal.AbstractTransfer.unwrapExecutionException(AbstractTransfer.java:286)
at org.apache.flink.fs.s3presto.shaded.com.amazonaws.services.s3.transfer.internal.AbstractTransfer.rethrowExecutionException(AbstractTransfer.java:265)
at org.apache.flink.fs.s3presto.shaded.com.amazonaws.services.s3.transfer.internal.AbstractTransfer.waitForCompletion(AbstractTransfer.java:103)
at org.apache.flink.fs.s3presto.shaded.com.facebook.presto.hive.PrestoS3FileSystem$PrestoS3OutputStream.uploadObject(PrestoS3FileSystem.java:1030)
... 17 more
Caused by: java.lang.NoClassDefFoundError: Could not initialize class org.apache.flink.fs.s3presto.shaded.com.amazonaws.util.Base64
at org.apache.flink.fs.s3presto.shaded.com.amazonaws.util.Md5Utils.md5AsBase64(Md5Utils.java:104)
at org.apache.flink.fs.s3presto.shaded.com.amazonaws.services.s3.AmazonS3Client.putObject(AmazonS3Client.java:1620)
at org.apache.flink.fs.s3presto.shaded.com.amazonaws.services.s3.transfer.internal.UploadCallable.uploadInOneChunk(UploadCallable.java:133)
at org.apache.flink.fs.s3presto.shaded.com.amazonaws.services.s3.transfer.internal.UploadCallable.call(UploadCallable.java:125)
at org.apache.flink.fs.s3presto.shaded.com.amazonaws.services.s3.transfer.internal.UploadMonitor.call(UploadMonitor.java:143)
at org.apache.flink.fs.s3presto.shaded.com.amazonaws.services.s3.transfer.internal.UploadMonitor.call(UploadMonitor.java:48)
... 4 more
Caused by: [CIRCULAR REFERENCE: java.io.IOException: Could not flush and close the file system output stream to <s3://c6-qa2-s3-uw2-mapr-data/flink/tmp/checkpoints/e719bfc35f191baeaab7ce7aaf87f9b7/chk-927/4818d320-b149-47fe-b99e-510b763edb8a> in order to obtain the stream state handle]
Can anyone please help here, I am stuck in int from couple of days nowMartijn Visser
10/13/2023, 11:58 AMIshank Bansal
10/13/2023, 11:58 AMMartijn Visser
10/13/2023, 11:59 AMIshank Bansal
10/13/2023, 12:00 PMMartijn Visser
10/13/2023, 12:01 PMIshank Bansal
10/13/2023, 12:02 PMMartijn Visser
10/13/2023, 12:02 PMIshank Bansal
10/13/2023, 12:03 PMMartijn Visser
10/13/2023, 12:03 PMMartijn Visser
10/13/2023, 12:04 PMIshank Bansal
10/13/2023, 12:06 PMIshank Bansal
10/13/2023, 12:06 PMMartijn Visser
10/13/2023, 12:11 PMIshank Bansal
10/13/2023, 12:11 PMIshank Bansal
10/13/2023, 12:11 PMMartijn Visser
10/13/2023, 12:13 PMPlease suggest any solution to it so that we can move forward.You need to start upgrading Flink into a version that's still supported
Ishank Bansal
10/13/2023, 12:18 PMIshank Bansal
10/13/2023, 12:18 PMMartijn Visser
10/13/2023, 1:00 PMflink is very critical for our bssiness.Being the devil's advocate here, but if that was the case, then upgrades wouldn't have been postponed for such a long time π
Ishank Bansal
10/14/2023, 8:38 AM