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

Flaky TestUdfs.test_udf_update_via_create

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Critical
    • Resolution: Fixed
    • Affects Version/s: Impala 2.8.0
    • Fix Version/s: None
    • Component/s: Frontend
    • Environment:
      ec2 c3.4xlarge, Ubuntu 14.04

      Description

      The test below intermittently. It may be IMPALA-3641, but it manifests differently.

      I doubt it's from https://gerrit.cloudera.org/#/c/5008/, because it seems like that should either always fail or never fail.

       TestUdfs.test_udf_update_via_create[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] 
      [gw6] linux2 -- Python 2.7.6 /home/ubuntu/tmp.I6bbQ76esa/bin/../infra/python/env/bin/python
      query_test/test_udfs.py:217: in test_udf_update_via_create
          exec_options, query_template.format(new_function_name), ["New UDF"])
      query_test/test_udfs.py:284: in __run_query_all_impalads
          assert result.data == expected
      E   assert ['Old UDF'] == ['New UDF']
      E     At index 0 diff: 'Old UDF' != 'New UDF'
      E     Use -v to get the full diff
      ---------------------------- Captured stderr setup -----------------------------
      SET sync_ddl=False;
      -- executing against localhost:21000
      DROP DATABASE IF EXISTS `test_udf_update_via_create_d6b3ee5e` CASCADE;
      
      SET sync_ddl=False;
      -- executing against localhost:21000
      CREATE DATABASE `test_udf_update_via_create_d6b3ee5e`;
      
      MainThread: Created database "test_udf_update_via_create_d6b3ee5e" for test ID "query_test/test_udfs.py::TestUdfs::()::test_udf_update_via_create[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]"
      ----------------------------- Captured stderr call -----------------------------
      SET batch_size=0;
      SET num_nodes=0;
      SET sync_ddl=1;
      SET disable_codegen=True;
      SET abort_on_error=1;
      SET exec_single_node_rows_threshold=0;
      -- executing against localhost:21000
      drop function if exists `test_udf_update_via_create_d6b3ee5e`.`udf_update_test_create1`();
      
      SET batch_size=0;
      SET num_nodes=0;
      SET sync_ddl=1;
      SET disable_codegen=True;
      SET abort_on_error=1;
      SET exec_single_node_rows_threshold=0;
      -- executing against localhost:21000
      drop function if exists `test_udf_update_via_create_d6b3ee5e`.`udf_update_test_create2`();
      
      SET batch_size=0;
      SET num_nodes=0;
      SET sync_ddl=1;
      SET disable_codegen=True;
      SET abort_on_error=1;
      SET exec_single_node_rows_threshold=0;
      -- executing against localhost:21000
      create function `test_udf_update_via_create_d6b3ee5e`.`udf_update_test_create1`() returns string LOCATION '/test-warehouse/impala-hive-udfs3.jar' SYMBOL='org.apache.impala.TestUpdateUdf';
      
      MainThread: Found 3 impalad/1 statestored/1 catalogd process(es)
      -- connecting to: ip-172-31-13-247:21000
      SET batch_size=0;
      SET num_nodes=0;
      SET sync_ddl=1;
      SET disable_codegen=True;
      SET abort_on_error=1;
      SET exec_single_node_rows_threshold=0;
      -- executing against ip-172-31-13-247:21000
      select `test_udf_update_via_create_d6b3ee5e`.`udf_update_test_create1`();
      
      -- connecting to: ip-172-31-13-247:21001
      SET batch_size=0;
      SET num_nodes=0;
      SET sync_ddl=1;
      SET disable_codegen=True;
      SET abort_on_error=1;
      SET exec_single_node_rows_threshold=0;
      -- executing against ip-172-31-13-247:21001
      select `test_udf_update_via_create_d6b3ee5e`.`udf_update_test_create1`();
      
      -- connecting to: ip-172-31-13-247:21002
      SET batch_size=0;
      SET num_nodes=0;
      SET sync_ddl=1;
      SET disable_codegen=True;
      SET abort_on_error=1;
      SET exec_single_node_rows_threshold=0;
      -- executing against ip-172-31-13-247:21002
      select `test_udf_update_via_create_d6b3ee5e`.`udf_update_test_create1`();
      
      SET batch_size=0;
      SET num_nodes=0;
      SET sync_ddl=1;
      SET disable_codegen=True;
      SET abort_on_error=1;
      SET exec_single_node_rows_threshold=0;
      -- executing against localhost:21000
      create function `test_udf_update_via_create_d6b3ee5e`.`udf_update_test_create2`() returns string LOCATION '/test-warehouse/impala-hive-udfs3.jar' SYMBOL='org.apache.impala.TestUpdateUdf';
      
      MainThread: Found 3 impalad/1 statestored/1 catalogd process(es)
      -- connecting to: ip-172-31-13-247:21000
      SET batch_size=0;
      SET num_nodes=0;
      SET sync_ddl=1;
      SET disable_codegen=True;
      SET abort_on_error=1;
      SET exec_single_node_rows_threshold=0;
      -- executing against ip-172-31-13-247:21000
      select `test_udf_update_via_create_d6b3ee5e`.`udf_update_test_create2`();
      

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                Unassigned
                Reporter:
                jbapple Jim Apple
              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: