Skip to content

Commit d703688

Browse files
committed
Fixing XML part of docu
1 parent e84f3dc commit d703688

File tree

1 file changed

+16
-16
lines changed

1 file changed

+16
-16
lines changed

hadoop/README.md

Lines changed: 16 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -185,25 +185,25 @@ For really using Hadoop in a pseudo-distributed fashion on our local computer, w
185185
<li>Enter the directory <code>X/hadoop-2.7.2/etc</code> in order to create the basic <a href="http://hadoop.apache.org/docs/current/hadoop-project-dist/hadoop-common/SingleCluster.html#Configuration">configuration</a>.</li>
186186
<li>Open the file <code>core-site.xml</code> in the text editor. It should exist, if not, there is something wrong. Try your best by creating it. Remove everything in the file and store the following text, then save and close the file. In other words, the complete contents of the file should become:
187187
<pre>
188-
<?xml version="1.0" encoding="UTF-8"?>
189-
<?xml-stylesheet type="text/xsl" href="configuration.xsl"?>
190-
<configuration>
191-
<property>
192-
<name>fs.defaultFS</name>
193-
<value>hdfs://localhost:9000</value>
194-
</property>
195-
</configuration>
188+
&lt;?xml version="1.0" encoding="UTF-8"?&gt;
189+
&lt;?xml-stylesheet type="text/xsl" href="configuration.xsl"?&gt;
190+
&lt;configuration&gt;
191+
&lt;property&gt;
192+
&lt;name&gt;fs.defaultFS&lt;/name&gt;
193+
&lt;value&gt;hdfs://localhost:9000&lt;/value&gt;
194+
&lt;/property&gt;
195+
&lt;/configuration&gt;
196196
</pre></li>
197197
<li>Open the file <code>hdfs-site.xml</code> in the text editor. It should exist, if not, there is something wrong. Try your best by creating it. Remove everything in the file and store the following text, then save and close the file. In other words, the complete contents of the file should become:
198198
<pre>
199-
<?xml version="1.0" encoding="UTF-8"?>
200-
<?xml-stylesheet type="text/xsl" href="configuration.xsl"?>
201-
<configuration>
202-
<property>
203-
<name>dfs.replication</name>
204-
<value>1</value>
205-
</property>
206-
</configuration>
199+
&lt;?xml version="1.0" encoding="UTF-8"?&gt;
200+
&lt;?xml-stylesheet type="text/xsl" href="configuration.xsl"?&gt;
201+
&lt;configuration&gt;
202+
&lt;property&gt;
203+
&lt;name&gt;dfs.replication&lt;/name&gt;
204+
&lt;value&gt;1&lt;/value&gt;
205+
&lt;/property&gt;
206+
&lt;/configuration&gt;
207207
</pre></li></ol>
208208

209209
<h4>2.4.4. Setup for SSH for Passwordless Connection to Local Host</h4>

0 commit comments

Comments
 (0)