Github user ppadma commented on a diff in the pull request:
https://github.com/apache/drill/pull/928#discussion_r137541831
--- Diff: exec/java-exec/src/main/resources/drill-module.conf ---
@@ -344,6 +357,20 @@ drill.exec: {
# Full workspace name should be indicated (including schema and
workspace separated by dot).
# Workspace MUST be file-based and writable. Workspace name is
case-sensitive.
default_temporary_workspace: "dfs.tmp"
+
+ // Resource management
+ rm : {
+ // Memory per node normally comes from the direct memory alloated on
the JVM
+ // command line. This parameter, if other than 0, further limits the
amount.
+ // Primarily for testing.
+ memory_per_node: 0,
+ // The number of available CPUs normally comes directly from the
system itself.
+ // This parameter, if other than 0, further limits the number of CPUs
will
+ // will consider when planning. Note that, sadly, this parameter does
not
+ // limit *actual* CPU usage; only the amount of CPU assumed to exist
when
+ // planning and managing queries. Primarily for testing.
+ cpus_per_node: 0,
+ }
--- End diff --
ok. Thanks for the clarification.
---