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

Chaoyu Tang updated HIVE-4766:
------------------------------
    Attachment: HIVE-4766.patch

Hive has upgraded to use Thrift-0.92 (See HIVE-8829) which includes THRIFT-2046 
that provides the supports to loginTimeout and binary exponential backoff 
algorithm in login retry interval. Change Hive to adopt these features.
Two new configurations are introduced:
1. hive.server2.thrift.login.timeout -- timeout for the thrift client to login 
(in seconds)
2. hive.server2.thrift.exponential.backoff.slotlength: Slot time of binary 
exponential backoff algorithm that HS2 Thrift Server uses for its login retry


> Support HS2 client login timeout when the thrift thread max# is reached
> -----------------------------------------------------------------------
>
>                 Key: HIVE-4766
>                 URL: https://issues.apache.org/jira/browse/HIVE-4766
>             Project: Hive
>          Issue Type: Improvement
>          Components: HiveServer2
>    Affects Versions: 0.10.0
>            Reporter: Chaoyu Tang
>            Assignee: Chaoyu Tang
>              Labels: TODOC15
>             Fix For: 0.15.0, 0.14.1
>
>         Attachments: HIVE-4766.patch
>
>
> HiveServer2 client (beeline) hangs in login if the thrift max thread# has 
> been reached. It is because the server crashes due to a defect in currently 
> used thrift 0.9.0. When hive is upgraded to use a new version of Thrift (say 
> thrift 1.0), HS2 should support client login timeout instead of current 
> hanging.



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

Reply via email to