I want to write a java code to copy the exact directory structure (given a path) in a bucket including all files and sub-folders to some location in HDFS or the local file system.
I did some research but all I could find was how to copy exact objects (files), and not directory structures. HDFS has useful methods like hdfsFileSystem.copyToLocalFile
to achieve the same. Is something like this available for S3 Java SDK?
Aucun commentaire:
Enregistrer un commentaire