hadoop core-site.xml syntax error



For installing hadoop, I'm using this: http://ift.tt/1xmT1mv


Got stuck at core-site.xml step. After suggested update, my core-site.xml file is:



<?xml version="1.0" encoding="UTF-8"?>
<?xml-stylesheet type="text/xsl" href="configuration.xsl"?>
<configuration>
<property>
<name>fs.default.name</name>
<value>http://hdfslocalhost:9000</value>
</property>
<property>
<name>hadoop.tmp.dir</name>
<value>/tmp/hadoop-${user.name}</value>
<description>A base for other temporary directories.</description>
</property>
</configuration>


whose terminal run returns error:


line 1: syntax error near unexpected token newline' line 1:'


This error pops up in any *.xml file.


No comments:

Post a Comment