[ 
https://issues.apache.org/jira/browse/IMPALA-10633?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Quanlong Huang updated IMPALA-10633:
------------------------------------
    Description: 
Saw this failure in a nightly build: 
[https://jenkins.impala.io/job/ubuntu-16.04-from-scratch/13584/]
{code:java}
metadata.test_show_create_table.TestShowCreateTable.test_show_create_table[protocol:
 beeswax | table_format: text/none] (from pytest){code}
The failed statement is
{code:sql}
CREATE EXTERNAL TABLE test_show_create_table_8b557a01.iceberg_nullable_test 
(level STRING NOT NULL, event_time TIMESTAMP NULL, register_time DATE NULL) 
STORED AS ICEBERG LOCATION 
'hdfs://localhost:20500/test-warehouse/test_show_create_table_8b557a01.db/iceberg_nullable_test'
 TBLPROPERTIES ('external.table.purge'='TRUE', 
'iceberg.catalog'='hadoop.tables', 'iceberg.file_format'='parquet');
{code}
*Stacktrace*
{code:java}
metadata/test_show_create_table.py:62: in test_show_create_table
    unique_database)
metadata/test_show_create_table.py:122: in __run_show_create_table_test_case
    self.__exec(create_table_result)
metadata/test_show_create_table.py:133: in __exec
    return self.execute_query_expect_success(self.client, sql_str)
common/impala_test_suite.py:814: in wrapper
    return function(*args, **kwargs)
common/impala_test_suite.py:822: in execute_query_expect_success
    result = cls.__execute_query(impalad_client, query, query_options, user)
common/impala_test_suite.py:923: in __execute_query
    return impalad_client.execute(query, user=user)
common/impala_connection.py:205: in execute
    return self.__beeswax_client.execute(sql_stmt, user=user)
beeswax/impala_beeswax.py:187: in execute
    handle = self.__execute_query(query_string.strip(), user=user)
beeswax/impala_beeswax.py:363: in __execute_query
    handle = self.execute_query_async(query_string, user=user)
beeswax/impala_beeswax.py:357: in execute_query_async
    handle = self.__do_rpc(lambda: self.imp_service.query(query,))
beeswax/impala_beeswax.py:520: in __do_rpc
    raise ImpalaBeeswaxException(self.__build_error_message(b), b)
E   ImpalaBeeswaxException: ImpalaBeeswaxException:
E    INNER EXCEPTION: <class 'beeswaxd.ttypes.BeeswaxException'>
E    MESSAGE: ImpalaRuntimeException: Error making 'createTable' RPC to Hive 
Metastore: 
E   CAUSED BY: RuntimeIOException: Failed to write json to file: 
hdfs://localhost:20500/test-warehouse/test_show_create_table_8b557a01.db/iceberg_nullable_test/metadata/8dbfe7dd-0770-40b4-a111-3e55cdce2eda.metadata.json
E   CAUSED BY: IOException: The stream is closed
{code}

  was:
Saw this failure in a nightly build: 
[https://jenkins.impala.io/job/ubuntu-16.04-from-scratch/13584/]
{code:java}
metadata.test_show_create_table.TestShowCreateTable.test_show_create_table[protocol:
 beeswax | table_format: text/none] (from pytest){code}
*Stacktrace*
{code:java}
metadata/test_show_create_table.py:62: in test_show_create_table
    unique_database)
metadata/test_show_create_table.py:122: in __run_show_create_table_test_case
    self.__exec(create_table_result)
metadata/test_show_create_table.py:133: in __exec
    return self.execute_query_expect_success(self.client, sql_str)
common/impala_test_suite.py:814: in wrapper
    return function(*args, **kwargs)
common/impala_test_suite.py:822: in execute_query_expect_success
    result = cls.__execute_query(impalad_client, query, query_options, user)
common/impala_test_suite.py:923: in __execute_query
    return impalad_client.execute(query, user=user)
common/impala_connection.py:205: in execute
    return self.__beeswax_client.execute(sql_stmt, user=user)
beeswax/impala_beeswax.py:187: in execute
    handle = self.__execute_query(query_string.strip(), user=user)
beeswax/impala_beeswax.py:363: in __execute_query
    handle = self.execute_query_async(query_string, user=user)
beeswax/impala_beeswax.py:357: in execute_query_async
    handle = self.__do_rpc(lambda: self.imp_service.query(query,))
beeswax/impala_beeswax.py:520: in __do_rpc
    raise ImpalaBeeswaxException(self.__build_error_message(b), b)
E   ImpalaBeeswaxException: ImpalaBeeswaxException:
E    INNER EXCEPTION: <class 'beeswaxd.ttypes.BeeswaxException'>
E    MESSAGE: ImpalaRuntimeException: Error making 'createTable' RPC to Hive 
Metastore: 
E   CAUSED BY: RuntimeIOException: Failed to write json to file: 
hdfs://localhost:20500/test-warehouse/test_show_create_table_8b557a01.db/iceberg_nullable_test/metadata/8dbfe7dd-0770-40b4-a111-3e55cdce2eda.metadata.json
E   CAUSED BY: IOException: The stream is closed
{code}


> TestShowCreateTable.test_show_create_table fails due to createTable HMS RPC 
> failure
> -----------------------------------------------------------------------------------
>
>                 Key: IMPALA-10633
>                 URL: https://issues.apache.org/jira/browse/IMPALA-10633
>             Project: IMPALA
>          Issue Type: Bug
>            Reporter: Quanlong Huang
>            Priority: Critical
>
> Saw this failure in a nightly build: 
> [https://jenkins.impala.io/job/ubuntu-16.04-from-scratch/13584/]
> {code:java}
> metadata.test_show_create_table.TestShowCreateTable.test_show_create_table[protocol:
>  beeswax | table_format: text/none] (from pytest){code}
> The failed statement is
> {code:sql}
> CREATE EXTERNAL TABLE test_show_create_table_8b557a01.iceberg_nullable_test 
> (level STRING NOT NULL, event_time TIMESTAMP NULL, register_time DATE NULL) 
> STORED AS ICEBERG LOCATION 
> 'hdfs://localhost:20500/test-warehouse/test_show_create_table_8b557a01.db/iceberg_nullable_test'
>  TBLPROPERTIES ('external.table.purge'='TRUE', 
> 'iceberg.catalog'='hadoop.tables', 'iceberg.file_format'='parquet');
> {code}
> *Stacktrace*
> {code:java}
> metadata/test_show_create_table.py:62: in test_show_create_table
>     unique_database)
> metadata/test_show_create_table.py:122: in __run_show_create_table_test_case
>     self.__exec(create_table_result)
> metadata/test_show_create_table.py:133: in __exec
>     return self.execute_query_expect_success(self.client, sql_str)
> common/impala_test_suite.py:814: in wrapper
>     return function(*args, **kwargs)
> common/impala_test_suite.py:822: in execute_query_expect_success
>     result = cls.__execute_query(impalad_client, query, query_options, user)
> common/impala_test_suite.py:923: in __execute_query
>     return impalad_client.execute(query, user=user)
> common/impala_connection.py:205: in execute
>     return self.__beeswax_client.execute(sql_stmt, user=user)
> beeswax/impala_beeswax.py:187: in execute
>     handle = self.__execute_query(query_string.strip(), user=user)
> beeswax/impala_beeswax.py:363: in __execute_query
>     handle = self.execute_query_async(query_string, user=user)
> beeswax/impala_beeswax.py:357: in execute_query_async
>     handle = self.__do_rpc(lambda: self.imp_service.query(query,))
> beeswax/impala_beeswax.py:520: in __do_rpc
>     raise ImpalaBeeswaxException(self.__build_error_message(b), b)
> E   ImpalaBeeswaxException: ImpalaBeeswaxException:
> E    INNER EXCEPTION: <class 'beeswaxd.ttypes.BeeswaxException'>
> E    MESSAGE: ImpalaRuntimeException: Error making 'createTable' RPC to Hive 
> Metastore: 
> E   CAUSED BY: RuntimeIOException: Failed to write json to file: 
> hdfs://localhost:20500/test-warehouse/test_show_create_table_8b557a01.db/iceberg_nullable_test/metadata/8dbfe7dd-0770-40b4-a111-3e55cdce2eda.metadata.json
> E   CAUSED BY: IOException: The stream is closed
> {code}



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

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

Reply via email to