You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues-all@impala.apache.org by "ASF subversion and git services (Jira)" <ji...@apache.org> on 2022/06/21 02:09:00 UTC

[jira] [Commented] (IMPALA-8751) Kudu tables cannot be found after created

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

ASF subversion and git services commented on IMPALA-8751:
---------------------------------------------------------

Commit 8965059c2c29dc2426339c1989159ec69bf6289e in impala's branch refs/heads/master from Gergely Fürnstáhl
[ https://gitbox.apache.org/repos/asf?p=impala.git;h=8965059c2 ]

IMPALA-11358: Fixed Kudu table's missing comment

If Kudu-HMS integration is enabled, Kudu creates the table in HMS too,
which was missing the comment field. Added the code to forward the
comment field to Kudu during creation.

Testing:

Added a test to verify the comment is present when the intergration is
enabled.
Reenabled several kudu tests as IMPALA-8751 (and follow ups) fixed the
hive3 notification incompatibility.

Change-Id: Idf66f8b4679b00da6693a27fed79b04e8f6afb55
Reviewed-on: http://gerrit.cloudera.org:8080/18627
Reviewed-by: Impala Public Jenkins <im...@cloudera.com>
Tested-by: Impala Public Jenkins <im...@cloudera.com>


> Kudu tables cannot be found after created
> -----------------------------------------
>
>                 Key: IMPALA-8751
>                 URL: https://issues.apache.org/jira/browse/IMPALA-8751
>             Project: IMPALA
>          Issue Type: Bug
>    Affects Versions: Impala 3.3.0
>            Reporter: Yongzhi Chen
>            Priority: Major
>              Labels: broken-build, flaky
>             Fix For: Impala 4.0.0
>
>
> For example in some kudu integration test as:
> TestKuduHMSIntegration.test_drop_db_cascade in  custom_cluster/test_kudu.py
> It failed with:
> custom_cluster/test_kudu.py:239: in test_drop_db_cascade
>     assert not kudu_client.table_exists(kudu_table.name)
> /usr/lib/python2.7/contextlib.py:35: in __exit__
>     self.gen.throw(type, value, traceback)
> common/kudu_test_suite.py:165: in temp_kudu_table
>     kudu.delete_table(name)
> kudu/client.pyx:392: in kudu.client.Client.delete_table (kudu/client.cpp:7106)
>     ???
> kudu/errors.pyx:56: in kudu.errors.check_status (kudu/errors.cpp:904)
>     ???
> E   KuduNotFound: failed to drop Hive Metastore table: TException - service has thrown: NoSuchObjectException(message=s7mo1z)
> And when trying to add default capabilities to kudu tables, it is sometime effective, sometimes not:
> For example after enable default kudu OBJCAPABILITIES,
> ./run-tests.py metadata/test_ddl.py -k "create_kudu"  will succeed while same test in
> ./run-tests.py custom_cluster/test_kudu.py :
> {noformat}
>  TestKuduHMSIntegration.test_create_managed_kudu_tables[protocol: beeswax | exec_option: {'batch_size': 0, 'num_nodes': 0, 'disable_codegen_rows_threshold': 0, 'disable_codegen': False, 'abort_on_error': 1, 'exec_single_node_rows_threshold': 0} | table_format: text/none] 
> custom_cluster/test_kudu.py:147: in test_create_managed_kudu_tables
>     self.run_test_case('QueryTest/kudu_create', vector, use_db=unique_database)
> common/impala_test_suite.py:563: in run_test_case
>     result = exec_fn(query, user=test_section.get('USER', '').strip() or None)
> common/impala_test_suite.py:500: in __exec_in_impala
>     result = self.__execute_query(target_impalad_client, query, user=user)
> common/impala_test_suite.py:798: in __execute_query
>     return impalad_client.execute(query, user=user)
> common/impala_connection.py:184: 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:362: in __execute_query
>     handle = self.execute_query_async(query_string, user=user)
> beeswax/impala_beeswax.py:356: in execute_query_async
>     handle = self.__do_rpc(lambda: self.imp_service.query(query,))
> beeswax/impala_beeswax.py:519: in __do_rpc
>     raise ImpalaBeeswaxException(self.__build_error_message(b), b)
> E   ImpalaBeeswaxException: ImpalaBeeswaxException:
> E    INNER EXCEPTION: <class 'beeswaxd.ttypes.BeeswaxException'>
> E    MESSAGE: AnalysisException: Write not supported. Table test_create_managed_kudu_tables_a8d11828.add  access type is: READONLY
> {noformat}



--
This message was sent by Atlassian Jira
(v8.20.7#820007)

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-all-unsubscribe@impala.apache.org
For additional commands, e-mail: issues-all-help@impala.apache.org