summarylogtreecommitdiffstats
path: root/hadoop-namenode.service
diff options
context:
space:
mode:
authorDavid Roheim2015-06-12 19:09:56 +0300
committerDavid Roheim2015-06-12 19:09:56 +0300
commit23e83e60db7713207c98bc8b352cd665ba9c8546 (patch)
tree039da8018d8400dfd6f68b86ec8c3a0ff36db38f /hadoop-namenode.service
downloadaur-23e83e60db7713207c98bc8b352cd665ba9c8546.tar.gz
Inistial commit
Diffstat (limited to 'hadoop-namenode.service')
-rw-r--r--hadoop-namenode.service12
1 files changed, 12 insertions, 0 deletions
diff --git a/hadoop-namenode.service b/hadoop-namenode.service
new file mode 100644
index 000000000000..51553653d6a6
--- /dev/null
+++ b/hadoop-namenode.service
@@ -0,0 +1,12 @@
+[Unit]
+Description=Hadoop Namenode
+After=network.target
+
+[Service]
+EnvironmentFile=/etc/conf.d/hadoop
+ExecStart=/usr/bin/hadoop namenode
+User=hadoop
+Group=hadoop
+
+[Install]
+WantedBy=multi-user.target