Uploaded image for project: 'IMPALA'
  1. IMPALA
  2. IMPALA-6163

LLVM link error in test_ir_functions

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Blocker
    • Resolution: Duplicate
    • Impala 2.11.0
    • Impala 2.11.0
    • Backend
    • ghx-label-2

    Description

      Seen in an asf-master data load job, at git hash e6c3a01b948777affaee3dd004a526f5e4dcd5a0:

      00:23:26 =================================== FAILURES ===================================
      00:23:26  TestUdfExecution.test_ir_functions[exec_option: {'disable_codegen_rows_threshold': 0, 'disable_codegen': False, 'exec_single_node_rows_threshold': 100, 'enable_expr_rewrites': True} | table_format: text/none] 
      00:23:26 [gw1] linux2 -- Python 2.6.6 /data/jenkins/workspace/impala-asf-master-core-data-load/repos/Impala/bin/../infra/python/env/bin/python
      00:23:26 query_test/test_udfs.py:310: in test_ir_functions
      00:23:26     self.run_test_case('QueryTest/udf-init-close', vector, use_db=unique_database)
      00:23:26 common/impala_test_suite.py:395: in run_test_case
      00:23:26     result = self.__execute_query(target_impalad_client, query, user=user)
      00:23:26 common/impala_test_suite.py:604: in __execute_query
      00:23:26     return impalad_client.execute(query, user=user)
      00:23:26 common/impala_connection.py:160: in execute
      00:23:26     return self.__beeswax_client.execute(sql_stmt, user=user)
      00:23:26 beeswax/impala_beeswax.py:173: in execute
      00:23:26     handle = self.__execute_query(query_string.strip(), user=user)
      00:23:26 beeswax/impala_beeswax.py:341: in __execute_query
      00:23:26     self.wait_for_completion(handle)
      00:23:26 beeswax/impala_beeswax.py:361: in wait_for_completion
      00:23:26     raise ImpalaBeeswaxException("Query aborted:" + error_log, None)
      00:23:26 E   ImpalaBeeswaxException: ImpalaBeeswaxException:
      00:23:26 E    Query aborted:Problem linking /tmp/test-udfs.7695.9.ll to main module. LLVM diagnostic error: Linking globals named 'global_array_2': symbol multiply defined!
      00:23:26 ---------------------------- Captured stderr setup -----------------------------
      00:23:26 SET sync_ddl=False;
      00:23:26 -- executing against localhost:21000
      00:23:26 DROP DATABASE IF EXISTS `test_ir_functions_6a120955` CASCADE;
      00:23:26 
      00:23:26 SET sync_ddl=False;
      00:23:26 -- executing against localhost:21000
      00:23:26 CREATE DATABASE `test_ir_functions_6a120955`;
      00:23:26 
      00:23:26 MainThread: Created database "test_ir_functions_6a120955" for test ID "query_test/test_udfs.py::TestUdfExecution::()::test_ir_functions[exec_option: {'disable_codegen_rows_threshold': 0, 'disable_codegen': False, 'exec_single_node_rows_threshold': 100, 'enable_expr_rewrites': True} | table_format: text/none]"
      00:23:26 ----------------------------- Captured stderr call -----------------------------
      00:23:26 SET disable_codegen_rows_threshold=0;
      00:23:26 SET disable_codegen=False;
      00:23:26 SET exec_single_node_rows_threshold=100;
      00:23:26 SET enable_expr_rewrites=True;
      00:23:26 -- executing against localhost:21000
      00:23:26 
      00:23:26 create function test_ir_functions_6a120955.identity(boolean) returns boolean
      00:23:26 location '/test-warehouse/test-udfs.ll' symbol='Identity';
      00:23:26 
      00:23:26 SET disable_codegen_rows_threshold=0;
      00:23:26 SET disable_codegen=False;
      00:23:26 SET exec_single_node_rows_threshold=100;
      00:23:26 SET enable_expr_rewrites=True;
      00:23:26 -- executing against localhost:21000
      .....
      00:23:26 -- executing against localhost:21000
      00:23:26 select * from udfinserttest;
      00:23:26 
      00:23:26 -- executing against localhost:21000
      00:23:26 select validate_open(0);
      00:23:26 
      00:23:26 -- executing against localhost:21000
      00:23:26 select validate_open(0) from functional.alltypestiny where validate_open(0) limit 1;
      00:23:26 
      00:23:26 -- executing against localhost:21000
      00:23:26 select count(*) from functional.alltypestiny where validate_open(int_col);
      00:23:26 
      00:23:26 -- executing against localhost:21000
      00:23:26 select validate_open(int_col), count(*) from functional.alltypestiny
      00:23:26 group by validate_open(int_col);
      00:23:26 
      00:23:26 -- executing against localhost:21000
      00:23:26 select count(if(validate_open(int_col), null, 1)) from functional.alltypestiny;
      00:23:26 
      00:23:26 -- executing against localhost:21000
      00:23:26 select int_col, count(*) from functional.alltypestiny
      00:23:26 group by int_col having validate_open(int_col);
      00:23:26 
      00:23:26 -- executing against localhost:21000
      00:23:26 select b.bool_col from functional.alltypestiny a join functional.alltypestiny b 
      00:23:26 on validate_open(a.int_col) = b.bool_col
      00:23:26 where a.month = 3 and b.month = 3;
      00:23:26 
      00:23:26 -- executing against localhost:21000
      00:23:26 select count(*) from functional.alltypestiny a left outer join functional.alltypessmall b
      00:23:26 on (a.bigint_col = b.bigint_col and validate_open(a.int_col));
      00:23:26 
      00:23:26 -- executing against localhost:21000
      00:23:26 select count(*) from functional.alltypestiny a left outer join functional.alltypessmall b
      00:23:26 on (a.bigint_col = b.bigint_col)
      00:23:26 where validate_open(a.int_col) = validate_open(b.int_col)
      00:23:26 and validate_open(a.int_col);
      00:23:26 
      00:23:26 ======= 1 failed, 1546 passed, 49 skipped, 36 xfailed in 6088.03 seconds =======
      

      Attachments

        Activity

          People

            bikramjeet.vig Bikramjeet Vig
            twmarshall Thomas Tauber-Marshall
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: