Riza Suminto has posted comments on this change. ( 
http://gerrit.cloudera.org:8080/21975 )

Change subject: IMPALA-13477: Set request_pool in QueryStateRecord for CTAS 
query
......................................................................


Patch Set 2:

> Patch Set 2: Verified-1
>
> Build failed: https://jenkins.impala.io/job/gerrit-verify-dryrun/11069/

Failed test_alter_iceberg_tables_v1, which unrelated to this patch. I'll just 
try to rerun. This is the stack trace in catalogd.

$ grep "5849d678aaf3fad2.*execDdl" -A 59 
catalogd.ip-172-31-52-213.ubuntu.log.INFO.20241025-181834.572107
I1025 19:43:03.786744 665457 JniUtil.java:166] 
5849d678aaf3fad2:15115b8000000000] execDdl request: ALTER_TABLE 
test_alter_iceberg_tables_v1_94b3992b.ice_alter_cols issued by ubuntu
I1025 19:43:03.796218 665457 CatalogServiceCatalog.java:1319] 
5849d678aaf3fad2:15115b8000000000] Added catalog version 12873 in table's 
test_alter_iceberg_tables_v1_94b3992b.ice_alter_cols in-flight events
W1025 19:43:03.862864 1121393 DataStreamer.java:832] DataStreamer Exception
Java exception follows:
java.nio.channels.ClosedByInterruptException
        at 
java.nio.channels.spi.AbstractInterruptibleChannel.end(AbstractInterruptibleChannel.java:202)
        at sun.nio.ch.SocketChannelImpl.write(SocketChannelImpl.java:477)
        at 
org.apache.hadoop.net.SocketOutputStream$Writer.performIO(SocketOutputStream.java:63)
        at 
org.apache.hadoop.net.SocketIOWithTimeout.doIO(SocketIOWithTimeout.java:141)
        at 
org.apache.hadoop.net.SocketOutputStream.write(SocketOutputStream.java:159)
        at 
org.apache.hadoop.net.SocketOutputStream.write(SocketOutputStream.java:117)
        at 
java.io.BufferedOutputStream.flushBuffer(BufferedOutputStream.java:82)
        at java.io.BufferedOutputStream.flush(BufferedOutputStream.java:140)
        at java.io.DataOutputStream.flush(DataOutputStream.java:123)
        at org.apache.hadoop.hdfs.DataStreamer.run(DataStreamer.java:781)
I1025 19:43:03.868124 665457 CatalogOpExecutor.java:1117] 
5849d678aaf3fad2:15115b8000000000] Cancel in-progress in-flight event of table 
test_alter_iceberg_tables_v1_94b3992b.ice_alter_cols. versionNumber=12873 
isRemoved=true inflightEventAdded_=true
E1025 19:43:03.869819 665457 JniUtil.java:183] 
5849d678aaf3fad2:15115b8000000000] Error in ALTER_TABLE 
test_alter_iceberg_tables_v1_94b3992b.ice_alter_cols issued by ubuntu. Time 
spent: 83ms
I1025 19:43:03.871171 665457 jni-util.cc:321] 
5849d678aaf3fad2:15115b8000000000] 
org.apache.iceberg.exceptions.RuntimeIOException: Failed to write json to file: 
hdfs://localhost:20500/test-warehouse/test_alter_iceberg_tables_v1_94b3992b.db/ice_alter_cols/metadata/00009-20c70e4f-583b-4e65-8009-757f80aa77e1.metadata.json
        at 
org.apache.iceberg.TableMetadataParser.internalWrite(TableMetadataParser.java:132)
        at 
org.apache.iceberg.TableMetadataParser.overwrite(TableMetadataParser.java:114)
        at 
org.apache.iceberg.BaseMetastoreTableOperations.writeNewMetadata(BaseMetastoreTableOperations.java:170)
        at 
org.apache.iceberg.BaseMetastoreTableOperations.writeNewMetadataIfRequired(BaseMetastoreTableOperations.java:160)
        at 
org.apache.iceberg.hive.HiveTableOperations.doCommit(HiveTableOperations.java:185)
        at 
org.apache.iceberg.BaseMetastoreTableOperations.commit(BaseMetastoreTableOperations.java:135)
        at 
