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

Jihun Kang edited comment on TAJO-1072 at 9/27/14 7:34 AM:
-----------------------------------------------------------

This issue can be reproduced for TAJO-0.9.0. RpcChannelFactory class creates 
several worker threads and boss thread, and these threads are not be terminated 
when exception occurs. I will post a patch for this issue in a short time.


was (Author: ykrips):
This issue can be reproduced for TAJO-0.9.0. RpcChannelFactory class creates 
several worker threads and boss thread, and these threads are not be terminated 
when exception occurs.

> CLI gets stuck when wrong host/port is provided
> -----------------------------------------------
>
>                 Key: TAJO-1072
>                 URL: https://issues.apache.org/jira/browse/TAJO-1072
>             Project: Tajo
>          Issue Type: Bug
>          Components: cli
>    Affects Versions: 0.8.0
>            Reporter: Niv Zvi
>            Assignee: Jihun Kang
>            Priority: Minor
>
> Hi,
> When a wrong host or port provided in CLI, exceptions are thrown and the 
> session is stuck, the prompt is not back until ctrl+c is executed.
> I need to be able to run a command like the below in batch mode and get the 
> prompt back with a proper exit code when connect fails.
> tsql -c "\version" -h localhost -port 26003
> Thanks,
> Niv



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

Reply via email to