[Solved-2 Solutions] Copying file from s3:// to local file system ?
Problem:
How to Copying file from s3:// to local file system ?
Solution 1:
- We should use the s3n protocol (unless you stored the files on s3 using the s3 protocol) - s3 is used for block storage (i.e. similar to hdfs, only on s3) and s3n is for native s3 file system
Here is an example
Solution 2:
- cp in unaware of s3
- We can also use the below one:
Another example: