You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
This repo is archived. You can view files and clone it, but cannot push or open issues/pull-requests.
ansible-role-nginx/hadoop/roles/common/templates/hadoop_conf/hdfs-site.xml.j2

57 lines
2.0 KiB

<?xml version="1.0"?>
<!--
Licensed to the Apache Software Foundation (ASF) under one or more
contributor license agreements. See the NOTICE file distributed with
this work for additional information regarding copyright ownership.
The ASF licenses this file to You under the Apache License, Version 2.0
(the "License"); you may not use this file except in compliance with
the License. You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
-->
<?xml-stylesheet type="text/xsl" href="configuration.xsl"?>
<configuration>
<property>
<name>dfs.blocksize</name>
<value>{{ hadoop['dfs_blocksize'] }}</value>
</property>
<property>
<name>dfs.permissions.superusergroup</name>
<value>{{ hadoop['dfs_permissions_superusergroup'] }}</value>
</property>
<property>
<name>dfs.namenode.http.address</name>
<value>0.0.0.0:{{ hadoop['dfs_namenode_http_address_port'] }}</value>
</property>
<property>
<name>dfs.datanode.address</name>
<value>0.0.0.0:{{ hadoop['dfs_datanode_address_port'] }}</value>
</property>
<property>
<name>dfs.datanode.http.address</name>
<value>0.0.0.0:{{ hadoop['dfs_datanode_http_address_port'] }}</value>
</property>
<property>
<name>dfs.datanode.ipc.address</name>
<value>0.0.0.0:{{ hadoop['dfs_datanode_ipc_address_port'] }}</value>
</property>
<property>
<name>dfs.replication</name>
<value>{{ hadoop['dfs_replication'] }}</value>
</property>
<property>
<name>dfs.namenode.name.dir</name>
<value>{{ hadoop['dfs_namenode_name_dir'] | join(',') }}</value>
</property>
<property>
<name>dfs.datanode.data.dir</name>
<value>{{ hadoop['dfs_datanode_data_dir'] | join(',') }}</value>
</property>
</configuration>