From 96ee930fa35a399bc97dc4e937307d408f54c7a0 Mon Sep 17 00:00:00 2001 From: David Grier Date: Thu, 15 Dec 2016 17:25:05 +0000 Subject: [PATCH] enable compress mr --- .../ambari-server/templates/blueprint-multi-node-3-masters.j2 | 2 ++ 1 file changed, 2 insertions(+) diff --git a/playbooks/roles/ambari-server/templates/blueprint-multi-node-3-masters.j2 b/playbooks/roles/ambari-server/templates/blueprint-multi-node-3-masters.j2 index 332b3f7..c863a10 100644 --- a/playbooks/roles/ambari-server/templates/blueprint-multi-node-3-masters.j2 +++ b/playbooks/roles/ambari-server/templates/blueprint-multi-node-3-masters.j2 @@ -196,6 +196,8 @@ "mapreduce.reduce.java.opts" : "-Xmx6553m", "mapreduce.reduce.memory.mb" : "8192", "mapreduce.task.io.sort.mb" : "2047", + "mapreduce.output.fileoutputformat.compress" : "true", + "mapreduce.map.output.compress" : "true", "yarn.app.mapreduce.am.command-opts" : "-Xmx3276m -Dhdp.version=${hdp.version}", "yarn.app.mapreduce.am.resource.mb" : "4096" }