Uploaded image for project: 'Hive'
  1. Hive
  2. HIVE-10322

TestJdbcWithMiniHS2.testNewConnectionConfiguration fails

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Trivial
    • Resolution: Duplicate
    • 1.2.0
    • None
    • Tests
    • None

    Description

      Fix test org.apache.hive.jdbc.TestJdbcWithMiniHS2.testNewConnectionConfiguration failed with following error:

      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.
      

      It seems related to HIVE-10271(remove hive.server2.thrift.http.min/max.worker.threads properties)

      Attachments

        1. HIVE-10322.patch
          1 kB
          Chaoyu Tang

        Issue Links

          Activity

            People

              ctang Chaoyu Tang
              ctang Chaoyu Tang
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: