diff options
Diffstat (limited to 'hadoop/hadoop-namenode.service')
-rw-r--r-- | hadoop/hadoop-namenode.service | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/hadoop/hadoop-namenode.service b/hadoop/hadoop-namenode.service new file mode 100644 index 00000000..51553653 --- /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 |