summaryrefslogtreecommitdiff
path: root/hadoop/hadoop-jobtracker.service
diff options
context:
space:
mode:
Diffstat (limited to 'hadoop/hadoop-jobtracker.service')
-rw-r--r--hadoop/hadoop-jobtracker.service13
1 files changed, 13 insertions, 0 deletions
diff --git a/hadoop/hadoop-jobtracker.service b/hadoop/hadoop-jobtracker.service
new file mode 100644
index 00000000..61973168
--- /dev/null
+++ b/hadoop/hadoop-jobtracker.service
@@ -0,0 +1,13 @@
+[Unit]
+Description=Hadoop Jobtracker
+Requires=hadoop-datanode.service
+After=hadoop-datanode.service
+
+[Service]
+EnvironmentFile=/etc/conf.d/hadoop
+ExecStart=/usr/bin/hadoop jobtracker
+User=hadoop
+Group=hadoop
+
+[Install]
+WantedBy=multi-user.target