You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@heron.apache.org by ni...@apache.org on 2020/06/25 06:05:34 UTC
[incubator-heron] branch master updated: HeronPy: Add missing
TOPOLOGY_CONTAINER_MAX_RAM_HINT (#3544)
This is an automated email from the ASF dual-hosted git repository.
nicknezis pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/incubator-heron.git
The following commit(s) were added to refs/heads/master by this push:
new e461308 HeronPy: Add missing TOPOLOGY_CONTAINER_MAX_RAM_HINT (#3544)
e461308 is described below
commit e4613083561a458fc137d5cfaa81529b78fd98e6
Author: Windham Wong <wi...@nva-hk.com>
AuthorDate: Thu Jun 25 14:05:24 2020 +0800
HeronPy: Add missing TOPOLOGY_CONTAINER_MAX_RAM_HINT (#3544)
TOPOLOGY_CONTAINER_MAX_RAM_HINT should be there for FirstFitDecreasingPacking
---
heronpy/api/api_constants.py | 2 ++
1 file changed, 2 insertions(+)
diff --git a/heronpy/api/api_constants.py b/heronpy/api/api_constants.py
index b9e16e1..77867f1 100644
--- a/heronpy/api/api_constants.py
+++ b/heronpy/api/api_constants.py
@@ -67,6 +67,8 @@ TOPOLOGY_CONTAINER_RAM_REQUESTED = "topology.container.ram"
# Amount of disk per container to be reserved for this topology, in bytes.
TOPOLOGY_CONTAINER_DISK_REQUESTED = "topology.container.disk"
# Hint for max amount of RAM per container to be reserved for this topology, in bytes.
+TOPOLOGY_CONTAINER_MAX_RAM_HINT = "topology.container.max.ram.hint"
+# Hint for max amount of CPU per container to be reserved for this topology, in bytes.
TOPOLOGY_CONTAINER_MAX_CPU_HINT = "topology.container.max.cpu.hint"
# Hint for max amount of disk per container to be reserved for this topology, in bytes.
TOPOLOGY_CONTAINER_MAX_DISK_HINT = "topology.container.max.disk.hint"