zhuzhurk commented on a change in pull request #9910: [FLINK-14405][runtime] 
Align ResourceProfile/ResourceSpec fields with the new TaskExecutor memory 
setups.
URL: https://github.com/apache/flink/pull/9910#discussion_r340451673
 
 

 ##########
 File path: 
flink-core/src/main/java/org/apache/flink/api/common/operators/ResourceSpec.java
 ##########
 @@ -198,26 +218,34 @@ public double getGPUResource() {
        }
 
        public Map<String, Resource> getExtendedResources() {
+               throwUnsupportedOperationExecptionIfUnknown();
                return extendedResources;
        }
 
+       private void throwUnsupportedOperationExecptionIfUnknown() {
 
 Review comment:
   ```suggestion
        private void throwUnsupportedOperationExceptionIfUnknown() {
   ```

----------------------------------------------------------------
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:
us...@infra.apache.org


With regards,
Apache Git Services

Reply via email to