gaoyunhaii commented on a change in pull request #8740: [FLINK-12763][runtime] 
Fail job immediately if tasks’ resource needs can not be satisfied.
URL: https://github.com/apache/flink/pull/8740#discussion_r294571568
 
 

 ##########
 File path: 
flink-yarn/src/main/java/org/apache/flink/yarn/YarnResourceManager.java
 ##########
 @@ -310,9 +311,7 @@ protected void internalDeregisterApplication(
 
        @Override
        public Collection<ResourceProfile> startNewWorker(ResourceProfile 
resourceProfile) {
-               Preconditions.checkArgument(
-                       ResourceProfile.UNKNOWN.equals(resourceProfile),
-                       "The YarnResourceManager does not support custom 
ResourceProfiles yet. It assumes that all containers have the same resources.");
+               // start new TM with default resource profile
 
 Review comment:
   starts

----------------------------------------------------------------
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

Reply via email to