Github user zentol commented on a diff in the pull request:

    https://github.com/apache/flink/pull/3683#discussion_r110110002
  
    --- Diff: 
flink-runtime/src/main/scala/org/apache/flink/runtime/minicluster/LocalFlinkMiniCluster.scala
 ---
    @@ -350,23 +350,18 @@ class LocalFlinkMiniCluster(
     
       def setMemory(config: Configuration): Unit = {
         // set this only if no memory was pre-configured
    -    if (config.getInteger(ConfigConstants.TASK_MANAGER_MEMORY_SIZE_KEY, 
-1) == -1) {
    +    if (config.getLong(TaskManagerOptions.MANAGED_MEMORY_SIZE) == -1L) {
    --- End diff --
    
    i think we'll have to stick to comparisons for this one :(


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastruct...@apache.org or file a JIRA ticket
with INFRA.
---

Reply via email to