You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@impala.apache.org by "David Knupp (JIRA)" <ji...@apache.org> on 2017/05/06 19:31:04 UTC

[jira] [Created] (IMPALA-5288) TestDdlStress.test_create_cache_many_tables failed with ConcurrentModificationException

David Knupp created IMPALA-5288:
-----------------------------------

             Summary: TestDdlStress.test_create_cache_many_tables failed with ConcurrentModificationException
                 Key: IMPALA-5288
                 URL: https://issues.apache.org/jira/browse/IMPALA-5288
             Project: IMPALA
          Issue Type: Bug
          Components: Catalog
    Affects Versions: Impala 2.9.0
            Reporter: David Knupp
            Priority: Critical


From catalogd log:
{noformat}
I0505 17:50:56.484705  7673 status.cc:119] ConcurrentModificationException: null
    @          0x12056b7  impala::Status::Status()
    @          0x15d8e4c  impala::JniUtil::GetJniExceptionMsg()
    @          0x11f6c3b  impala::JniUtil::CallJniMethod<>()
    @          0x11f53b3  impala::Catalog::ExecDdl()
    @          0x11c07e8  CatalogServiceThriftIf::ExecDdl()
    @          0x12277fe  impala::CatalogServiceProcessor::process_ExecDdl()
    @          0x122754c  impala::CatalogServiceProcessor::dispatchCall()
    @          0x11ac1fc  apache::thrift::TDispatchProcessor::process()
    @          0x136eed7  apache::thrift::server::TAcceptQueueServer::Task::run()
    @          0x136afab  impala::ThriftThread::RunRunnable()
    @          0x136c6d7  boost::_mfi::mf2<>::operator()()
    @          0x136c56d  boost::_bi::list3<>::operator()<>()
    @          0x136c2b9  boost::_bi::bind_t<>::operator()()
    @          0x136c1cc  boost::detail::function::void_function_obj_invoker0<>::invoke()
    @          0x137a89e  boost::function0<>::operator()()
    @          0x1631b0d  impala::Thread::SuperviseThread()
    @          0x163a490  boost::_bi::list4<>::operator()<>()
    @          0x163a3d3  boost::_bi::bind_t<>::operator()()
    @          0x163a396  boost::detail::thread_data<>::run()
    @          0x1b047ba  thread_proxy
    @       0x3e00c07851  (unknown)
    @       0x3e008e894d  (unknown)
E0505 17:50:56.484778  7673 catalog-server.cc:69] ConcurrentModificationException: null
{noformat}

