Useful Commands
List files inside a directory
# hadoop fs -ls /user/hadoop/file1
Upload a file
# hadoop fs -put /local-files/file1.txt /hdfs-path
Upload many files
# hadoop fs -put /local-files /hdfs-path
Download many files
# hadoop fs -get /hdfs-path /local-path
For a complete set of commands and options, refer to the Hadoop documentation:
https://hadoop.apache.org/docs/current/hadoop-project-dist/hadoop-common/FileSystemShell.html
https://hadoop.apache.org/docs/current/hadoop-project-dist/hadoop-hdfs/HdfsSnapshots.html
Go back to the main HDFS Plugin page.
Go back to the main Dedicated Backup Solution page.