summaryrefslogtreecommitdiff
path: root/hadoop/hadoop-secondarynamenode.service
blob: f0e5c022750d3677befd9a1e6f60b5f4d2d1c62a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
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