org.apache.iceberg.BaseTransaction.lambda$commitSimpleTransaction$5(BaseTransaction.java:423)
        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.BaseTransaction.commitSimpleTransaction(BaseTransaction.java:419)
        at 
org.apache.iceberg.BaseTransaction.commitTransaction(BaseTransaction.java:303)
        at 
org.apache.impala.service.CatalogOpExecutor.alterIcebergTable(CatalogOpExecutor.java:1640)
        at 
org.apache.impala.service.CatalogOpExecutor.alterTable(CatalogOpExecutor.java:1234)
        at 
org.apache.impala.service.CatalogOpExecutor.execDdlRequest(CatalogOpExecutor.java:463)
        at 
org.apache.impala.service.JniCatalog.lambda$execDdl$3(JniCatalog.java:316)
        at 
org.apache.impala.service.JniCatalogOp.lambda$execAndSerialize$1(JniCatalogOp.java:90)
        at org.apache.impala.service.JniCatalogOp.execOp(JniCatalogOp.java:58)
        at 
org.apache.impala.service.JniCatalogOp.execAndSerialize(JniCatalogOp.java:89)
        at 
org.apache.impala.service.JniCatalogOp.execAndSerialize(JniCatalogOp.java:100)
        at 
org.apache.impala.service.JniCatalog.execAndSerialize(JniCatalog.java:245)
        at 
org.apache.impala.service.JniCatalog.execAndSerialize(JniCatalog.java:259)
        at org.apache.impala.service.JniCatalog.execDdl(JniCatalog.java:315)
Caused by: java.io.IOException: The stream is closed
        at 
org.apache.hadoop.net.SocketOutputStream.write(SocketOutputStream.java:118)
        at 
java.io.BufferedOutputStream.flushBuffer(BufferedOutputStream.java:82)
        at java.io.BufferedOutputStream.flush(BufferedOutputStream.java:140)
        at java.io.DataOutputStream.flush(DataOutputStream.java:123)
        at java.io.FilterOutputStream.close(FilterOutputStream.java:158)
        at 
org.apache.hadoop.hdfs.DataStreamer.closeStream(DataStreamer.java:1021)
        at 
org.apache.hadoop.hdfs.DataStreamer.closeInternal(DataStreamer.java:854)
        at org.apache.hadoop.hdfs.DataStreamer.run(DataStreamer.java:849)
        Suppressed: java.io.IOException: The stream is closed
                at 
org.apache.hadoop.net.SocketOutputStream.write(SocketOutputStream.java:118)
                at 
java.io.BufferedOutputStream.flushBuffer(BufferedOutputStream.java:82)
                at 
java.io.BufferedOutputStream.flush(BufferedOutputStream.java:140)
                at java.io.FilterOutputStream.close(FilterOutputStream.java:158)
                at java.io.FilterOutputStream.close(FilterOutputStream.java:159)
                ... 3 more
I1025 19:43:03.871259 665457 status.cc:129] 5849d678aaf3fad2:15115b8000000000] 
RuntimeIOException: Failed to write json to file: 
hdfs://localhost:20500/test-warehouse/test_alter_iceberg_tables_v1_94b3992b.db/ice_alter_cols/metadata/00009-20c70e4f-583b-4e65-8009-757f80aa77e1.metadata.json
CAUSED BY: IOException: The stream is closed


--
To view, visit http://gerrit.cloudera.org:8080/21975
To unsubscribe, visit http://gerrit.cloudera.org:8080/settings

Gerrit-Project: Impala-ASF
Gerrit-Branch: master
Gerrit-MessageType: comment
Gerrit-Change-Id: I6885192f1c2d563e58670f142b3c0df528032a6e
Gerrit-Change-Number: 21975
Gerrit-PatchSet: 2
Gerrit-Owner: Riza Suminto <[email protected]>
Gerrit-Reviewer: Impala Public Jenkins <[email protected]>
Gerrit-Reviewer: Jason Fehr <[email protected]>
Gerrit-Reviewer: Riza Suminto <[email protected]>
Gerrit-Reviewer: Wenzhe Zhou <[email protected]>
Gerrit-Comment-Date: Fri, 25 Oct 2024 23:22:42 +0000
Gerrit-HasComments: No

Reply via email to