You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@knox.apache.org by "Larry McCay (Jira)" <ji...@apache.org> on 2020/03/26 23:50:00 UTC

[jira] [Resolved] (KNOX-2205) KnoxLine Connection timesout too quickly with Hive

     [ https://issues.apache.org/jira/browse/KNOX-2205?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Larry McCay resolved KNOX-2205.
-------------------------------
    Resolution: Fixed

Resolving as fixed - the setting of the connection header to close resolved it.

> KnoxLine Connection timesout too quickly with Hive
> --------------------------------------------------
>
>                 Key: KNOX-2205
>                 URL: https://issues.apache.org/jira/browse/KNOX-2205
>             Project: Apache Knox
>          Issue Type: Improvement
>          Components: KnoxShell
>            Reporter: Larry McCay
>            Assignee: Larry McCay
>            Priority: Major
>             Fix For: 1.4.0
>
>
> {code:java}
> knoxline> select * from logs
> select * from logs
> +----------------+----------------+----------------+----------------+----------------+----------------+----------------+
> | logs.column1 | logs.column2 | logs.column3 | logs.column4 | logs.column5 | logs.column6 | logs.column7 |
> +----------------+----------------+----------------+----------------+----------------+----------------+----------------+
> | value1 | value2 | value3 | value4 | value5 | value6 | value7 |
> +----------------+----------------+----------------+----------------+----------------+----------------+----------------+
> Rows: 1
> knoxline> 
> knoxline> show tables
> show tables
> SQL Exception encountered... org.apache.thrift.transport.TTransportException: org.apache.http.NoHttpResponseException: cdp-retail-1-3-dataeng-master0.cdp-reta.svbr-nqvp.int.cldr.work:443 failed to respond
> knoxline> show tables
> show tables
> +------------+
> | tab_name |
> +------------+
> | logs |
> +------------+
> Rows: 1
> knoxline>
> {code}
> Retrying the query reestablishes the connection but we need to avoid that.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)