[ 
https://issues.apache.org/jira/browse/IMPALA-12261?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=18011978#comment-18011978
 ] 

Quanlong Huang commented on IMPALA-12261:
-----------------------------------------

Saw a similar error: 
https://jenkins.impala.io/job/ubuntu-20.04-from-scratch/6247/testReport/junit/query_test.test_iceberg/TestIcebergTable/test_drop_partition_protocol__hs2___table_format__parquet_none___exec_option____test_replan___1___batch_size___0___num_nodes___0___disable_codegen_rows_threshold___0___disable_codegen___False___abort_on_error___1___exec_single_node_rows_threshold___0__/

{code}
query_test/test_iceberg.py:1541: in test_drop_partition
    use_db=unique_database)
common/impala_test_suite.py:886: in run_test_case
    result = exec_fn(query, user=test_section.get('USER', '').strip() or None)
common/impala_test_suite.py:816: in __exec_in_impala
    result = self.__execute_query(target_impalad_client, query, user=user)
common/impala_test_suite.py:1294: in __execute_query
    return impalad_client.execute(query, user=user)
common/impala_connection.py:687: in execute
    cursor.execute(sql_stmt, configuration=self.__query_options)
../infra/python/env-gcc10.4.0/lib/python2.7/site-packages/impala/hiveserver2.py:394:
 in execute
    self._wait_to_finish()  # make execute synchronous
../infra/python/env-gcc10.4.0/lib/python2.7/site-packages/impala/hiveserver2.py:484:
 in _wait_to_finish
    raise OperationalError(resp.errorMessage)
E   OperationalError: Query 0647e6531fc44efd:f8b5358e00000000 failed:
E   ImpalaRuntimeException: Failed to write json to file: 
hdfs://localhost:20500/test-warehouse/test_drop_partition_e87d3f84.db/iceberg_truncate_partitions/metadata/00002-58097815-45fe-40ab-b080-d38dbc2f3a41.metadata.json
E   CAUSED BY: RuntimeIOException: Failed to write json to file: 
hdfs://localhost:20500/test-warehouse/test_drop_partition_e87d3f84.db/iceberg_truncate_partitions/metadata/00002-58097815-45fe-40ab-b080-d38dbc2f3a41.metadata.json
E   CAUSED BY: IOException: The stream is closed{code}
The query is an INSERT:
{code:sql}
INSERT INTO iceberg_truncate_partitions(truncate_bigint) VALUES 
(68719476736);{code}

> TestIcebergTable.test_insert_overwrite is flaky
> -----------------------------------------------
>
>                 Key: IMPALA-12261
>                 URL: https://issues.apache.org/jira/browse/IMPALA-12261
>             Project: IMPALA
>          Issue Type: Bug
>          Components: Catalog
>            Reporter: Zoltán Borók-Nagy
>            Assignee: Zoltán Borók-Nagy
>            Priority: Major
>              Labels: impala-iceberg
>
> TestIcebergTable.test_insert_overwrite sometimes fail with IOException:
> {noformat}
> query_test/test_iceberg.py:196: in test_insert_overwrite
>     self.run_test_case('QueryTest/iceberg-overwrite', vector, 
> use_db=unique_database)
> common/impala_test_suite.py:718: in run_test_case
>     result = exec_fn(query, user=test_section.get('USER', '').strip() or None)
> common/impala_test_suite.py:656: in __exec_in_impala
>     result = self.__execute_query(target_impalad_client, query, user=user)
> common/impala_test_suite.py:992: in __execute_query
>     return impalad_client.execute(query, user=user)
> common/impala_connection.py:214: in execute
>     return self.__beeswax_client.execute(sql_stmt, user=user)
> beeswax/impala_beeswax.py:191: in execute
>     handle = self.__execute_query(query_string.strip(), user=user)
> beeswax/impala_beeswax.py:369: in __execute_query
>     self.wait_for_finished(handle)
> beeswax/impala_beeswax.py:390: in wait_for_finished
>     raise ImpalaBeeswaxException("Query aborted:" + error_log, None)
> E   ImpalaBeeswaxException: ImpalaBeeswaxException:
> E    Query aborted:RuntimeIOException: Failed to write json to file: 
> hdfs://192.168.124.1:20500/test-warehouse/test_insert_overwrite_ba3e12c5.db/ice_nopart/metadata/00002-937e7c2a-4fd8-4589-875b-4b958beca241.metadata.json
> E   CAUSED BY: IOException: The stream is closed
> {noformat}



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to