summaryrefslogtreecommitdiff
path: root/hadoop/hadoop-namenode.service
diff options
context:
space:
mode:
authorErich Eckner <git@eckner.net>2017-09-20 13:54:23 +0200
committerErich Eckner <git@eckner.net>2017-09-20 13:54:23 +0200
commit2d25332ee18e690d3ee4b865e53d748f460f8ab1 (patch)
treedcd476ae4d54912ce24e6d892fc7b7dbf1d733ba /hadoop/hadoop-namenode.service
parent88c2c6c63748ea1b30a58b938c3924b887b34ae9 (diff)
downloadarchlinuxewe-2d25332ee18e690d3ee4b865e53d748f460f8ab1.tar.xz
hadoop neu
Diffstat (limited to 'hadoop/hadoop-namenode.service')
-rw-r--r--hadoop/hadoop-namenode.service12
1 files changed, 12 insertions, 0 deletions
diff --git a/hadoop/hadoop-namenode.service b/hadoop/hadoop-namenode.service
new file mode 100644
index 000000000..51553653d
--- /dev/null
+++ b/hadoop/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