pkumarsinha commented on a change in pull request #1044:
URL: https://github.com/apache/hive/pull/1044#discussion_r434100727
##########
File path:
ql/src/java/org/apache/hadoop/hive/ql/scheduled/ScheduledQueryExecutionService.java
##########
@@ -223,6 +223,10 @@ private void processQuery(ScheduledQueryPollResponse q) {
HiveConf conf = new HiveConf(context.conf);
conf.set(Constants.HIVE_QUERY_EXCLUSIVE_LOCK,
lockNameFor(q.getScheduleKey()));
conf.setVar(HiveConf.ConfVars.HIVE_AUTHENTICATOR_MANAGER,
SessionStateUserAuthenticator.class.getName());
+ conf.set(Constants.SCHEDULED_QUERY_NAMESPACE,
q.getScheduleKey().getClusterNamespace());
Review comment:
Not the unset for conf conf.set(Constants.SCHEDULED_QUERY_NAMESPACE).
What I am trying to find out is what happens if 'unsetClusterNamespace()' has
been called from different flow and then this code
conf.set(Constants.SCHEDULED_QUERY_NAMESPACE,
q.getScheduleKey().getClusterNamespace()); is called. Is that a possibility?
----------------------------------------------------------------
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.
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]