Organizational Research By

Surprising Reserch Topic

Question:How to Creating/Downloading Data Locally?


 

 
 
In order to process a text file with hadoop, you first need to download the file to a personal directory in the hadoop account, then copy it to the Hadoop File System (HDFS) so that the hadoop namenode and datanodes can share it.
 
Creating a local copy for User Hadoop
 
Download a copy of James Joyce's Ulysses:
 
hadoop@hadoop102:~/352/dft$ wget http://www.gutenberg.org/files/4300/4300.zip
hadoop@hadoop102:~/352/dft$ unzip 4300.zip
hadoop@hadoop102:~/352/dft$ rm 4300.zip
hadoop@hadoop102:~/352/dft$ head -50 4300.txt
 
asked Sep 13, 2013 in Hadoop by anonymous
edited Sep 12, 2013
0 votes
26 views



Related Hot Questions



Government Jobs Opening


...