wonook commented on a change in pull request #279: [NEMO-420] OffHeapMemory
configuration only supports a single type of executor
URL: https://github.com/apache/incubator-nemo/pull/279#discussion_r366944159
##########
File path: conf/src/main/java/org/apache/nemo/conf/JobConf.java
##########
@@ -332,6 +316,31 @@
public final class ExecutorId implements Name<String> {
}
+ /**
+ * Maximum off-heap memory ratio to the total memory in the executor.
+ */
+ @NamedParameter(doc = "The maximum ratio of off-heap memory size to the
total memory size.",
+ short_name = "max_offheap_ratio", default_value = "0.2")
+ public final class MaxOffheapRatio implements Name<Double> {
+ }
+
+ /**
+ * Maximum off-heap memory size in the executor.
+ * This is set by the system according to the off-heap ratio.
+ */
+ //@NamedParameter(doc = "The maximum off-heap memory that can be allocated")
+ //public final class MaxOffheapMb implements Name<Integer> {
+ //}
Review comment:
Let's get rid of the unused configuration
----------------------------------------------------------------
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]
With regards,
Apache Git Services