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

test_kudu.TestCreateExternalTable on S3 failing with "AlreadyExistsException: Database already exists"

    XMLWordPrintableJSON

Details

    • ghx-label-4

    Description

      Error Message

      test setup failure
      

      Stacktrace

      conftest.py:347: in conn
          with __unique_conn(db_name=db_name, timeout=timeout) as conn:
      /usr/lib64/python2.6/contextlib.py:16: in __enter__
          return self.gen.next()
      conftest.py:380: in __unique_conn
          cur.execute("CREATE DATABASE %s" % db_name)
      ../infra/python/env/lib/python2.6/site-packages/impala/hiveserver2.py:302: in execute
          configuration=configuration)
      ../infra/python/env/lib/python2.6/site-packages/impala/hiveserver2.py:343: in execute_async
          self._execute_async(op)
      ../infra/python/env/lib/python2.6/site-packages/impala/hiveserver2.py:362: in _execute_async
          operation_fn()
      ../infra/python/env/lib/python2.6/site-packages/impala/hiveserver2.py:340: in op
          async=True)
      ../infra/python/env/lib/python2.6/site-packages/impala/hiveserver2.py:1027: in execute
          return self._operation('ExecuteStatement', req)
      ../infra/python/env/lib/python2.6/site-packages/impala/hiveserver2.py:957: in _operation
          resp = self._rpc(kind, request)
      ../infra/python/env/lib/python2.6/site-packages/impala/hiveserver2.py:925: in _rpc
          err_if_rpc_not_ok(response)
      ../infra/python/env/lib/python2.6/site-packages/impala/hiveserver2.py:704: in err_if_rpc_not_ok
          raise HiveServer2Error(resp.status.errorMessage)
      E   HiveServer2Error: ImpalaRuntimeException: Error making 'createDatabase' RPC to Hive Metastore: 
      E   CAUSED BY: AlreadyExistsException: Database f0mraw already exists
      

      Tests affected:

      • query_test.test_kudu.TestCreateExternalTable.test_unsupported_binary_col
      • query_test.test_kudu.TestCreateExternalTable.test_drop_external_table
      • query_test.test_kudu.TestCreateExternalTable.test_explicit_name
      • query_test.test_kudu.TestCreateExternalTable.test_explicit_name_preference
      • query_test.test_kudu.TestCreateExternalTable.test_explicit_name_doesnt_exist
      • query_test.test_kudu.TestCreateExternalTable.test_explicit_name_doesnt_exist_but_implicit_does
      • query_test.test_kudu.TestCreateExternalTable.test_table_without_partitioning
      • query_test.test_kudu.TestCreateExternalTable.test_column_name_case
      • query_test.test_kudu.TestCreateExternalTable.test_conflicting_column_name

      Attachments

        Activity

          People

            vukercegovac Vuk Ercegovac
            dknupp David Knupp
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: