Database Reference
In-Depth Information
10. After executing the preceding steps, you will find the file
core-site.xml
un-
der
/etc/hadoop/conf/
. Initially, this file is empty. Edit the file and update
it as follows:
<?xml-stylesheet type="text/xsl"
href="configuration.xsl"?>
<configuration>
<property>
<name>fs.defaultFS</name>
<value>hdfs://node1.hcluster:8020</value>
<description>
Defines the name of the filesystem.
</description>
</property>
</configuration>
For a complete listing of configurable properties for the
core-site.xml
file,
11. Similarly, the file
hdfs-site.xml
under
/etc/hadoop/conf/
will be
empty. Update it as follows:
<?xml-stylesheet type="text/xsl"
href="configuration.xsl"?>
<configuration>
<property>
<name>dfs.namenode.servicerpc-address</name>
<value>node1.hcluster:8022</value>
<description>
This is the RPC address for the namenode. This
address is used by services like the datanodes to
connect to the namenode.
</description>
</property>
<property>
<name>dfs.namenode.http-address</name>
<value>node1.hcluster:50070</value>
<description>
This is the HTTP address for the namenode web