manuzhang opened a new issue, #11833:
URL: https://github.com/apache/iceberg/issues/11833

   ### Apache Iceberg version
   
   main (development)
   
   ### Query engine
   
   Flink
   
   ### Please describe the bug 🐞
   
   https://github.com/apache/iceberg/actions/runs/12419587376/job/34675216626
   
   ```
   TestFlinkTableSink > testInsertFromSourceTable() > 
catalogName=testhadoop_basenamespace, baseNamespace=l0.l1, format=PARQUET, 
isStreaming=false, useV2Sink=true FAILED
       java.lang.RuntimeException: Failed to collect table result
           at org.apache.iceberg.flink.TestBase.sql(TestBase.java:105)
           at 
org.apache.iceberg.flink.TestFlinkTableSink.testInsertFromSourceTable(TestFlinkTableSink.java:152)
   
           Caused by:
           org.apache.flink.table.api.TableException: Failed to wait job finish
               at 
app//org.apache.flink.table.api.internal.InsertResultProvider.hasNext(InsertResultProvider.java:85)
               at 
app//org.apache.flink.table.api.internal.InsertResultProvider.access$200(InsertResultProvider.java:37)
               at 
app//org.apache.flink.table.api.internal.InsertResultProvider$Iterator.hasNext(InsertResultProvider.java:112)
               at 
app//org.apache.iceberg.relocated.com.google.common.collect.Iterators.addAll(Iterators.java:365)
               at 
app//org.apache.iceberg.relocated.com.google.common.collect.Lists.newArrayList(Lists.java:154)
               at app//org.apache.iceberg.flink.TestBase.sql(TestBase.java:103)
               ... 1 more
   
               Caused by:
               java.util.concurrent.ExecutionException: 
org.apache.flink.runtime.client.JobExecutionException: Job execution failed.
                   at 
java.base/java.util.concurrent.CompletableFuture.reportGet(CompletableFuture.java:395)
                   at 
java.base/java.util.concurrent.CompletableFuture.get(CompletableFuture.java:2005)
                   at 
org.apache.flink.table.api.internal.InsertResultProvider.hasNext(InsertResultProvider.java:83)
                   ... 6 more
   
                   Caused by:
                   org.apache.flink.runtime.client.JobExecutionException: Job 
execution failed.
                       at 
app//org.apache.flink.runtime.jobmaster.JobResult.toJobExecutionResult(JobResult.java:144)
                               at 
org.apache.iceberg.hadoop.HadoopTableOperations.renameToFinal(HadoopTableOperations.java:363)
                               at 
org.apache.iceberg.hadoop.HadoopTableOperations.commit(HadoopTableOperations.java:162)
                               at 
org.apache.iceberg.SnapshotProducer.lambda$commit$2(SnapshotProducer.java:433)
                               at 
org.apache.iceberg.util.Tasks$Builder.runTaskWithRetry(Tasks.java:413)
                               at 
org.apache.iceberg.util.Tasks$Builder.runSingleThreaded(Tasks.java:219)
                               at 
org.apache.iceberg.util.Tasks$Builder.run(Tasks.java:203)
                               at 
org.apache.iceberg.util.Tasks$Builder.run(Tasks.java:196)
                               at 
org.apache.iceberg.SnapshotProducer.commit(SnapshotProducer.java:405)
                               at 
org.apache.iceberg.flink.sink.IcebergCommitter.commitOperation(IcebergCommitter.java:293)
                               at 
org.apache.iceberg.flink.sink.IcebergCommitter.commitDeltaTxn(IcebergCommitter.java:248)
                               at 
org.apache.iceberg.flink.sink.IcebergCommitter.commitPendingResult(IcebergCommitter.java:200)
                               at 
org.apache.iceberg.flink.sink.IcebergCommitter.commitPendingRequests(IcebergCommitter.java:172)
                               at 
org.apache.iceberg.flink.sink.IcebergCommitter.commit(IcebergCommitter.java:133)
                               at 
org.apache.flink.streaming.runtime.operators.sink.committables.CheckpointCommittableManagerImpl.commit(CheckpointCommittableManagerImpl.java:134)
                               at 
org.apache.flink.streaming.runtime.operators.sink.CommitterOperator.commitAndEmit(CommitterOperator.java:190)
                               at 
org.apache.flink.streaming.runtime.operators.sink.CommitterOperator.commitAndEmitCheckpoints(CommitterOperator.java:174)
                               at 
org.apache.flink.streaming.runtime.operators.sink.CommitterOperator.notifyCheckpointComplete(CommitterOperator.java:164)
                               at 
org.apache.flink.streaming.runtime.operators.sink.CommitterOperator.endInput(CommitterOperator.java:151)
                               at 
org.apache.flink.streaming.runtime.tasks.StreamOperatorWrapper.endOperatorInput(StreamOperatorWrapper.java:96)
                               at 
org.apache.flink.streaming.runtime.tasks.RegularOperatorChain.endInput(RegularOperatorChain.java:97)
                               at 
org.apache.flink.streaming.runtime.io.StreamOneInputProcessor.processInput(StreamOneInputProcessor.java:68)
                               at 
org.apache.flink.streaming.runtime.tasks.StreamTask.processInput(StreamTask.java:579)
                               at 
org.apache.flink.streaming.runtime.tasks.mailbox.MailboxProcessor.runMailboxLoop(MailboxProcessor.java:231)
                               at 
org.apache.flink.streaming.runtime.tasks.StreamTask.runMailboxLoop(StreamTask.java:909)
                               at 
org.apache.flink.streaming.runtime.tasks.StreamTask.invoke(StreamTask.java:858)
                               at 
org.apache.flink.runtime.taskmanager.Task.runWithSystemExitMonitoring(Task.java:958)
                               at 
org.apache.flink.runtime.taskmanager.Task.restoreAndInvoke(Task.java:937)
                               at 
org.apache.flink.runtime.taskmanager.Task.doRun(Task.java:751)
                               at 
org.apache.flink.runtime.taskmanager.Task.run(Task.java:566)
                               at 
java.base/java.lang.Thread.run(Thread.java:829)
   ```
   
   ### Willingness to contribute
   
   - [ ] I can contribute a fix for this bug independently
   - [X] I would be willing to contribute a fix for this bug with guidance from 
the Iceberg community
   - [ ] I cannot contribute a fix for this bug at this time


-- 
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]

Reply via email to