sohami commented on a change in pull request #1652: DRILL-7046: Support for
loading and parsing new RM config file
URL: https://github.com/apache/drill/pull/1652#discussion_r260513010
##########
File path:
exec/java-exec/src/main/java/org/apache/drill/exec/ExecConstants.java
##########
@@ -677,6 +678,16 @@ private ExecConstants() {
public static final LongValidator QUEUE_TIMEOUT = new
PositiveLongValidator("exec.queue.timeout_millis", Long.MAX_VALUE,
new OptionDescription("Indicates how long a query can wait in queue
before the query fails. Range: 0-9223372036854775807"));
+ // New Smart RM boot time configs
+ public static final String RM_QUERY_TAGS_KEY = "exec.rm.queryTags";
+ public static final StringValidator RM_QUERY_TAGS_VALIDATOR = new
StringValidator(RM_QUERY_TAGS_KEY,
+ new OptionDescription("Allows user to set coma separated list of tags for
all the queries submitted over a session"));
+
+ public static final String RM_QUEUES_WAIT_FOR_PREFERRED_NODES_KEY =
"exec.rm.queues.wait_for_preferred_nodes";
+ public static final StringValidator
RM_QUEUES_WAIT_FOR_PREFERRED_NODES_VALIDATOR = new StringValidator
Review comment:
thanks for catching this. Moved to BooleanValidator
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
[email protected]
With regards,
Apache Git Services