Github user revans2 commented on a diff in the pull request: https://github.com/apache/storm/pull/2385#discussion_r147234354 --- Diff: storm-client/src/jvm/org/apache/storm/Config.java --- @@ -1272,6 +1278,12 @@ public static final String SUPERVISOR_CPU_CAPACITY = "supervisor.cpu.capacity"; /** + * A map of resources the Supervisor has e.g {"cpu" : 200.0. "memory.capacity.mb": 256.0, "gpu" : 0.5 } + */ + @isMapEntryType(keyType = String.class, valueType = Double.class) --- End diff -- Same comment here. Trying to force the type to be a double is going to be difficult with how we use the configs.
---