Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
C
configuration
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
edx
configuration
Commits
e3d94de7
Commit
e3d94de7
authored
Dec 14, 2016
by
Jesse Shapiro
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Remove blank lines; add information to defaults
parent
b8ed9ff5
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
11 additions
and
20 deletions
+11
-20
playbooks/roles/hadoop_common/defaults/main.yml
+9
-0
playbooks/roles/hadoop_common/templates/core-site.xml.j2
+1
-6
playbooks/roles/hadoop_common/templates/hdfs-site.xml.j2
+1
-5
playbooks/roles/hadoop_common/templates/mapred-site.xml.j2
+0
-3
playbooks/roles/hadoop_common/templates/yarn-site.xml.j2
+0
-3
playbooks/roles/hive/templates/hive-site.xml.j2
+0
-3
No files found.
playbooks/roles/hadoop_common/defaults/main.yml
View file @
e3d94de7
...
...
@@ -96,6 +96,15 @@ HDFS_SITE_DEFAULT_CONFIG:
# yarn.nodemanager.resource.memory-mb: 2048
# yarn.nodemanager.vmem-pmem-ratio: 2.1
#
# Variables override the stock configuration for entry into
# the following files. Ensure that you use unambiguous
# string literals to avoid any confusion:
# core-site.xml
# hdfs-site.xml
# mapred-site.xml
# yarn-site.xml
#
mapred_site_config
:
{}
yarn_site_config
:
{}
HADOOP_CORE_SITE_EXTRA_CONFIG
:
{}
...
...
playbooks/roles/hadoop_common/templates/core-site.xml.j2
View file @
e3d94de7
{% do HADOOP_CORE_SITE_DEFAULT_CONFIG.update(HADOOP_CORE_SITE_EXTRA_CONFIG) %}
<?xml version="1.0"?>
<?xml-stylesheet type="text/xsl" href="configuration.xsl"?>
<!-- Put site-specific property overrides in this file. -->
<configuration>
{% for key, value in HADOOP_CORE_SITE_DEFAULT_CONFIG.iteritems() %}
<property>
<name>{{ key }}</name>
<value>{{ value }}</value>
</property>
{% endfor %}
</configuration>
\ No newline at end of file
</configuration>
playbooks/roles/hadoop_common/templates/hdfs-site.xml.j2
View file @
e3d94de7
{% do HDFS_SITE_DEFAULT_CONFIG.update(HDFS_SITE_EXTRA_CONFIG) %}
<?xml version="1.0"?>
<?xml-stylesheet type="text/xsl" href="configuration.xsl"?>
<configuration>
{% for key, value in HDFS_SITE_DEFAULT_CONFIG.iteritems() %}
<property>
<name>{{ key }}</name>
<value>{{ value }}</value>
</property>
{% endfor %}
</configuration>
\ No newline at end of file
</configuration>
playbooks/roles/hadoop_common/templates/mapred-site.xml.j2
View file @
e3d94de7
{% do MAPRED_SITE_DEFAULT_CONFIG.update(mapred_site_config) %}
<?xml version="1.0"?>
<?xml-stylesheet type="text/xsl" href="configuration.xsl"?>
<configuration>
{% for key, value in MAPRED_SITE_DEFAULT_CONFIG.iteritems() %}
<property>
<name>{{ key }}</name>
<value>{{ value }}</value>
</property>
{% endfor %}
</configuration>
playbooks/roles/hadoop_common/templates/yarn-site.xml.j2
View file @
e3d94de7
{% do YARN_SITE_DEFAULT_CONFIG.update(yarn_site_config) %}
<?xml version="1.0"?>
<configuration>
{% for key, value in YARN_SITE_DEFAULT_CONFIG.iteritems() %}
<property>
<name>{{ key }}</name>
<value>{{ value }}</value>
</property>
{% endfor %}
</configuration>
playbooks/roles/hive/templates/hive-site.xml.j2
View file @
e3d94de7
{% do HIVE_SITE_DEFAULT_CONFIG.update(HIVE_SITE_EXTRA_CONFIG) %}
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<?xml-stylesheet type="text/xsl" href="configuration.xsl"?>
<configuration>
{% for key, value in HIVE_SITE_DEFAULT_CONFIG.iteritems() %}
<property>
<name>{{ key }}</name>
<value>{{ value }}</value>
</property>
{% endfor %}
</configuration>
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