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

    https://github.com/apache/flink/pull/4991#discussion_r156715729
  
    --- Diff: 
flink-runtime/src/main/java/org/apache/flink/runtime/clusterframework/types/ResourceProfile.java
 ---
    @@ -52,6 +63,15 @@
        /** How many native memory in mb are needed */
        private final int nativeMemoryInMB;
     
    +   /** A extensible field for user specified resources from {@link 
ResourceSpec}. */
    +   private final Map<String, Double> extendedResources = new TreeMap<>();
    --- End diff --
    
    Why not using a `HashMap`?


---

Reply via email to