Repository: incubator-slider Updated Branches: refs/heads/yarn-native-services ed3f2058e -> 0c6f2b959
SLIDER-1258 Update LLAP Yarnfile with some recent changes to its template in hive codebase Project: http://git-wip-us.apache.org/repos/asf/incubator-slider/repo Commit: http://git-wip-us.apache.org/repos/asf/incubator-slider/commit/0c6f2b95 Tree: http://git-wip-us.apache.org/repos/asf/incubator-slider/tree/0c6f2b95 Diff: http://git-wip-us.apache.org/repos/asf/incubator-slider/diff/0c6f2b95 Branch: refs/heads/yarn-native-services Commit: 0c6f2b959770d65dccab2491b842805e2dedbb1a Parents: ed3f205 Author: Gour Saha <gourks...@apache.org> Authored: Mon May 14 12:50:41 2018 -0700 Committer: Gour Saha <gourks...@apache.org> Committed: Mon May 14 12:50:41 2018 -0700 ---------------------------------------------------------------------- app-packages/llap/Yarnfile | 24 ++++++++++++++++++------ 1 file changed, 18 insertions(+), 6 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/incubator-slider/blob/0c6f2b95/app-packages/llap/Yarnfile ---------------------------------------------------------------------- diff --git a/app-packages/llap/Yarnfile b/app-packages/llap/Yarnfile index ff2ff18..db1a592 100644 --- a/app-packages/llap/Yarnfile +++ b/app-packages/llap/Yarnfile @@ -1,12 +1,13 @@ { "name": "llap0", + "version": "1.0.0", "queue": "llap", "configuration": { "properties": { "yarn.service.rolling-log.include-pattern": ".*\\.done", - "yarn.container.health.threshold.percent": "80", - "yarn.container.health.threshold.window.secs": "300", - "yarn.container.health.threshold.init.delay.secs": "400" + "yarn.service.container-health-threshold.percent": "80", + "yarn.service.container-health-threshold.window-secs": "300", + "yarn.service.container-health-threshold.init-delay-secs": "400" } }, "components": [ @@ -22,6 +23,17 @@ "cpus": 1, "memory": "10240" }, + "placement_policy": { + "constraints": [ + { + "type": "ANTI_AFFINITY", + "scope": "NODE", + "target_tags": [ + "llap" + ] + } + ] + }, "configuration": { "env": { "JAVA_HOME": "/base/tools/jdk1.8.0_112", @@ -32,10 +44,10 @@ "LLAP_DAEMON_LOG_DIR": "<LOG_DIR>", "LLAP_DAEMON_LOGGER": "query-routing", "LLAP_DAEMON_LOG_LEVEL": "INFO", - "LLAP_DAEMON_HEAPSIZE": "2457", + "LLAP_DAEMON_HEAPSIZE": "7372", "LLAP_DAEMON_PID_DIR": "$PWD/lib/app/run/", - "LLAP_DAEMON_LD_PATH": "/usr/hdp/3.0.0.0-750/hadoop/lib/native", - "LLAP_DAEMON_OPTS": " -Dhttp.maxConnections=2 -XX:MaxDirectMemorySize=9395240960 -XX:+AlwaysPreTouch -XX:+UseG1GC -XX:TLABSize=8m -XX:+ResizeTLAB -XX:+UseNUMA -XX:+AggressiveOpts -XX:InitiatingHeapOccupancyPercent=70 -XX:+UnlockExperimentalVMOptions -XX:G1MaxNewSizePercent=40 -XX:G1ReservePercent=20 -XX:MaxGCPauseMillis=200 -XX:MetaspaceSize=1024m", + "LLAP_DAEMON_LD_PATH": "/usr/hadoop/lib/native", + "LLAP_DAEMON_OPTS": " -Dhttp.maxConnections=4 -XX:+AlwaysPreTouch -XX:+UseG1GC -XX:TLABSize=8m -XX:+ResizeTLAB -XX:+UseNUMA -XX:+AggressiveOpts -XX:InitiatingHeapOccupancyPercent=70 -XX:+UnlockExperimentalVMOptions -XX:G1MaxNewSizePercent=40 -XX:G1ReservePercent=20 -XX:MaxGCPauseMillis=200 -XX:MetaspaceSize=1024m", "APP_ROOT": "<WORK_DIR>/app/install/", "APP_TMP_DIR": "<WORK_DIR>/tmp/" }