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

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

[~thejas], [~hsubramaniyan] and [~szehon], could you take a look at the patch 
to fix the test. It is straightforward and just removes the not more available 
property. 

> TestJdbcWithMiniHS2.testNewConnectionConfiguration fails
> --------------------------------------------------------
>
>                 Key: HIVE-10322
>                 URL: https://issues.apache.org/jira/browse/HIVE-10322
>             Project: Hive
>          Issue Type: Bug
>          Components: Tests
>    Affects Versions: 1.2.0
>            Reporter: Chaoyu Tang
>            Assignee: Chaoyu Tang
>            Priority: Trivial
>         Attachments: HIVE-10322.patch
>
>
> Fix test 
> org.apache.hive.jdbc.TestJdbcWithMiniHS2.testNewConnectionConfiguration 
> failed with following error:
> {code}
> org.apache.hive.service.cli.HiveSQLException: Failed to open new session: 
> org.apache.hive.service.cli.HiveSQLException: 
> java.lang.IllegalArgumentException: hive configuration 
> hive.server2.thrift.http.max.worker.threads does not exists.
>       at org.apache.hive.jdbc.Utils.verifySuccess(Utils.java:243)
>       at org.apache.hive.jdbc.Utils.verifySuccess(Utils.java:234)
>       at 
> org.apache.hive.jdbc.HiveConnection.openSession(HiveConnection.java:513)
>       at org.apache.hive.jdbc.HiveConnection.<init>(HiveConnection.java:188)
>       at org.apache.hive.jdbc.HiveDriver.connect(HiveDriver.java:105)
>       at java.sql.DriverManager.getConnection(DriverManager.java:571)
>       at java.sql.DriverManager.getConnection(DriverManager.java:233)
>       at 
> org.apache.hive.jdbc.TestJdbcWithMiniHS2.testNewConnectionConfiguration(TestJdbcWithMiniHS2.java:275)
> Caused by: org.apache.hive.service.cli.HiveSQLException: Failed to open new 
> session: org.apache.hive.service.cli.HiveSQLException: 
> java.lang.IllegalArgumentException: hive configuration 
> hive.server2.thrift.http.max.worker.threads does not exists.
> {code}
> It seems related to HIVE-10271(remove 
> hive.server2.thrift.http.min/max.worker.threads properties) 



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

Reply via email to