Organizational Research By

Surprising Reserch Topic

Experts Most Trusted Topic


Question:Copy Data File to HDFS


 

 
 
Create a dft (or whatever your identifier is) directory in the Hadoop File System (HDFS) and copy the data file 4300.txt to it:
 
 
hadoop@hadoop102:~/352/dft$  cd ..
hadoop@hadoop102:~/352/dft$  hadoop dfs -mkdir dft            (makes a dft directory in the cloud)
hadoop@hadoop102:~/352/dft$  hadoop dfs -copyFromLocal 4300.txt dft 
hadoop@hadoop102:~/352/dft$  hadoop dfs -ls
hadoop@hadoop102:~/352/dft$  hadoop dfs -ls dft
 

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



Related Hot Questions



Government Jobs Opening


...