When I'm trying to copy the AWS S3 buckets to HDFS I'm getting the Error:
Permission denied: '/user'
Below is my script
aws s3 sync s3://folder1.folder2/file.json /user/hive/warehouse/my.db/json_table
Please help !
S3 sync does not recognize HDFS path.
Either use,
hadoop distcp after configuring all the S3 related properties.S3DistCp, this requires s3distcp.jar.sync the files to localpath and copyFromLocal to HDFS.