You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@tajo.apache.org by "Hyunsik Choi (JIRA)" <ji...@apache.org> on 2015/08/08 16:21:45 UTC

[jira] [Updated] (TAJO-1748) Refine client APIs to throw specific exceptions

     [ https://issues.apache.org/jira/browse/TAJO-1748?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Hyunsik Choi updated TAJO-1748:
-------------------------------
    Description: 
This patch includes lots of API changes in terms of only exceptions. In overall, this patch changes throwable exceptions for APIs and unit tests to ensure that the APIs throws exact exceptions. 

In sum, this patch includes the following changes:

* Replace CatalogException by TajoException
* Move almost TajoException/TajoRunException in tajo-core into tajo-common
* Remove CatalogException and CatalogExceptionUtil
* Add throwable exception to all APIs in TajoClient, QueryClient, CatalogService, and CatalogAdminClient.
* Refine all client implementations to throw received exception exactly.
* Add negative unit tests for all APIs of them
* Refine Client API v2 to handle exceptional cases like query failed, and killed.
* Add query fail and kill tests for Client v2

  was:
This patch includes lots of API changes in terms of only exceptions. In overall, this patch changes throwable exceptions for APIs and unit tests to ensure that the APIs throws exact exceptions. 

In sum, this patch includes the following changes:

* Replace CatalogException by TajoException
* Move almost TajoException/TajoRunException in tajo-core into tajo-common
* Remove CatalogException and CatalogExceptionUtil
* Add throwable exception to all APIs in TajoClient, QueryClient, CatalogService, and CatalogAdminClient.
* Add unit tests for all APIs of them
* Add unit tests for Client v2


> Refine client APIs to throw specific exceptions
> -----------------------------------------------
>
>                 Key: TAJO-1748
>                 URL: https://issues.apache.org/jira/browse/TAJO-1748
>             Project: Tajo
>          Issue Type: Sub-task
>          Components: Catalog, Java Client
>            Reporter: Hyunsik Choi
>            Assignee: Hyunsik Choi
>             Fix For: 0.11.0
>
>
> This patch includes lots of API changes in terms of only exceptions. In overall, this patch changes throwable exceptions for APIs and unit tests to ensure that the APIs throws exact exceptions. 
> In sum, this patch includes the following changes:
> * Replace CatalogException by TajoException
> * Move almost TajoException/TajoRunException in tajo-core into tajo-common
> * Remove CatalogException and CatalogExceptionUtil
> * Add throwable exception to all APIs in TajoClient, QueryClient, CatalogService, and CatalogAdminClient.
> * Refine all client implementations to throw received exception exactly.
> * Add negative unit tests for all APIs of them
> * Refine Client API v2 to handle exceptional cases like query failed, and killed.
> * Add query fail and kill tests for Client v2



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)