zentol commented on issue #7649: [FLINK-10944] Increase slot request timout for 
MiniClusterResource
URL: https://github.com/apache/flink/pull/7649#issuecomment-460958638
 
 
   Why would it allocate either 3 or 6? Hold on, why are we requesting 6 slows 
anyway? The cluster only has 4 available in total as we start 2 TM, with 2 
slots each.
   
   ```
        private static final int PARALLELISM = 4;
   
        ...
   
        protected final MiniClusterWithClientResource getMiniClusterResource() {
                return new MiniClusterWithClientResource(
                        new MiniClusterResourceConfiguration.Builder()
                                .setConfiguration(getConfigurationSafe())
                                .setNumberTaskManagers(2)
                                .setNumberSlotsPerTaskManager(PARALLELISM / 2)
                                .build());
   }
   ```

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on 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

Reply via email to