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

TestDdlStatements.test_alter_table can fail with "AlreadyExistsException: Table table_many_part already exists"

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Critical
    • Resolution: Duplicate
    • Impala 2.9.0
    • None
    • Catalog

    Description

      Seen in S3 testing, but it's not clear to me that s3 is an issue. It first showed up somewhere between

      e3566ac048a122a8c6c88ac696a3cb1f9f31b2fc

      and

      1d933919ee964d8766ba028623d66ec20cd123ac

      inclusive.

       TestDdlStatements.test_alter_table[exec_option: {'batch_size': 0, 'num_nodes': 0, 'sync_ddl': 0, 'disable_codegen': False, 'abort_on_error': 1, 'exec_single_node_rows_threshold': 0} | table_format: text/none-unique_database0] 
      [gw3] linux2 -- Python 2.6.6 /data/jenkins/workspace/impala-umbrella-build-and-test-s3/repos/Impala/bin/../infra/python/env/bin/python
      metadata/test_ddl.py:255: in test_alter_table
          multiple_impalad=self._use_multiple_impalad(vector))
      common/impala_test_suite.py:324: in run_test_case
          result = self.__execute_query(target_impalad_client, query, user=user)
      common/impala_test_suite.py:532: in __execute_query
          return impalad_client.execute(query, user=user)
      common/impala_connection.py:160: in execute
          return self.__beeswax_client.execute(sql_stmt, user=user)
      beeswax/impala_beeswax.py:173: in execute
          handle = self.__execute_query(query_string.strip(), user=user)
      beeswax/impala_beeswax.py:337: in __execute_query
          handle = self.execute_query_async(query_string, user=user)
      beeswax/impala_beeswax.py:333: in execute_query_async
          return self.__do_rpc(lambda: self.imp_service.query(query,))
      beeswax/impala_beeswax.py:458: in __do_rpc
          raise ImpalaBeeswaxException(self.__build_error_message(b), b)
      E   ImpalaBeeswaxException: ImpalaBeeswaxException:
      E    INNER EXCEPTION: <class 'beeswaxd.ttypes.BeeswaxException'>
      E    MESSAGE: 
      E   ImpalaRuntimeException: Error making 'createTable' RPC to Hive Metastore: 
      E   CAUSED BY: AlreadyExistsException: Table table_many_part already exists
      

      Attachments

        Activity

          People

            Unassigned Unassigned
            jbapple Jim Apple
            Votes:
            0 Vote for this issue
            Watchers:
            7 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: