Database Reference
In-Depth Information
Figure 5-4
.
Five Hadoop processes (underlined) running on a local box
2.
Copy the tweets file on HDFS:
// create /apress/tweetdata on HDFS
$HADOOP_HOME/bin/hadoop fs -mkdir /apress/
tweetdata
$HADOOP_HOME/bin/hadoop fs -put $DIR/tweets
/apress/tweetdata
Here tweets are stored under the HDFS directory:
/apress/
tweetdata
.
3.
Once data is copied, you may verify it using the web admin UI (local-
host:50070) by clicking on Browse the filesystem, as shown in
Figure