BDC Output 2
BDC Output 2
BDC Output 2
Computing No. 2
File Management Task in Hadoop:
1. Create a directory in HDFS at given path(s).
Usage :
Hadoop fs -mkdir
<paths> Example :
Hadoop fs -mkdir/user/saurzcode
Download:
hadoop fs -get:
Copies/Downloads files to the local file
system Usage:
hadoop fs -get <hdfs_src>
<localdst> Example:
hadoop fs -get /user/saurzcode/dir3/Samplefile.txt /home/