You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@tajo.apache.org by "ASF GitHub Bot (JIRA)" <ji...@apache.org> on 2015/08/03 06:49:04 UTC

[jira] [Commented] (TAJO-1699) Tajo Java Client version 2

    [ https://issues.apache.org/jira/browse/TAJO-1699?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14651418#comment-14651418 ] 

ASF GitHub Bot commented on TAJO-1699:
--------------------------------------

Github user hyunsik commented on a diff in the pull request:

    https://github.com/apache/tajo/pull/662#discussion_r36055958
  
    --- Diff: tajo-common/src/main/java/org/apache/tajo/exception/TajoException.java ---
    @@ -27,6 +28,16 @@
     public class TajoException extends Exception implements TajoExceptionInterface {
       private ResultCode code;
     
    +  public TajoException(ReturnState e) {
    --- End diff --
    
    Stacktrace will be used in only errors like TajoInternalError because other exceptions mean user mistake and recoverable exceptions.


> Tajo Java Client version 2
> --------------------------
>
>                 Key: TAJO-1699
>                 URL: https://issues.apache.org/jira/browse/TAJO-1699
>             Project: Tajo
>          Issue Type: Improvement
>          Components: Java Client
>            Reporter: Hyunsik Choi
>            Assignee: Hyunsik Choi
>             Fix For: 0.11.0
>
>
> I propose Tajo Java Client version 2. Its motivations are as follows:
>  * After TAJO-1625, the error propagation has been changed significantly. Java Client should make use the new error propagation system. Java Client should throw the proper exceptions.
>  * Many Java API exposes internal data structure and protocol buffer data structure. It requires users to understand its internal behavior and architecture. We should hide them from users.



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