[
https://issues.apache.org/jira/browse/HIVE-22231?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Denys Kuzmenko updated HIVE-22231:
----------------------------------
Description:
Posting large data through knox is causing the Broken pipe (Write failed)
java.net.SocketException. Issue here that HS2 is responding with 401 even
before complete query is transferred.
HS2 has to wait until all the data is received and then respond with 401. That
way knox can re-open the connection and send the negotiate header with the data.
was:
When a big query is being passed to HS2, HS2 has to wait for complete query
before responding with 401. Once knox receives 401, it will send next request
with negotiate header.
Issue here that HS2 is responding with 401 even before complete query is
transferred.
> Hive query with big size via knox fails with 'Broken pipe (Write failed)
> ------------------------------------------------------------------------
>
> Key: HIVE-22231
> URL: https://issues.apache.org/jira/browse/HIVE-22231
> Project: Hive
> Issue Type: Bug
> Reporter: Denys Kuzmenko
> Assignee: Denys Kuzmenko
> Priority: Major
>
> Posting large data through knox is causing the Broken pipe (Write failed)
> java.net.SocketException. Issue here that HS2 is responding with 401 even
> before complete query is transferred.
> HS2 has to wait until all the data is received and then respond with 401.
> That way knox can re-open the connection and send the negotiate header with
> the data.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)