You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@tajo.apache.org by "Jinho Kim (JIRA)" <ji...@apache.org> on 2015/04/18 07:15:58 UTC
[jira] [Updated] (TAJO-1569) BlockingRpcClient can make other
request fail
[ https://issues.apache.org/jira/browse/TAJO-1569?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Jinho Kim updated TAJO-1569:
----------------------------
Attachment: TAJO-1569.patch
> BlockingRpcClient can make other request fail
> ---------------------------------------------
>
> Key: TAJO-1569
> URL: https://issues.apache.org/jira/browse/TAJO-1569
> Project: Tajo
> Issue Type: Bug
> Components: client, rpc
> Affects Versions: 0.11.0
> Reporter: Jinho Kim
> Assignee: Jinho Kim
> Attachments: TAJO-1569.patch
>
>
> A callback is set to fail but It rethrow exception and then other normal request is set to fail.
> {noformat}
> Tests run: 23, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 31.131 sec <<< FAILURE! - in org.apache.tajo.client.TestTajoClient
> testSelectDatabaseToInvalidOne(org.apache.tajo.client.TestTajoClient) Time elapsed: 0.034 sec <<< ERROR!
> com.google.protobuf.ServiceException: org.apache.tajo.rpc.TajoServiceException: org.apache.tajo.ipc.TajoMasterClientProtocol(127.0.0.1:33642): com.google.protobuf.ServiceException: org.apache.tajo.catalog.exception.NoSuchDatabaseException: ERROR: database "invaliddatabase" does not exist
> at org.apache.tajo.rpc.BlockingRpcClient$ProxyRpcChannel.callBlockingMethod(BlockingRpcClient.java:121)
> at org.apache.tajo.ipc.TajoMasterClientProtocol$TajoMasterClientProtocolService$BlockingStub.getAllDatabases(TajoMasterClientProtocol.java:2163)
> at org.apache.tajo.client.CatalogAdminClientImpl$4.call(CatalogAdminClientImpl.java:106)
> at org.apache.tajo.client.CatalogAdminClientImpl$4.call(CatalogAdminClientImpl.java:100)
> at org.apache.tajo.rpc.ServerCallable.withRetries(ServerCallable.java:86)
> at org.apache.tajo.client.CatalogAdminClientImpl.getAllDatabaseNames(CatalogAdminClientImpl.java:99)
> at org.apache.tajo.client.TajoClientImpl.getAllDatabaseNames(TajoClientImpl.java:194)
> at org.apache.tajo.client.TestTajoClient.testSelectDatabaseToInvalidOne(TestTajoClient.java:145)
> {noformat}
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)