kgyrtkirk commented on a change in pull request #794: HIVE-21884
URL: https://github.com/apache/hive/pull/794#discussion_r343176720
 
 

 ##########
 File path: itests/util/src/main/java/org/apache/hadoop/hive/ql/QTestUtil.java
 ##########
 @@ -209,14 +211,19 @@ public QTestUtil(QTestArguments testArgs) throws 
Exception {
     conf.set("test.data.dir", datasetHandler.getDataDir(conf));
     dispatcher.register("dataset", datasetHandler);
     dispatcher.register("replace", replaceHandler);
+    dispatcher.register("scheduledqueryservice", new 
QTestScheduledQueryServiceProvider());
+    dispatcher.register("scheduledquerycleaner", new 
QTestScheduledQueryCleaner());
 
     String scriptsDir = getScriptsDir();
 
     this.initScript = scriptsDir + File.separator + testArgs.getInitScript();
     this.cleanupScript = scriptsDir + File.separator + 
testArgs.getCleanupScript();
 
     postInit();
+    
conf.setVar(HiveConf.ConfVars.HIVE_SCHEDULED_QUERIES_EXECUTOR_IDLE_SLEEP_TIME, 
"1s");
 
 Review comment:
   yes; this was placed here in the beginning...I would agree with you - but I 
try to move in the direction of decomposing qtestutil by adding some qtest 
option - the scheduledqueryservice has a qtest option ; I moved this "set" to 
there - so that way it doesn't poison this file
   
   thank you!

----------------------------------------------------------------
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:
us...@infra.apache.org


With regards,
Apache Git Services

---------------------------------------------------------------------
To unsubscribe, e-mail: gitbox-unsubscr...@hive.apache.org
For additional commands, e-mail: gitbox-h...@hive.apache.org

Reply via email to