chennurchaitanya commented on issue #5846: URL: https://github.com/apache/iceberg/issues/5846#issuecomment-1551577612
Yes i am using spark structured streaming to commit data into iceberg. i am also getting same exceptions intermediately. Caused by: org.apache.iceberg.exceptions.NotFoundException: Failed to open input stream for file: s3a://XXXXXXXX/metadata/snap-6961165512118673576-2-a7c254f8-d3d8-415b-bf10-e9b1bdf8d241.avro at org.apache.iceberg.hadoop.HadoopInputFile.newStream(HadoopInputFile.java:185) at org.apache.iceberg.avro.AvroIterable.newFileReader(AvroIterable.java:100) at org.apache.iceberg.avro.AvroIterable.iterator(AvroIterable.java:76) at org.apache.iceberg.avro.AvroIterable.iterator(AvroIterable.java:36) at org.apache.iceberg.relocated.com.google.common.collect.Iterables.addAll(Iterables.java:337) at org.apache.iceberg.relocated.com.google.common.collect.Lists.newLinkedList(Lists.java:241) at org.apache.iceberg.ManifestLists.read(ManifestLists.java:45) at org.apache.iceberg.BaseSnapshot.cacheManifests(BaseSnapshot.java:148) at org.apache.iceberg.BaseSnapshot.dataManifests(BaseSnapshot.java:174) at org.apache.iceberg.MergingSnapshotProducer.apply(MergingSnapshotProducer.java:780) at org.apache.iceberg.SnapshotProducer.apply(SnapshotProducer.java:223) at org.apache.iceberg.SnapshotProducer.lambda$commit$2(SnapshotProducer.java:369) at org.apache.iceberg.util.Tasks$Builder.runTaskWithRetry(Tasks.java:402) at org.apache.iceberg.util.Tasks$Builder.runSingleThreaded(Tasks.java:212) at org.apache.iceberg.util.Tasks$Builder.run(Tasks.java:196) at org.apache.iceberg.util.Tasks$Builder.run(Tasks.java:189) at org.apache.iceberg.SnapshotProducer.commit(SnapshotProducer.java:367) at org.apache.iceberg.spark.source.SparkWrite.commitOperation(SparkWrite.java:215) at org.apache.iceberg.spark.source.SparkWrite.access$1300(SparkWrite.java:97) at org.apache.iceberg.spark.source.SparkWrite$BatchAppend.commit(SparkWrite.java:295) at org.apache.spark.sql.execution.datasources.v2.V2TableWriteExec.writeWithV2(WriteToDataSourceV2Exec.scala:372) ... 58 more Caused by: java.io.FileNotFoundException: No such file or directory: s3a://XXXXX/metadata/snap-6961165512118673576-2-a7c254f8-d3d8-415b-bf10-e9b1bdf8d241.avro at org.apache.hadoop.fs.s3a.S3AFileSystem.s3GetFileStatus(S3AFileSystem.java:3345) at org.apache.hadoop.fs.s3a.S3AFileSystem.innerGetFileStatus(S3AFileSystem.java:3174) at org.apache.hadoop.fs.s3a.S3AFileSystem.extractOrFetchSimpleFileStatus(S3AFileSystem.java:4915) at org.apache.hadoop.fs.s3a.S3AFileSystem.open(S3AFileSystem.java:1183) at org.apache.hadoop.fs.s3a.S3AFileSystem.open(S3AFileSystem.java:1161) at org.apache.hadoop.fs.FileSystem.open(FileSystem.java:957) at org.apache.iceberg.hadoop.HadoopInputFile.newStream(HadoopInputFile.java:183) ... 78 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]
