thanks

Hive JDBC driver can't do that



igyu
 
From: Zoltán Borók-Nagy
Date: 2021-11-04 23:00
To: user
Subject: Re: How can I use "request_pool" with jdbc
Hi igyu,

You can do this with the Impala JDBC driver, but not with the Hive JDBC driver.

https://www.cloudera.com/downloads/connectors/impala/jdbc/2-6-23.html

E.g. you can use the following connection string:

jdbc:impala://impalaser:21050/;AuthMech=3;UID=admin;PWD=123456;DelegationUID=jztwk;request_pool=JZYC

For more information, please check 
https://docs.cloudera.com/documentation/other/connectors/impala-jdbc/latest/Cloudera-JDBC-Driver-for-Impala-Install-Guide.pdf

Cheers,
   Zoltan

On Thu, Nov 4, 2021 at 9:26 AM igyu <i...@21cn.com> wrote:
I know in jdbc exec "SET request_pool=JZYC"

But I want to use it in url or jdbc such as 

jdbc:hive2://impalaser:21050/;user=admin;password=123456;impala.doas.user=jztwk?request_pool=JZYC

like hive jdbc
jdbc:hive2://hiveser:10050/;user=admin;password=123456;hive.server2.proxy.user=jztwk?spark.yarn.queue=root.jzyc



igyu

Reply via email to