Time for action – configuring the pseudo-distributed mode
Take a look in the conf
directory within the Hadoop distribution. There are many configuration files, but the ones we need to modify are core-site.xml
, hdfs-site.xml
and mapred-site.xml
.
- Modify
core-site.xml
to look like the following code:<?xml version="1.0"?> <?xml-stylesheet type="text/xsl" href="configuration.xsl"?> <!-- Put site-specific property overrides in this file. --> <configuration> <property> <name>fs.default.name</name> <value>hdfs://localhost:9000</value> </property> </configuration>
- Modify
hdfs-site.xml
to look like the following code:<?xml version="1.0"?> <?xml-stylesheet type="text/xsl" href="configuration.xsl"?> <!-- Put site-specific property overrides in this file. --> ...
Get Hadoop: Data Processing and Modelling now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.