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

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

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

    https://github.com/apache/tajo/pull/711#discussion_r38885046
  
    --- Diff: 
tajo-core-tests/src/test/java/org/apache/tajo/cli/tsql/TestTajoCli.java ---
    @@ -315,6 +315,38 @@ private void verifyStopWhenError() throws Exception {
         assertOutputResult(consoleResult);
       }
     
    +  private void verifyRunWhenError() throws Exception {
    +    Thread t = new Thread() {
    +      public void run() {
    +        try {
    +          PipedOutputStream po = new PipedOutputStream();
    +          InputStream is = new PipedInputStream(po);
    +          ByteArrayOutputStream out = new ByteArrayOutputStream();
    +
    +          TajoConf tajoConf = 
TpchTestBase.getInstance().getTestingCluster().getConfiguration();
    --- End diff --
    
    It is better to call ```new TajoConf()``` because 
TpchTestBase.getInstance() starts a tajo cluster.


> Check ON_ERROR_STOP flag in TSQL when error is occured 
> -------------------------------------------------------
>
>                 Key: TAJO-1782
>                 URL: https://issues.apache.org/jira/browse/TAJO-1782
>             Project: Tajo
>          Issue Type: Bug
>          Components: SQL Shell
>    Affects Versions: 0.11.0
>            Reporter: Dongkyu Hwangbo
>            Assignee: Dongkyu Hwangbo
>            Priority: Critical
>             Fix For: 0.11.0
>
>
> When I enter query with abnormal part, TSQL print out error type and error 
> message. and tsql is killed itself.



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

Reply via email to