Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
O
okeanos-LoD
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Service Desk
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Incidents
Environments
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
itminedu
okeanos-LoD
Commits
47bf88e9
Commit
47bf88e9
authored
Jul 17, 2015
by
Georgios Ouzounis
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
LAM-49 Changed apache-hadoop role so that the init scripts are copied, only on the master node.
parent
4036ac66
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
6 deletions
+6
-6
ansible/roles/apache-hadoop/tasks/master.yml
ansible/roles/apache-hadoop/tasks/master.yml
+6
-0
ansible/roles/apache-hadoop/tasks/setup.yml
ansible/roles/apache-hadoop/tasks/setup.yml
+0
-6
No files found.
ansible/roles/apache-hadoop/tasks/master.yml
View file @
47bf88e9
---
-
name
:
Copy Apache HDFS init script.
template
:
src=hdfs-init.j2 dest=/etc/init.d/hdfs-init owner=root group=root mode=0755
-
name
:
Copy Apache Yarn init script.
template
:
src=yarn-init.j2 dest=/etc/init.d/yarn-init owner=root group=root mode=0755
-
name
:
Format Apache HDFS.
shell
:
"
yes
|
{{
installation_path
}}/hadoop/bin/hadoop
namenode
-format"
tags
:
...
...
ansible/roles/apache-hadoop/tasks/setup.yml
View file @
47bf88e9
...
...
@@ -23,9 +23,3 @@
-
name
:
Configure Apache Yarn.
template
:
src=yarn-site.xml.j2 dest="{{ installation_path }}/hadoop/etc/hadoop/yarn-site.xml" owner=root group=root mode=0644
-
name
:
Copy Apache HDFS init script.
template
:
src=hdfs-init.j2 dest=/etc/init.d/hdfs-init owner=root group=root mode=0755
-
name
:
Copy Apache Yarn init script.
template
:
src=yarn-init.j2 dest=/etc/init.d/yarn-init owner=root group=root mode=0755
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment