You are viewing a plain text version of this content. The canonical link for it is here.
Posted to common-issues@hadoop.apache.org by GitBox <gi...@apache.org> on 2022/03/03 15:10:30 UTC

[GitHub] [hadoop] virajjasani commented on pull request #4027: YARN-11081. TestYarnConfigurationFields consistently keeps failing

virajjasani commented on pull request #4027:
URL: https://github.com/apache/hadoop/pull/4027#issuecomment-1058138750


   Thanks @aajisaka. Based on the ApplicationPlacementAllocatorFactory, it looks like the code has sufficient null check to handle missing property value:
   ```
       try {
         if (appPlacementAllocatorName == null) {
           policyClass = ApplicationSchedulingConfig.DEFAULT_APPLICATION_PLACEMENT_TYPE_CLASS;
         } else {
           policyClass = Class.forName(appPlacementAllocatorName);
         }
       } catch (ClassNotFoundException e) {
         policyClass = ApplicationSchedulingConfig.DEFAULT_APPLICATION_PLACEMENT_TYPE_CLASS;
       }
   ```
   
   Moreover, I just checked latest 5-6 configs that are added to `configurationPrefixToSkipCompare` in the UT and none are present in yarn-default.xml.


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

To unsubscribe, e-mail: common-issues-unsubscribe@hadoop.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: common-issues-unsubscribe@hadoop.apache.org
For additional commands, e-mail: common-issues-help@hadoop.apache.org