[
https://issues.apache.org/jira/browse/TAJO-1072?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14150842#comment-14150842
]
ASF GitHub Bot commented on TAJO-1072:
--------------------------------------
GitHub user ykrips opened a pull request:
https://github.com/apache/tajo/pull/169
TAJO-1072: CLI gets stuck when wrong host/port is provided
TajoCli should release the external resources of netty client when
exceptions occur.
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/ykrips/tajo TAJO-1072
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/tajo/pull/169.patch
To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:
This closes #169
----
commit 9ebc6db4403144a9221e69302e21ab6ca03416a2
Author: Jihun Kang <[email protected]>
Date: 2014-09-28T00:51:30Z
TAJO-1072: CLI gets stuck when wrong host/port is provided
----
> 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)