yaooqinn commented on code in PR #2324:
URL: https://github.com/apache/incubator-kyuubi/pull/2324#discussion_r848038595
##########
kyuubi-common/src/main/scala/org/apache/kyuubi/util/KyuubiHadoopUtils.scala:
##########
@@ -42,8 +42,16 @@ object KyuubiHadoopUtils {
def newHadoopConf(
conf: KyuubiConf,
- loadDefaults: Boolean = true): Configuration = {
+ loadDefaults: Boolean = true,
+ engineEnv: Boolean = false): Configuration = {
val hadoopConf = new Configuration(loadDefaults)
+ if (engineEnv) {
+ conf.getEnvs.get("HADOOP_CONF_DIR").foreach { hadoopConfDir =>
Review Comment:
If you use YarnConfiguation, I guess it could trigger reload yarn-site.xml
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]