Archives of Support Questions (Read Only)

This is an archived board for historical reference. Information and links may no longer be available or relevant
Announcements
This board is archived and read-only for historical reference. To ask a new question, please post a new topic on the appropriate active board.

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