Documente Academic
Documente Profesional
Documente Cultură
Copy a file named “dataset.csv.tar.gz” to HDFS at week3 directory at home folder (provide 2
commands) with names dataset1.csv.tar.gz and dataset2.csv.tar.gz.
hdfs dfs -copyFromLocal /home/cloudera/sri/dataset.tar.gz
/user/brahm/week3/dataset1.tar.gz hdfs dfs -copyFromLocal
/home/cloudera/sri/dataset.tar.gz /user/brahm/week3/dataset2.tar.gz
How to delete directory named “sample-datesets” (Ex: if the size of file is 3 TB, HDFS capacity
should be increased by 3 TB after file delete).
How to take file from hdfs to local machine. (specify all possible commands)
hdfs dfs –copyToLocal
hdfs dfs -get
How to add executable permission to a specific directory and it’s internal files/dirs in HDFS?
hdfs dfs –chmod +x /user/brahm/week3/dataset1/tar/gz