You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@celeborn.apache.org by "pan3793 (via GitHub)" <gi...@apache.org> on 2023/05/31 02:36:31 UTC
[GitHub] [incubator-celeborn] pan3793 commented on a diff in pull request #1524: [CELEBORN-610][FLINK] Eliminate pluginconf and merge its content to CelebornConf.
pan3793 commented on code in PR #1524:
URL: https://github.com/apache/incubator-celeborn/pull/1524#discussion_r1211024772
##########
common/src/main/scala/org/apache/celeborn/common/CelebornConf.scala:
##########
@@ -3457,4 +3466,78 @@ object CelebornConf extends Logging {
.doc("enable the partition split in worker side")
.booleanConf
.createWithDefault(true)
+
+ // Flink specific client configurations.
+ val MEMORY_PER_PARTITION_MIN: ConfigEntry[Long] =
+ buildConf("celeborn.client.partition.minMemory")
+ .withAlternative("remote-shuffle.job.min.memory-per-partition")
+ .categories("client")
+ .version("0.3.0")
+ .doc("Min memory reserved for a partition. For Flink plugin only.")
+ .bytesConf(ByteUnit.BYTE)
+ .createWithDefault(8 * 1024 * 1024)
+
+ val MEMORY_PER_INPUT_GATE_MIN: ConfigEntry[Long] =
+ buildConf("celeborn.client.inputGate.minMemory")
+ .withAlternative("remote-shuffle.job.min.memory-per-gate")
+ .categories("client")
+ .doc("Min memory reserved for a InputGate. For Flink plugin only.")
+ .version("0.3.0")
+ .bytesConf(ByteUnit.BYTE)
+ .createWithDefault(8 * 1024 * 1024)
+
+ val NUM_CONCURRENT_READINGS: ConfigEntry[Int] =
+ buildConf("celeborn.client.flink.inputGate.concurrentReadings")
+ .withAlternative("remote-shuffle.job.concurrent-readings-per-gate")
+ .categories("client")
+ .version("0.3.0")
+ .doc("Max concurrent reading channels for a input gate. For Flink plugin only.")
+ .intConf
+ .createWithDefault(Int.MaxValue)
+
+ val MEMORY_PER_PARTITION: ConfigEntry[Long] =
+ buildConf("celeborn.client.flink.partition.memory")
+ .withAlternative("remote-shuffle.job.memory-per-partition")
+ .categories("client")
+ .version("0.3.0")
+ .doc("Memory reserved for a partition. For Flink plugin only.")
+ .bytesConf(ByteUnit.BYTE)
+ .createWithDefault(64 * 1024 * 1024)
+
+ val MEMORY_PER_INPUT_GATE: ConfigEntry[Long] =
+ buildConf("celeborn.client.flink.inputGate.memory")
+ .withAlternative("remote-shuffle.job.memory-per-gate")
+ .categories("client")
+ .version("0.3.0")
+ .doc("Memory reserved for a input gate. For Flink plugin only.")
+ .bytesConf(ByteUnit.BYTE)
+ .createWithDefault(32 * 1024 * 1024)
+
+ val INPUT_GATE_SUPPORT_FLOATING_BUFFER: ConfigEntry[Boolean] =
+ buildConf("celeborn.client.inputGate.supportFloatingBuffer")
+ .withAlternative("remote-shuffle.job.support-floating-buffer-per-input-gate")
+ .categories("client")
+ .version("0.3.0")
+ .doc("Whether to support floating buffer in Flink input gates.")
+ .booleanConf
+ .createWithDefault(true)
+
+ val DATA_COMPRESSION_ENABLED: ConfigEntry[Boolean] =
+ buildConf("celeborn.client.compression.enabled")
Review Comment:
why not reuse `celeborn.client.shuffle.compression.codec`?
--
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.
To unsubscribe, e-mail: issues-unsubscribe@celeborn.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org