Yarn-site.xml vs yarn-default.xml in YARN

What is the difference between yarn-site.xml and yarn-default.xml in YARN? Looks like yarn-default.xml is deprecated in Hadoop 2.2?

+6
source share
1 answer

In all Hadoop files, the * -default.xml files mainly serve as documentation for the default values. The default values ​​are all hardcoded in the source. The * -site.xml files are any site-specific changes and override the default values ​​specified in the * -default.xml files.

To a specific point, yarn-default.xml and yarn-site.xml are both read by the Hadoop YARN daemons, with yarn-default.xml representing default values ​​and yarn-site.xml representing user configuration values ​​that override values ​​in yarn-default .xml.

+7
source

Source: https://habr.com/ru/post/957309/


All Articles