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!
