Pre Exam Test Practice (SSC | Banking | IAS | GATE | State Level | CLAT | Railways | Insurance | Teaching Exams | NDA | Defence | IES |State Exam )

Organizational Research By

Surprising Reserch Topic

boostr.in questions - 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
14 views



Related Hot Questions



Government Jobs Opening


...