erikcw commented on issue #7137:
URL: https://github.com/apache/iceberg/issues/7137#issuecomment-1775505118
I'm also experiencing this issue. I'm on Trino version 430.
```
çorg.apache.iceberg.exceptions.RuntimeIOException: Failed to open file:
s3://MY.BUCKET/parquet/campaigns-pre-id-iceberg/metadata/5e73263d-42dd-4e6a-af4b-3027ec72896a-m25.avro
at
org.apache.iceberg.avro.AvroIterable.newFileReader(AvroIterable.java:102)
at org.apache.iceberg.avro.AvroIterable.iterator(AvroIterable.java:76)
at
org.apache.iceberg.io.CloseableIterable$7$1.<init>(CloseableIterable.java:188)
at
org.apache.iceberg.io.CloseableIterable$7.iterator(CloseableIterable.java:187)
at
org.apache.iceberg.io.CloseableIterable.lambda$filter$1(CloseableIterable.java:136)
at
org.apache.iceberg.io.CloseableIterable$2.iterator(CloseableIterable.java:72)
at
org.apache.iceberg.io.CloseableIterable.lambda$filter$1(CloseableIterable.java:136)
at
org.apache.iceberg.io.CloseableIterable$2.iterator(CloseableIterable.java:72)
at
org.apache.iceberg.io.CloseableIterable.lambda$filter$1(CloseableIterable.java:136)
at
org.apache.iceberg.io.CloseableIterable$2.iterator(CloseableIterable.java:72)
at
org.apache.iceberg.io.CloseableIterable$7$1.<init>(CloseableIterable.java:188)
at
org.apache.iceberg.io.CloseableIterable$7.iterator(CloseableIterable.java:187)
at org.apache.iceberg.ManifestGroup$1.iterator(ManifestGroup.java:333)
at org.apache.iceberg.ManifestGroup$1.iterator(ManifestGroup.java:291)
at
org.apache.iceberg.util.ParallelIterable$ParallelIterator.lambda$new$1(ParallelIterable.java:69)
at
java.base/java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:539)
at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264)
at
java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1136)
at
java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:635)
at java.base/java.lang.Thread.run(Thread.java:833)
Caused by: java.io.FileNotFoundException: File
s3://MY.BUCKET/parquet/campaigns-pre-id-iceberg/metadata/5e73263d-42dd-4e6a-af4b-3027ec72896a-m25.avro
not found: The specified key does not exist. (Service: Amazon S3; Status Code:
404; Error Code: NoSuchKey; Request ID: 3QPXD22DZE38NQK8; S3 Extended Request
ID:
i/+9xgHx+b4VsxsUDx2qz+qcm0dc8rDCxGObBEkliJxl7N3tV4Zq3MvHq7uWnVA5iqUdBBuN3mY=;
Proxy: null) (Bucket: MY.BUCKET, Key:
parquet/campaigns-pre-id-iceberg/metadata/5e73263d-42dd-4e6a-af4b-3027ec72896a-m25.avro)
at
io.trino.filesystem.hdfs.HdfsTrinoInputStream.read(HdfsTrinoInputStream.java:103)
at
io.trino.plugin.iceberg.fileio.ForwardingSeekableInputStream.read(ForwardingSeekableInputStream.java:66)
at
org.apache.iceberg.avro.AvroIO$AvroInputStreamAdapter.read(AvroIO.java:117)
at
org.apache.avro.file.DataFileReader.openReader(DataFileReader.java:65)
at
org.apache.iceberg.avro.AvroIterable.newFileReader(AvroIterable.java:100)
... 19 more
Caused by: java.io.FileNotFoundException: The specified key does not exist.
(Service: Amazon S3; Status Code: 404; Error Code: NoSuchKey; Request ID:
3QPXD22DZE38NQK8; S3 Extended Request ID:
i/+9xgHx+b4VsxsUDx2qz+qcm0dc8rDCxGObBEkliJxl7N3tV4Zq3MvHq7uWnVA5iqUdBBuN3mY=;
Proxy: null) (Bucket: MY.BUCKET, Key:
parquet/campaigns-pre-id-iceberg/metadata/5e73263d-42dd-4e6a-af4b-3027ec72896a-m25.avro)
at
io.trino.hdfs.s3.TrinoS3FileSystem.throwIfFileNotFound(TrinoS3FileSystem.java:2074)
at
io.trino.hdfs.s3.TrinoS3FileSystem$TrinoS3InputStream.lambda$openStream$2(TrinoS3FileSystem.java:1580)
at io.trino.hdfs.s3.RetryDriver.run(RetryDriver.java:125)
at
io.trino.hdfs.s3.TrinoS3FileSystem$TrinoS3InputStream.openStream(TrinoS3FileSystem.java:1557)
at
io.trino.hdfs.s3.TrinoS3FileSystem$TrinoS3InputStream.openStream(TrinoS3FileSystem.java:1542)
at
io.trino.hdfs.s3.TrinoS3FileSystem$TrinoS3InputStream.seekStream(TrinoS3FileSystem.java:1535)
at
io.trino.hdfs.s3.TrinoS3FileSystem$TrinoS3InputStream.lambda$read$1(TrinoS3FileSystem.java:1479)
at io.trino.hdfs.s3.RetryDriver.run(RetryDriver.java:125)
at
io.trino.hdfs.s3.TrinoS3FileSystem$TrinoS3InputStream.read(TrinoS3FileSystem.java:1478)
at
java.base/java.io.BufferedInputStream.fill(BufferedInputStream.java:244)
at
java.base/java.io.BufferedInputStream.read1(BufferedInputStream.java:284)
at
java.base/java.io.BufferedInputStream.read(BufferedInputStream.java:343)
at java.base/java.io.DataInputStream.read(DataInputStream.java:151)
at java.base/java.io.DataInputStream.read(DataInputStream.java:151)
at
io.trino.filesystem.hdfs.HdfsTrinoInputStream.read(HdfsTrinoInputStream.java:100)
... 23 more
Caused by: com.amazonaws.services.s3.model.AmazonS3Exception: The specified
key does not exist. (Service: Amazon S3; Status Code: 404; Error Code:
NoSuchKey; Request ID: 3QPXD22DZE38NQK8; S3 Extended Request ID:
i/+9xgHx+b4VsxsUDx2qz+qcm0dc8rDCxGObBEkliJxl7N3tV4Zq3MvHq7uWnVA5iqUdBBuN3mY=;
Proxy: null)
at
com.amazonaws.http.AmazonHttpClient$RequestExecutor.handleErrorResponse(AmazonHttpClient.java:1879)
at
com.amazonaws.http.AmazonHttpClient$RequestExecutor.handleServiceErrorResponse(AmazonHttpClient.java:1418)
at
com.amazonaws.http.AmazonHttpClient$RequestExecutor.executeOneRequest(AmazonHttpClient.java:1387)
at
com.amazonaws.http.AmazonHttpClient$RequestExecutor.executeHelper(AmazonHttpClient.java:1157)
at
com.amazonaws.http.AmazonHttpClient$RequestExecutor.doExecute(AmazonHttpClient.java:814)
at
com.amazonaws.http.AmazonHttpClient$RequestExecutor.executeWithTimer(AmazonHttpClient.java:781)
at
com.amazonaws.http.AmazonHttpClient$RequestExecutor.execute(AmazonHttpClient.java:755)
at
com.amazonaws.http.AmazonHttpClient$RequestExecutor.access$500(AmazonHttpClient.java:715)
at
com.amazonaws.http.AmazonHttpClient$RequestExecutionBuilderImpl.execute(AmazonHttpClient.java:697)
at
com.amazonaws.http.AmazonHttpClient.execute(AmazonHttpClient.java:561)
at
com.amazonaws.http.AmazonHttpClient.execute(AmazonHttpClient.java:541)
at
com.amazonaws.services.s3.AmazonS3Client.invoke(AmazonS3Client.java:5520)
at
com.amazonaws.services.s3.AmazonS3Client.invoke(AmazonS3Client.java:5467)
at
com.amazonaws.services.s3.AmazonS3Client.getObject(AmazonS3Client.java:1554)
at
io.trino.hdfs.s3.TrinoS3FileSystem$TrinoS3InputStream.lambda$openStream$2(TrinoS3FileSystem.java:1563)
... 36 more
```
--
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]