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

Dockerised tests with USE_CDP_HIVE=true crash with orc-metadata-utils.cc DCHECK

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Blocker
    • Resolution: Duplicate
    • Impala 4.0.0
    • Impala 4.0.0
    • Backend

    Description

      I ran a ubuntu-16.04-dockerised-tests-cdp-hive on master, and all of the Impalads crashed with this message during end-to-end tests:

      F0419 03:32:48.973024 31936 orc-metadata-utils.cc:160] 444f457c178cfeff:de098d6100000001] Check failed: i == col_path.size() - 1 (0 vs. 1) 
      F0419 03:32:48.974320 31935 orc-metadata-utils.cc:160] 444f457c178cfeff:de098d6100000001] Check failed: i == col_path.size() - 1 (0 vs. 1) 
      F0419 03:32:48.974320 31935 orc-metadata-utils.cc:160] 444f457c178cfeff:de098d6100000001] Check failed: i == col_path.size() - 1 (0 vs. 1) F0419 03:32:48.981420 31937 orc-metadata-utils.cc:160] 444f457c178cfeff:de098d6100000001] Check failed: i == col_path.size() - 1 (0 vs. 1) 
      F0419 03:32:48.974320 31935 orc-metadata-utils.cc:160] 444f457c178cfeff:de098d6100000001] Check failed: i == col_path.size() - 1 (0 vs. 1) F0419 03:32:48.981420 31937 orc-metadata-utils.cc:160] 444f457c178cfeff:de098d6100000001] Check failed: i == col_path.size() - 1 (0 vs. 1) F0419 03:32:48.983081 31938 orc-metadata-utils.cc:160] 444f457c178cfeff:de098d6100000001] Check failed: i == col_path.size() - 1 (0 vs. 1) 

      It's coming from this DCHECK:

          if (table_col_type->type == TYPE_ARRAY) {
      ...
          } else if (table_col_type->type == TYPE_MAP) {
      ...
          } else if (table_col_type->type == TYPE_STRUCT) {
      ...
          } else {
            DCHECK(!table_col_type->IsComplexType());
            DCHECK_EQ(i, col_path.size() - 1);            <--------
            RETURN_IF_ERROR(ValidateType(*table_col_type, **node));
          }
      

      https://github.com/apache/impala/blob/master/be/src/exec/orc-metadata-utils.cc#L160

      https://jenkins.impala.io/job/ubuntu-16.04-dockerised-tests-cdp-hive/4/

      This matches the GVO failures that we saw when trying to set USE_CDP_HIVE=true by default (https://gerrit.cloudera.org/#/c/15710/). It seems to reproduce consistently, but only on the dockerised job.

      Attachments

        Issue Links

          Activity

            People

              joemcdonnell Joe McDonnell
              joemcdonnell Joe McDonnell
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: