Skip to content

Instantly share code, notes, and snippets.

@ishansharma
Created February 16, 2019 21:12
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save ishansharma/43d3bcbcab5bc0a5c7d72de6b2dfe49b to your computer and use it in GitHub Desktop.
Save ishansharma/43d3bcbcab5bc0a5c7d72de6b2dfe49b to your computer and use it in GitHub Desktop.
hdfs-site.xml for vagrant
<?xml version="1.0" encoding="UTF-8"?>
<?xml-stylesheet type="text/xsl" href="configuration.xsl"?>
<!--
Licensed 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. See accompanying LICENSE file.
-->
<!-- Put site-specific property overrides in this file. -->
<configuration>
<property>
<name>dfs.name.dir</name>
<value>file:///vagrant_data/hadoop/name</value>
</property>
<property>
<name>dfs.data.dir</name>
<value>file:///vagrant_data/hadoop/data</value>
</property>
<property>
<name>dfs.replication</name>
<value>1</value>
</property>
</configuration>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment