SLIDER-1258 Update LLAP Yarnfile with some recent changes to its template in hive codebase
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/"
         }