Repository: incubator-slider
Updated Branches:
  refs/heads/yarn-native-services 940c087a9 -> ed3f2058e


SLIDER-1258 Create new Yarnfile for LLAP app on YARN Service


Project: http://git-wip-us.apache.org/repos/asf/incubator-slider/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-slider/commit/ed3f2058
Tree: http://git-wip-us.apache.org/repos/asf/incubator-slider/tree/ed3f2058
Diff: http://git-wip-us.apache.org/repos/asf/incubator-slider/diff/ed3f2058

Branch: refs/heads/yarn-native-services
Commit: ed3f2058ef0895c18e1e674841caf87cbaf86648
Parents: 940c087
Author: Gour Saha <gourks...@apache.org>
Authored: Thu Jan 25 11:17:48 2018 -0800
Committer: Gour Saha <gourks...@apache.org>
Committed: Thu Jan 25 11:17:48 2018 -0800

----------------------------------------------------------------------
 app-packages/llap/Yarnfile | 52 +++++++++++++++++++++++++++++++++++++++++
 1 file changed, 52 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-slider/blob/ed3f2058/app-packages/llap/Yarnfile
----------------------------------------------------------------------
diff --git a/app-packages/llap/Yarnfile b/app-packages/llap/Yarnfile
new file mode 100644
index 0000000..ff2ff18
--- /dev/null
+++ b/app-packages/llap/Yarnfile
@@ -0,0 +1,52 @@
+{
+  "name": "llap0",
+  "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"
+    }
+  },
+  "components": [
+    {
+      "name": "llap",
+      "number_of_containers": 1,
+      "launch_command": "$LLAP_DAEMON_BIN_HOME/llapDaemon.sh start &> 
$LLAP_DAEMON_TMP_DIR/shell.out",
+      "artifact": {
+        "id": ".yarn/package/LLAP/llap-25Jan2018.tar.gz",
+        "type": "TARBALL"
+      },
+      "resource": {
+        "cpus": 1,
+        "memory": "10240"
+      },
+      "configuration": {
+        "env": {
+          "JAVA_HOME": "/base/tools/jdk1.8.0_112",
+          "LLAP_DAEMON_HOME": "$PWD/lib/",
+          "LLAP_DAEMON_TMP_DIR": "$PWD/tmp/",
+          "LLAP_DAEMON_BIN_HOME": "$PWD/lib/bin/",
+          "LLAP_DAEMON_CONF_DIR": "$PWD/lib/conf/",
+          "LLAP_DAEMON_LOG_DIR": "<LOG_DIR>",
+          "LLAP_DAEMON_LOGGER": "query-routing",
+          "LLAP_DAEMON_LOG_LEVEL": "INFO",
+          "LLAP_DAEMON_HEAPSIZE": "2457",
+          "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",
+          "APP_ROOT": "<WORK_DIR>/app/install/",
+          "APP_TMP_DIR": "<WORK_DIR>/tmp/"
+        }
+      }
+    }
+  ],
+  "kerberos_principal" : {
+    "principal_name" : "",
+    "keytab" : ""
+  },
+  "quicklinks": {
+    "LLAP Daemon JMX Endpoint": 
"http://llap-0.${SERVICE_NAME}.${USER}.${DOMAIN}:15002/jmx";
+  }
+}

Reply via email to