You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@kyuubi.apache.org by GitBox <gi...@apache.org> on 2022/12/06 04:54:03 UTC

[GitHub] [incubator-kyuubi] cxzl25 opened a new issue, #3909: [TEST] the new client should work properly when the engine exits unexpectedly *** FAILED ***

cxzl25 opened a new issue, #3909:
URL: https://github.com/apache/incubator-kyuubi/issues/3909

   ### Code of Conduct
   
   - [X] I agree to follow this project's [Code of Conduct](https://www.apache.org/foundation/policies/conduct)
   
   
   ### Search before asking
   
   - [X] I have searched in the [issues](https://github.com/apache/incubator-kyuubi/issues?q=is%3Aissue) and found no similar issues.
   
   
   ### What kind of test improve?
   
   - [X] Fix flaky tests.
   - [ ] Fix bug in tests.
   - [ ] Increase test coverage.
   - [ ] Other kinds of test improve.
   
   ### Describe the issues of the existing tests or improvements for new tests
   
   https://github.com/apache/incubator-kyuubi/actions/runs/3625859230/jobs/6114323952
   
   ```java
   - the new client should work properly when the engine exits unexpectedly *** FAILED ***
     org.apache.thrift.protocol.TProtocolException: Required field 'operationHandle' is unset! Struct:TGetOperationStatusReq(operationHandle:null)
     at org.apache.hive.service.rpc.thrift.TGetOperationStatusReq.validate(TGetOperationStatusReq.java:373)
     at org.apache.hive.service.rpc.thrift.TCLIService$GetOperationStatus_args.validate(TCLIService.java:12851)
     at org.apache.hive.service.rpc.thrift.TCLIService$GetOperationStatus_args$GetOperationStatus_argsStandardScheme.write(TCLIService.java:12908)
     at org.apache.hive.service.rpc.thrift.TCLIService$GetOperationStatus_args$GetOperationStatus_argsStandardScheme.write(TCLIService.java:12877)
     at org.apache.hive.service.rpc.thrift.TCLIService$GetOperationStatus_args.write(TCLIService.java:12828)
     at org.apache.thrift.TServiceClient.sendBase(TServiceClient.java:71)
     at org.apache.thrift.TServiceClient.sendBase(TServiceClient.java:62)
     at org.apache.hive.service.rpc.thrift.TCLIService$Client.send_GetOperationStatus(TCLIService.java:469)
     at org.apache.hive.service.rpc.thrift.TCLIService$Client.GetOperationStatus(TCLIService.java:461)
     at org.apache.kyuubi.operation.HiveJDBCTestHelper.waitForOperationToComplete(HiveJDBCTestHelper.scala:116)
   ```
   
   
   ### Are you willing to submit PR?
   
   - [ ] Yes. I can submit a PR independently to improve.
   - [ ] Yes. I would be willing to submit a PR with guidance from the Kyuubi community to improve.
   - [ ] No. I cannot submit a PR at this time.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscribe@kyuubi.apache.org.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@kyuubi.apache.org
For additional commands, e-mail: notifications-help@kyuubi.apache.org


[GitHub] [incubator-kyuubi] cxzl25 commented on issue #3909: [TEST] the new client should work properly when the engine exits unexpectedly *** FAILED ***

Posted by GitBox <gi...@apache.org>.
cxzl25 commented on issue #3909:
URL: https://github.com/apache/incubator-kyuubi/issues/3909#issuecomment-1338755750

   KyuubiOperationPerUserSuite
   ```scala
     test("the new client should work properly when the engine exits unexpectedly") {
   
           val exitReq = new TExecuteStatementReq()
           // force kill engine without shutdown hook
           exitReq.setStatement("java.lang.Runtime.getRuntime().halt(-1)")
           exitReq.setSessionHandle(handle)
           exitReq.setRunAsync(true)
           client.ExecuteStatement(exitReq)
   ```
   
   In PR #3884 we support scala async.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscribe@kyuubi.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@kyuubi.apache.org
For additional commands, e-mail: notifications-help@kyuubi.apache.org


[GitHub] [incubator-kyuubi] cfmcgrady closed issue #3909: [TEST] the new client should work properly when the engine exits unexpectedly *** FAILED ***

Posted by GitBox <gi...@apache.org>.
cfmcgrady closed issue #3909: [TEST] the new client should work properly when the engine exits unexpectedly *** FAILED ***
URL: https://github.com/apache/incubator-kyuubi/issues/3909


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscribe@kyuubi.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@kyuubi.apache.org
For additional commands, e-mail: notifications-help@kyuubi.apache.org