Reply
Explorer
Posts: 8
Registered: ‎09-28-2016
Accepted Solution

Define default request_pool in impalarc

Hi, is it possible to define some set options, like REQUEST_POOL in ~/.impalarc? So that user doesn't need to execute "SET REQUEST_POOL=xxx" when start the impala-shell.
Posts: 642
Topics: 3
Kudos: 120
Solutions: 67
Registered: ‎08-16-2016

Re: Define default request_pool in impalarc

No you cannot.  That file is used to store impala-shell configuraiton settings (i.e. -k or kerberos) and not Impala session variables.

 

https://www.cloudera.com/documentation/enterprise/5-3-x/topics/impala_shell_options.html

Highlighted
Cloudera Employee
Posts: 1
Registered: ‎09-13-2018

Re: Define default request_pool in impalarc

There is now a way to do this with .impalarc using the following:

 

[impala.query_options]
REQUEST_POOL=mypoolname