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

Compute Stats test fails on Hbase tables.

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Not A Bug
    • Affects Version/s: Impala 2.2
    • Fix Version/s: Impala 2.2
    • Component/s: None
    • Labels:
      None

      Description

      test_hbase_compute_stats if failing consistently on trunk, but we've seen an instance of the failure on the release branch as well.

      Test File:
      http://github.mtv.cloudera.com/CDH/Impala/blob/cdh5-trunk/testdata/workloads/functional-query/queries/QueryTest/hbase-compute-stats.test

      Failure:

      Error Message
      
      test failure
      Stacktrace
      
      metadata/test_hbase_metadata.py:45: in test_hbase_compute_stats
      >     self.run_test_case('QueryTest/hbase-compute-stats', vector)
      common/impala_test_suite.py:253: in run_test_case
      >                          pytest.config.option.update_results)
      common/test_result_verifier.py:346: in verify_raw_results
      >       VERIFIER_MAP[verifier](expected, actual)
      common/test_result_verifier.py:198: in verify_query_result_is_equal
      >     assert expected_results == actual_results
      E     assert Comparing QueryTestResults (expected vs actual):
      E       Detailed information truncated, use "-vv" to show
      Standard Error
      
      -- connecting to: localhost:21000
      -- executing against localhost:21000
      use default;
      
      SET sync_ddl=1;
      -- executing against localhost:21000
      show databases;
      
      -- executing against localhost:21000
      create database compute_stats_db_hbase;
      
      -- executing against localhost:21000
      use functional_hbase;
      
      SET disable_codegen=False;
      SET abort_on_error=1;
      SET exec_single_node_rows_threshold=0;
      SET batch_size=0;
      SET num_nodes=0;
      -- executing against localhost:21000
      create table compute_stats_db_hbase.alltypessmall_hbase
      like alltypessmall;
      
      MainThread: No results found. Skipping verification
      -- executing against localhost:21000
      compute stats compute_stats_db_hbase.alltypessmall_hbase;
      
      -- executing against localhost:21000
      show table stats compute_stats_db_hbase.alltypessmall_hbase;
      
      -- executing against localhost:21000
      show column stats compute_stats_db_hbase.alltypessmall_hbase;
      
      MainThread: Comparing QueryTestResults (expected vs actual):
      'bigint_col','BIGINT',10,-1,8,8 == 'bigint_col','BIGINT',10,-1,8,8
      'bool_col','BOOLEAN',2,-1,1,1 == 'bool_col','BOOLEAN',2,-1,1,1
      'date_string_col','STRING',12,-1,8,8 != 'date_string_col','STRING',0,-1,0,0
      'double_col','DOUBLE',10,-1,8,8 == 'double_col','DOUBLE',10,-1,8,8
      'float_col','FLOAT',10,-1,4,4 == 'float_col','FLOAT',10,-1,4,4
      'id','INT',105,-1,4,4 == 'id','INT',105,-1,4,4
      'int_col','INT',10,-1,4,4 == 'int_col','INT',10,-1,4,4
      'month','INT',4,-1,4,4 == 'month','INT',4,-1,4,4
      'smallint_col','SMALLINT',10,-1,2,2 != 'smallint_col','SMALLINT',0,-1,2,2
      'string_col','STRING',10,-1,1,1 != 'string_col','STRING',10,-1,3,3
      'timestamp_col','TIMESTAMP',101,-1,16,16 == 'timestamp_col','TIMESTAMP',101,-1,16,16
      'tinyint_col','TINYINT',10,-1,1,1 == 'tinyint_col','TINYINT',10,-1,1,1
      'year','INT',1,-1,4,4 == 'year','INT',1,-1,4,4
      

      I have not been able to reproduce it locally yet.

        Attachments

          Activity

            People

            • Assignee:
              henryr Henry Robinson
              Reporter:
              ishaan Ishaan Joshi
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: