You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@hive.apache.org by dam6923 <da...@gmail.com> on 2018/06/09 15:49:55 UTC

Global Configuration Read

Hello,

I am working on a patch for HiveServer2 whereby I will propose adding
a new self-contained class which will have its own thread pool.  I
would like to make the size of the thread pool configurable from
hive-site.xml at server start-up.

All of the configurations I see are tied to the session and therefore
come from the session context which is passed around the code at
run-time.  What is the best/common way to read a global variable once
from the configuration file at startup?

Thanks!