summaryrefslogtreecommitdiff
path: root/hadoop/hadoop-secondarynamenode.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-secondarynamenode.service
parent88c2c6c63748ea1b30a58b938c3924b887b34ae9 (diff)
downloadarchlinuxewe-2d25332ee18e690d3ee4b865e53d748f460f8ab1.tar.xz
hadoop neu
Diffstat (limited to 'hadoop/hadoop-secondarynamenode.service')
-rw-r--r--hadoop/hadoop-secondarynamenode.service13
1 files changed, 13 insertions, 0 deletions
diff --git a/hadoop/hadoop-secondarynamenode.service b/hadoop/hadoop-secondarynamenode.service
new file mode 100644
index 000000000..f0e5c0227
--- /dev/null
+++ b/hadoop/hadoop-secondarynamenode.service
@@ -0,0 +1,13 @@
+[Unit]
+Description=Hadoop Secondary Namenode
+Requires=hadoop-datanode.service
+After=hadoop-datanode.service
+
+[Service]
+EnvironmentFile=/etc/conf.d/hadoop
+ExecStart=/usr/bin/hadoop secondarynamenode
+User=hadoop
+Group=hadoop
+
+[Install]
+WantedBy=multi-user.target