From test log:
{noformat}
17:57:00 =================================== FAILURES ===================================
17:57:00  TestDdlStress.test_create_cache_many_tables[exec_option: {'disable_codegen': True, 'abort_on_error': 1, 'exec_single_node_rows_threshold': 0, 'batch_size': 0, 'num_nodes': 0} | table_format: text/none-4] 
17:57:00 [gw16] linux2 -- Python 2.6.6 /data/jenkins/workspace/impala-umbrella-build-and-test/repos/Impala/bin/../infra/python/env/bin/python
17:57:00 stress/test_ddl_stress.py:90: in test_create_cache_many_tables
17:57:00     self.client.execute("drop table %s_part" % tbl_name)
17:57:00 common/impala_connection.py:160: in execute
17:57:00     return self.__beeswax_client.execute(sql_stmt, user=user)
17:57:00 beeswax/impala_beeswax.py:173: in execute
17:57:00     handle = self.__execute_query(query_string.strip(), user=user)
17:57:00 beeswax/impala_beeswax.py:337: in __execute_query
17:57:00     handle = self.execute_query_async(query_string, user=user)
17:57:00 beeswax/impala_beeswax.py:333: in execute_query_async
17:57:00     return self.__do_rpc(lambda: self.imp_service.query(query,))
17:57:00 beeswax/impala_beeswax.py:458: in __do_rpc
17:57:00     raise ImpalaBeeswaxException(self.__build_error_message(b), b)
17:57:00 E   ImpalaBeeswaxException: ImpalaBeeswaxException:
17:57:00 E    INNER EXCEPTION: <class 'beeswaxd.ttypes.BeeswaxException'>
17:57:00 E    MESSAGE: ConcurrentModificationException: null
17:57:00 ---------------------------- Captured stderr setup -----------------------------
17:57:00 -- connecting to: localhost:21000
17:57:00 MainThread: Found credentials in environment variables.
17:57:00 ----------------------------- Captured stderr call -----------------------------
17:57:00 SET disable_codegen=True;
17:57:00 SET abort_on_error=1;
17:57:00 SET exec_single_node_rows_threshold=0;
17:57:00 SET batch_size=0;
17:57:00 SET num_nodes=0;
17:57:00 -- executing against localhost:21000
17:57:00 create database if not exists test_ddl_stress_db;
17:57:00 
17:57:00 -- executing against localhost:21000
17:57:00 drop table if exists test_ddl_stress_db.test_a4754bee_0;
17:57:00 
17:57:00 -- executing against localhost:21000
17:57:00 drop table if exists test_ddl_stress_db.test_a4754bee_0_part;
17:57:00 
17:57:00 -- executing against localhost:21000
17:57:00 create table test_ddl_stress_db.test_a4754bee_0 (i int);
17:57:00 
17:57:00 -- executing against localhost:21000
17:57:00 create table test_ddl_stress_db.test_a4754bee_0_part (i int) partitioned by (j int);
17:57:00 
17:57:00 -- executing against localhost:21000
17:57:00 insert overwrite table test_ddl_stress_db.test_a4754bee_0 select int_col from functional.alltypestiny;
17:57:00 
17:57:00 -- executing against localhost:21000
17:57:00 insert overwrite table test_ddl_stress_db.test_a4754bee_0_part partition(j) values (1, 1), (2, 2), (3, 3), (4, 4), (4, 4);
17:57:00 
17:57:00 -- executing against localhost:21000
17:57:00 alter table test_ddl_stress_db.test_a4754bee_0 set cached in 'testPool';
17:57:00 
17:57:00 -- executing against localhost:21000
17:57:00 alter table test_ddl_stress_db.test_a4754bee_0_part set cached in 'testPool';
17:57:00 
17:57:00 -- executing against localhost:21000
17:57:00 alter table test_ddl_stress_db.test_a4754bee_0_part set uncached;
17:57:00 
17:57:00 -- executing against localhost:21000
17:57:00 alter table test_ddl_stress_db.test_a4754bee_0_part set cached in 'testPool';
17:57:00 
17:57:00 -- executing against localhost:21000
17:57:00 drop table test_ddl_stress_db.test_a4754bee_0;
17:57:00 
17:57:00 -- executing against localhost:21000
17:57:00 drop table test_ddl_stress_db.test_a4754bee_0_part;
17:57:00 
17:57:00 -- executing against localhost:21000
17:57:00 drop table if exists test_ddl_stress_db.test_a4754bee_1;
17:57:00 
17:57:00 -- executing against localhost:21000
17:57:00 drop table if exists test_ddl_stress_db.test_a4754bee_1_part;
17:57:00 
17:57:00 -- executing against localhost:21000
17:57:00 create table test_ddl_stress_db.test_a4754bee_1 (i int);
17:57:00 
17:57:00 -- executing against localhost:21000
17:57:00 create table test_ddl_stress_db.test_a4754bee_1_part (i int) partitioned by (j int);
17:57:00 
17:57:00 -- executing against localhost:21000
17:57:00 insert overwrite table test_ddl_stress_db.test_a4754bee_1 select int_col from functional.alltypestiny;
17:57:00 
17:57:00 -- executing against localhost:21000
17:57:00 insert overwrite table test_ddl_stress_db.test_a4754bee_1_part partition(j) values (1, 1), (2, 2), (3, 3), (4, 4), (4, 4);
17:57:00 
17:57:00 -- executing against localhost:21000
17:57:00 alter table test_ddl_stress_db.test_a4754bee_1 set cached in 'testPool';
17:57:00 
17:57:00 -- executing against localhost:21000
17:57:00 alter table test_ddl_stress_db.test_a4754bee_1_part set cached in 'testPool';
17:57:00 
17:57:00 -- executing against localhost:21000
17:57:00 alter table test_ddl_stress_db.test_a4754bee_1_part set uncached;
17:57:00 
17:57:00 -- executing against localhost:21000
17:57:00 alter table test_ddl_stress_db.test_a4754bee_1_part set cached in 'testPool';
17:57:00 
17:57:00 -- executing against localhost:21000
17:57:00 drop table test_ddl_stress_db.test_a4754bee_1;
17:57:00 
17:57:00 -- executing against localhost:21000
17:57:00 drop table test_ddl_stress_db.test_a4754bee_1_part;
17:57:00 
17:57:00 -- executing against localhost:21000
17:57:00 drop table if exists test_ddl_stress_db.test_a4754bee_2;
17:57:00 
17:57:00 -- executing against localhost:21000
17:57:00 drop table if exists test_ddl_stress_db.test_a4754bee_2_part;
17:57:00 
17:57:00 -- executing against localhost:21000
17:57:00 create table test_ddl_stress_db.test_a4754bee_2 (i int);
17:57:00 
17:57:00 -- executing against localhost:21000
17:57:00 create table test_ddl_stress_db.test_a4754bee_2_part (i int) partitioned by (j int);
17:57:00 
17:57:00 -- executing against localhost:21000
17:57:00 insert overwrite table test_ddl_stress_db.test_a4754bee_2 select int_col from functional.alltypestiny;
17:57:00 
17:57:00 -- executing against localhost:21000
17:57:00 insert overwrite table test_ddl_stress_db.test_a4754bee_2_part partition(j) values (1, 1), (2, 2), (3, 3), (4, 4), (4, 4);
17:57:00 
17:57:00 -- executing against localhost:21000
17:57:00 alter table test_ddl_stress_db.test_a4754bee_2 set cached in 'testPool';
17:57:00 
17:57:00 -- executing against localhost:21000
17:57:00 alter table test_ddl_stress_db.test_a4754bee_2_part set cached in 'testPool';
17:57:00 
17:57:00 -- executing against localhost:21000
17:57:00 alter table test_ddl_stress_db.test_a4754bee_2_part set uncached;
17:57:00 
17:57:00 -- executing against localhost:21000
17:57:00 alter table test_ddl_stress_db.test_a4754bee_2_part set cached in 'testPool';
17:57:00 
17:57:00 -- executing against localhost:21000
17:57:00 drop table test_ddl_stress_db.test_a4754bee_2;
17:57:00 
17:57:00 -- executing against localhost:21000
17:57:00 drop table test_ddl_stress_db.test_a4754bee_2_part;
17:57:00 
17:57:00 -- executing against localhost:21000
17:57:00 drop table if exists test_ddl_stress_db.test_a4754bee_3;
17:57:00 
17:57:00 -- executing against localhost:21000
17:57:00 drop table if exists test_ddl_stress_db.test_a4754bee_3_part;
17:57:00 
17:57:00 -- executing against localhost:21000
17:57:00 create table test_ddl_stress_db.test_a4754bee_3 (i int);
17:57:00 
17:57:00 -- executing against localhost:21000
17:57:00 create table test_ddl_stress_db.test_a4754bee_3_part (i int) partitioned by (j int);
17:57:00 
17:57:00 -- executing against localhost:21000
17:57:00 insert overwrite table test_ddl_stress_db.test_a4754bee_3 select int_col from functional.alltypestiny;
17:57:00 
17:57:00 -- executing against localhost:21000
17:57:00 insert overwrite table test_ddl_stress_db.test_a4754bee_3_part partition(j) values (1, 1), (2, 2), (3, 3), (4, 4), (4, 4);
17:57:00 
17:57:00 -- executing against localhost:21000
17:57:00 alter table test_ddl_stress_db.test_a4754bee_3 set cached in 'testPool';
17:57:00 
17:57:00 -- executing against localhost:21000
17:57:00 alter table test_ddl_stress_db.test_a4754bee_3_part set cached in 'testPool';
17:57:00 
17:57:00 -- executing against localhost:21000
17:57:00 alter table test_ddl_stress_db.test_a4754bee_3_part set uncached;
17:57:00 
17:57:00 -- executing against localhost:21000
17:57:00 alter table test_ddl_stress_db.test_a4754bee_3_part set cached in 'testPool';
17:57:00 
17:57:00 -- executing against localhost:21000
17:57:00 drop table test_ddl_stress_db.test_a4754bee_3;
17:57:00 
17:57:00 -- executing against localhost:21000
17:57:00 drop table test_ddl_stress_db.test_a4754bee_3_part;
{noformat}




--
This message was sent by Atlassian JIRA
(v6.3.15#6346)