Database Reference
In-Depth Information
Here,
$HADOOP_HOME
is the directory containing extracted Ha-
doop binaries.
3.
Modify
$HADOOP_HOME/conf/core-site.xml
for the Default
FS setting:
<configuration>
<property>
<name>fs.defaultFS</name>
<value>hdfs://localhost:9000</value>
</property>
</configuration>
4.
Modify
$HADOOP_HOME/conf/hdfs-site.xml
for the replica-
tion setting:
<configuration>
<property>
<name>dfs.replication</name>
<value>1</value>
</property>
</configuration>
5.
Start the Hadoop process by running the following:
$HADOOP_HOME/bin/start-all.sh
Now complete the following steps to copy the tweets file:
1.
Before we copy the local file on HDFS, let's verify whether all five
processes are running.
Figure 5-4
shows all those as underlined.