You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@tajo.apache.org by "Niv Zvi (JIRA)" <ji...@apache.org> on 2014/09/25 10:36:34 UTC

[jira] [Created] (TAJO-1072) CLI gets stuck when wrong host/port is provided

Niv Zvi created TAJO-1072:
-----------------------------

             Summary: 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
            Priority: Blocker


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)