summarylogtreecommitdiffstats
path: root/hadoop-datanode.service
blob: 7bbf74970ab5529dcc0b74853fb146b4eb8bfa2c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
[Unit]
Description=Hadoop Datanode
Requires=hadoop-namenode.service
After=hadoop-namenode.service

[Service]
EnvironmentFile=/etc/conf.d/hadoop
ExecStart=/usr/bin/hadoop datanode
User=hadoop
Group=hadoop

[Install]
WantedBy=multi-user.target