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

 ##########
 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:
   Default for q tests could be changed by modifying files in `data/conf/*.xml` 
instead of adding them here (my understanding is that we only to the class 
those property values that need to be changed at initialization time). 

----------------------------------------------------------------
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