summarylogtreecommitdiffstats
path: root/hadoop-historyserver.service
diff options
context:
space:
mode:
authorWilliam Tang2022-08-19 00:01:42 +0800
committerWilliam Tang2022-08-19 00:07:30 +0800
commite227fa6c494449dcd96599020ae359c2e2ca76ab (patch)
treed974af9fa6e4aa87978cef42e2e20c8935ccd1f8 /hadoop-historyserver.service
parentdb5fe900379b5d28168d6ec5eabd0011c56c66d0 (diff)
downloadaur-e227fa6c494449dcd96599020ae359c2e2ca76ab.tar.gz
hadoop 3.3.4
Diffstat (limited to 'hadoop-historyserver.service')
-rw-r--r--hadoop-historyserver.service13
1 files changed, 13 insertions, 0 deletions
diff --git a/hadoop-historyserver.service b/hadoop-historyserver.service
new file mode 100644
index 000000000000..68908fa8c884
--- /dev/null
+++ b/hadoop-historyserver.service
@@ -0,0 +1,13 @@
+[Unit]
+Description=Haoop job history server
+
+[Service]
+User=hadoop
+Group=hadoop
+EnvironmentFile=/etc/conf.d/hadoop
+ExecStart=/usr/bin/mapred historyserver
+Restart=on-abnormal
+SuccessExitStatus=143
+
+[Install]
+WantedBy=multi-user.target