xintongsong commented on issue #11320: [FLINK-16437][runtime] Make SlotManager allocate resource from ResourceManager at the worker granularity. URL: https://github.com/apache/flink/pull/11320#issuecomment-610114796 @tillrohrmann My concern for standalone clusters generating `WorkerResourceSpec` was that, it requires proper memory configurations and may fail if certain options are absent or conflicts exist. For a standalone cluster, user may only have the memory configurations on the TM machines but not on the JM machine. It is not a good experience to fail the JM process due to the calculation of `WorkerResourceSpec` which is not really needed in such scenarios. I think you're right, a random/arbitrary `WorkerResourceSpec` should help reduce the complexity. It should not cause any problem since the `StandaloneResourceManager` will ignore the requested `WorkerResourceSpec` anyway. Thanks again for the review and suggestions. I'll try to address them and update the PR asap.
---------------------------------------------------------------- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: [email protected] With regards, Apache Git Services
