You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@hive.apache.org by "Chaoyu Tang (JIRA)" <ji...@apache.org> on 2013/06/18 02:17:20 UTC

[jira] [Commented] (HIVE-4291) Test HiveServer2 crash based on max thrift threads

    [ https://issues.apache.org/jira/browse/HIVE-4291?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13686222#comment-13686222 ] 

Chaoyu Tang commented on HIVE-4291:
-----------------------------------

If I understand right, the test testHS2StabilityOnLargeConnections seems expecting that client is returned SQLExcpetion (line 190) when the max # of threads is reached. While the fix in Thrift-1869 lets the client wait until the next one is available, and SQLException should not be thrown out in the test.
                
> Test HiveServer2 crash based on max thrift threads
> --------------------------------------------------
>
>                 Key: HIVE-4291
>                 URL: https://issues.apache.org/jira/browse/HIVE-4291
>             Project: Hive
>          Issue Type: Test
>          Components: HiveServer2
>            Reporter: Thiruvel Thirumoolan
>            Assignee: Thiruvel Thirumoolan
>         Attachments: TestHS2ThreadAllocation.java
>
>
> This test case ensures HS2 does not shutdown/crash when the thrift threads have been depleted. This is due to an issue fixed in THRIFT-1869. This test should pass post HIVE-4224. This test case ensures, the crash doesnt happen due to any changes in Thrift behavior.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira