Github user shuai-xu commented on a diff in the pull request:
https://github.com/apache/flink/pull/4911#discussion_r149610252
--- Diff:
flink-core/src/main/java/org/apache/flink/api/common/operators/ResourceSpec.java
---
@@ -61,18 +79,17 @@
/** How many state size in mb are used */
private final int stateSizeInMB;
+ private final Map<String, Resource> extendedResources = new
HashMap<>(1);
--- End diff --
done, and add a test for it.---
