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

TestDropDb failed to open transport

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Critical
    • Resolution: Cannot Reproduce
    • Impala 2.8.0
    • None
    • Infrastructure

    Description

      TestDropDb.test_drop_db_cascade failed on an asf-master s3 build.

      It looks like it timed out while trying to create the database for the test, so it probably isn't specific to this test

      14:51:27 ==================================== ERRORS ====================================
      14:51:27 ______________ ERROR at setup of TestDropDb.test_drop_db_cascade _______________
      14:51:27 [gw2] linux2 -- Python 2.6.6 /data/jenkins/workspace/impala-umbrella-build-and-test-s3/repos/Impala/bin/../infra/python/env/bin/python
      14:51:27 conftest.py:435: in unique_cursor
      14:51:27     with __unique_conn() as conn:
      14:51:27 /usr/lib64/python2.6/contextlib.py:16: in __enter__
      14:51:27     return self.gen.next()
      14:51:27 conftest.py:368: in __unique_conn
      14:51:27     cur.execute("CREATE DATABASE %s" % db_name)
      14:51:27 ../infra/python/env/lib/python2.6/site-packages/impala/hiveserver2.py:187: in execute
      14:51:27     configuration=configuration)
      14:51:27 ../infra/python/env/lib/python2.6/site-packages/impala/hiveserver2.py:205: in execute_async
      14:51:27     self._execute_async(op)
      14:51:27 ../infra/python/env/lib/python2.6/site-packages/impala/hiveserver2.py:220: in _execute_async
      14:51:27     operation_fn()
      14:51:27 ../infra/python/env/lib/python2.6/site-packages/impala/hiveserver2.py:203: in op
      14:51:27     configuration)
      14:51:27 ../infra/python/env/lib/python2.6/site-packages/impala/hiveserver2.py:557: in wrapper
      14:51:27     return func(*args, **kwargs)
      14:51:27 ../infra/python/env/lib/python2.6/site-packages/impala/hiveserver2.py:640: in execute_statement
      14:51:27     resp = service.ExecuteStatement(req)
      14:51:27 ../infra/python/env/lib/python2.6/site-packages/impala/_thrift_gen/TCLIService/TCLIService.py:265: in ExecuteStatement
      14:51:27     return self.recv_ExecuteStatement()
      14:51:27 ../infra/python/env/lib/python2.6/site-packages/impala/_thrift_gen/TCLIService/TCLIService.py:276: in recv_ExecuteStatement
      14:51:27     (fname, mtype, rseqid) = self._iprot.readMessageBegin()
      14:51:27 ../infra/python/env/lib/python2.6/site-packages/thrift/protocol/TBinaryProtocol.py:126: in readMessageBegin
      14:51:27     sz = self.readI32()
      14:51:27 ../infra/python/env/lib/python2.6/site-packages/thrift/protocol/TBinaryProtocol.py:206: in readI32
      14:51:27     buff = self.trans.readAll(4)
      14:51:27 ../infra/python/env/lib/python2.6/site-packages/thrift/transport/TTransport.py:58: in readAll
      14:51:27     chunk = self.read(sz - have)
      14:51:27 ../infra/python/env/lib/python2.6/site-packages/thrift/transport/TTransport.py:159: in read
      14:51:27     self.__rbuf = StringIO(self.__trans.read(max(sz, self.__rbuf_size)))
      14:51:27 ../infra/python/env/lib/python2.6/site-packages/thrift/transport/TSocket.py:103: in read
      14:51:27     buff = self.handle.recv(sz)
      14:51:27 E   timeout: timed out
      14:51:27 ---------------------------- Captured stderr setup -----------------------------
      14:51:27 MainThread: Connecting to HiveServer2 localhost:21050 with NOSASL authentication mechanism
      14:51:27 MainThread: Getting a cursor (Impala session)
      14:51:27 MainThread: Executing query CREATE DATABASE inrm5x
      14:51:27 MainThread: Failed to open transport (tries_left=3)
      14:51:27 Traceback (most recent call last):
      14:51:27   File "/data/jenkins/workspace/impala-umbrella-build-and-test-s3/repos/Impala/infra/python/env/lib/python2.6/site-packages/impala/hiveserver2.py", line 557, in wrapper
      14:51:27     return func(*args, **kwargs)
      14:51:27   File "/data/jenkins/workspace/impala-umbrella-build-and-test-s3/repos/Impala/infra/python/env/lib/python2.6/site-packages/impala/hiveserver2.py", line 640, in execute_statement
      14:51:27     resp = service.ExecuteStatement(req)
      14:51:27   File "/data/jenkins/workspace/impala-umbrella-build-and-test-s3/repos/Impala/infra/python/env/lib/python2.6/site-packages/impala/_thrift_gen/TCLIService/TCLIService.py", line 265, in ExecuteStatement
      14:51:27     return self.recv_ExecuteStatement()
      14:51:27   File "/data/jenkins/workspace/impala-umbrella-build-and-test-s3/repos/Impala/infra/python/env/lib/python2.6/site-packages/impala/_thrift_gen/TCLIService/TCLIService.py", line 276, in recv_ExecuteStatement
      14:51:27     (fname, mtype, rseqid) = self._iprot.readMessageBegin()
      14:51:27   File "/data/jenkins/workspace/impala-umbrella-build-and-test-s3/repos/Impala/infra/python/env/lib/python2.6/site-packages/thrift/protocol/TBinaryProtocol.py", line 126, in readMessageBegin
      14:51:27     sz = self.readI32()
      14:51:27   File "/data/jenkins/workspace/impala-umbrella-build-and-test-s3/repos/Impala/infra/python/env/lib/python2.6/site-packages/thrift/protocol/TBinaryProtocol.py", line 206, in readI32
      14:51:27     buff = self.trans.readAll(4)
      14:51:27   File "/data/jenkins/workspace/impala-umbrella-build-and-test-s3/repos/Impala/infra/python/env/lib/python2.6/site-packages/thrift/transport/TTransport.py", line 58, in readAll
      14:51:27     chunk = self.read(sz - have)
      14:51:27   File "/data/jenkins/workspace/impala-umbrella-build-and-test-s3/repos/Impala/infra/python/env/lib/python2.6/site-packages/thrift/transport/TTransport.py", line 159, in read
      14:51:27     self.__rbuf = StringIO(self.__trans.read(max(sz, self.__rbuf_size)))
      14:51:27   File "/data/jenkins/workspace/impala-umbrella-build-and-test-s3/repos/Impala/infra/python/env/lib/python2.6/site-packages/thrift/transport/TSocket.py", line 103, in read
      14:51:27     buff = self.handle.recv(sz)
      14:51:27 timeout: timed out
      ...

      Attachments

        Activity

          People

            Unassigned Unassigned
            twmarshall Thomas Tauber-Marshall
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: