Uploaded image for project: 'Hive'
  1. Hive
  2. HIVE-22942 Replace PTest with an alternative
  3. HIVE-23394

TestJdbcGenericUDTFGetSplits2#testGenericUDTFOrderBySplitCount1 is flaky

    XMLWordPrintableJSON

    Details

    • Type: Sub-task
    • Status: Open
    • Priority: Major
    • Resolution: Unresolved
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: None
    • Labels:
      None

      Description

      both
      TestJdbcGenericUDTFGetSplits2.testGenericUDTFOrderBySplitCount1 and
      TestJdbcGenericUDTFGetSplits.testGenericUDTFOrderBySplitCount1
      can fail with the exception below

      seems like the connection was lost

      Error Message
      Failed to close statement
      Stacktrace
      java.sql.SQLException: Failed to close statement
      	at org.apache.hive.jdbc.HiveStatement.closeStatementIfNeeded(HiveStatement.java:200)
      	at org.apache.hive.jdbc.HiveStatement.closeClientOperation(HiveStatement.java:205)
      	at org.apache.hive.jdbc.HiveStatement.close(HiveStatement.java:222)
      	at org.apache.hive.jdbc.AbstractTestJdbcGenericUDTFGetSplits.runQuery(AbstractTestJdbcGenericUDTFGetSplits.java:135)
      	at org.apache.hive.jdbc.AbstractTestJdbcGenericUDTFGetSplits.testGenericUDTFOrderBySplitCount1(AbstractTestJdbcGenericUDTFGetSplits.java:164)
      	at org.apache.hive.jdbc.TestJdbcGenericUDTFGetSplits2.testGenericUDTFOrderBySplitCount1(TestJdbcGenericUDTFGetSplits2.java:28)
      	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
      	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      	at java.lang.reflect.Method.invoke(Method.java:498)
      	at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:47)
      	at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12)
      	at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:44)
      	at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17)
      	at org.junit.internal.runners.statements.FailOnTimeout$StatementThread.run(FailOnTimeout.java:74)
      Caused by: org.apache.thrift.TApplicationException: CloseOperation failed: out of sequence response
      	at org.apache.thrift.TServiceClient.receiveBase(TServiceClient.java:84)
      	at org.apache.hive.service.rpc.thrift.TCLIService$Client.recv_CloseOperation(TCLIService.java:521)
      	at org.apache.hive.service.rpc.thrift.TCLIService$Client.CloseOperation(TCLIService.java:508)
      	at sun.reflect.GeneratedMethodAccessor40.invoke(Unknown Source)
      	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      	at java.lang.reflect.Method.invoke(Method.java:498)
      	at org.apache.hive.jdbc.HiveConnection$SynchronizedHandler.invoke(HiveConnection.java:1732)
      	at com.sun.proxy.$Proxy146.CloseOperation(Unknown Source)
      	at org.apache.hive.jdbc.HiveStatement.closeStatementIfNeeded(HiveStatement.java:193)
      	... 14 more
      

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              kgyrtkirk Zoltan Haindrich
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated: