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

test_large_num_partitions failing on deployed clusters because scale_db was not created

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Open
    • Major
    • Resolution: Unresolved
    • Impala 3.3.0
    • None
    • Infrastructure
    • None

    Description

      It's not immediately clear why scale_db is not being created during data load.

      Stacktrace

      catalog_service/test_large_num_partitions.py:41: in test_list_partitions
          result = self.client.execute("show table stats %s" % full_tbl_name)
      common/impala_connection.py:180: in execute
          return self.__beeswax_client.execute(sql_stmt, user=user)
      beeswax/impala_beeswax.py:187: in execute
          handle = self.__execute_query(query_string.strip(), user=user)
      beeswax/impala_beeswax.py:362: in __execute_query
          handle = self.execute_query_async(query_string, user=user)
      beeswax/impala_beeswax.py:356: in execute_query_async
          handle = self.__do_rpc(lambda: self.imp_service.query(query,))
      beeswax/impala_beeswax.py:516: in __do_rpc
          raise ImpalaBeeswaxException(self.__build_error_message(b), b)
      E   ImpalaBeeswaxException: ImpalaBeeswaxException:
      E    INNER EXCEPTION: <class 'beeswaxd.ttypes.BeeswaxException'>
      E    MESSAGE: AnalysisException: Database does not exist: scale_db
      

      Stacktrace

      catalog_service/test_large_num_partitions.py:62: in test_predicates_on_partition_attributes
          result = self.client.execute("select * from %s where j = 1" % full_tbl_name)
      common/impala_connection.py:180: in execute
          return self.__beeswax_client.execute(sql_stmt, user=user)
      beeswax/impala_beeswax.py:187: in execute
          handle = self.__execute_query(query_string.strip(), user=user)
      beeswax/impala_beeswax.py:362: in __execute_query
          handle = self.execute_query_async(query_string, user=user)
      beeswax/impala_beeswax.py:356: in execute_query_async
          handle = self.__do_rpc(lambda: self.imp_service.query(query,))
      beeswax/impala_beeswax.py:516: in __do_rpc
          raise ImpalaBeeswaxException(self.__build_error_message(b), b)
      E   ImpalaBeeswaxException: ImpalaBeeswaxException:
      E    INNER EXCEPTION: <class 'beeswaxd.ttypes.BeeswaxException'>
      E    MESSAGE: AnalysisException: Could not resolve table reference: 'scale_db.num_partitions_1234_blocks_per_partition_1'
      

      Attachments

        Activity

          People

            Unassigned Unassigned
            dknupp David Knupp
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated: