Support Questions

Find answers, ask questions, and share your expertise

cant find these variables

Master Collaborator

yarn-utils is recommending to change bunch of variables , but i couldnt find these three .. where are these? they are not in yarn or hive or mapreduce configs.

 yarn.app.mapreduce.am.resource.mb=2560
 yarn.app.mapreduce.am.command-opts=-Xmx2048m
 mapreduce.task.io.sort.mb=1024
2 REPLIES 2

Super Mentor

@Sami Ahmad

The "yarn.app.mapreduce.am.resource.mb" and "yarn.app.mapreduce.am.command-opts" can be added isnide the "Custom Yarn-site" as following

Ambari UI --> Yarn --> Configs --> Advanced --> "Custom yarn-site" --> Add Property



Similarly the "mapreduce.task.io.sort.mb" property can be added in the following path in the UI

Ambari UI --> MapReduce2 --> Configs --> Summary --> "Sort Allocation Memory"

.

Mentor

@ Sami Ahmad

These variable are available all under MapReduce2, You need to use the filter option... I can understand the names are quite misleading, I have attached you the screenshots to help you visually

HTH 🙂


yarnappmapreduceamcommand-opts.jpgmapreducetaskiosortmb.jpgyarnappmapreduceamresourcemb.jpg