Support Questions

Find answers, ask questions, and share your expertise

Define default request_pool in impalarc

avatar
Explorer
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.
1 ACCEPTED SOLUTION

avatar
Champion

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

View solution in original post

2 REPLIES 2

avatar
Champion

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

avatar
Cloudera Employee

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

 

[impala.query_options]
REQUEST_POOL=mypoolname