java.io.FileNotFoundException: No such file or directory 's3n://s3-bucket/file.gz'

Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Solutions on the web

via Apache's JIRA Issue Tracker by Paulo Motta, 1 year ago
No such file or directory 's3n://s3-bucket/file.gz'
via Stack Overflow by user2664210
, 2 years ago
No such file or directory 'S3-DEST_PATH/log20141106-132606702+0000.53943299650332301.0000001520141106-132606702+0000.53943299650332301.00000015.avro'
via amazon.com by Unknown author, 2 years ago
No such file or directory '/path/to/archive.zip#directory'
via Stack Overflow by OnlyUno
, 1 year ago
No such file or directory 's3n://xxxx/flink/datum/checkpoints/5bdceb1b79bd568de16fe82b01887b96/chk-14046/ee6d12f7-9b96-4f86-b66a-00ccdd23a8cc'
java.io.FileNotFoundException: No such file or directory 's3n://s3-bucket/file.gz'
at org.apache.hadoop.tools.util.DistCpUtils.preserve(DistCpUtils.java:187)
at org.apache.hadoop.tools.mapred.CopyMapper.map(CopyMapper.java:233)
at org.apache.hadoop.mapreduce.Mapper.run(Mapper.java:145)
at org.apache.hadoop.mapred.MapTask.runNewMapper(MapTask.java:764)
at org.apache.hadoop.mapred.MapTask.run(MapTask.java:340)
at java.security.AccessController.doPrivileged(Native Method)
at javax.security.auth.Subject.doAs(Subject.java:422)
at org.apache.hadoop.security.UserGroupInformation.doAs(UserGroupInformation.java:1548)

Users with the same issue

You are the first who have seen this exception.

Write tip

Know the solutions? Share your knowledge to help other developers to debug faster.