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
hadoop@hadoop102:~/352/dft$ unzip
hadoop@hadoop102:~/352/dft$ rm
hadoop@hadoop102:~/352/dft$ head -50 4300.txt

asked Sep 13, 2013 in Hadoop by anonymous
edited Sep 12, 2013
0 votes

Related Hot Questions

Your answer

Your name to display (optional):
Privacy: Your email address will only be used for sending these notifications.
Anti-spam verification:
To avoid this verification in future, please log in or register.