java.lang.RuntimeException

Failed to apply upload policy


Solutions on the web40100

Solution icon of github
Failed to apply upload policy

Solution icon of github
Failed to apply upload policy

Solution icon of github
via GitHub by doriwal
, 10 months ago
Failed to apply upload policy

Solution icon of googlegroups
via Google Groups by Unknown author, 1 year ago
Failed to apply upload policy

Solution icon of github
Failed to apply upload policy

Solution icon of github
via GitHub by freakynit
, 7 months ago
Failed to apply upload policy

Solution icon of github
Failed to apply upload policy

Solution icon of github
Failed to apply upload policy

Solution icon of googlegroups
via Google Groups by Unknown author, 1 year ago
Failed to apply upload policy

Solution icon of github
via GitHub by cscheffler
, 1 year ago
Failed to apply upload policy

Stack trace

  • java.lang.RuntimeException: Failed to apply upload policy at com.pinterest.secor.consumer.Consumer.checkUploadPolicy(Consumer.java:115) at com.pinterest.secor.consumer.Consumer.run(Consumer.java:105) Caused by: java.util.concurrent.ExecutionException: java.lang.RuntimeException: java.io.FileNotFoundException: File /tmp/secor_dev/message_logs/backup/13605_15/dt=20160627/staging-error_log-20160627-00-00.gz does not exist at java.util.concurrent.FutureTask.report(FutureTask.java:122) at java.util.concurrent.FutureTask.get(FutureTask.java:188) at com.pinterest.secor.uploader.FutureHandle.get(FutureHandle.java:34) at com.pinterest.secor.uploader.Uploader.uploadFiles(Uploader.java:96) at com.pinterest.secor.uploader.Uploader.checkTopicPartition(Uploader.java:187) at com.pinterest.secor.uploader.Uploader.applyPolicy(Uploader.java:210) at com.pinterest.secor.consumer.Consumer.checkUploadPolicy(Consumer.java:113) ... 1 more Caused by: java.lang.RuntimeException: java.io.FileNotFoundException: File /tmp/secor_dev/message_logs/backup/13605_15/dt=20160627/staging-error_log-20160627-00-00.gz does not exist at com.pinterest.secor.uploader.HadoopS3UploadManager$1.run(HadoopS3UploadManager.java:69) at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471) at java.util.concurrent.FutureTask.run(FutureTask.java:262) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) at java.lang.Thread.run(Thread.java:745) Caused by: java.io.FileNotFoundException: File /tmp/secor_dev/message_logs/backup/13605_15/dt=20160627/staging-error_log-20160627-00-00.gz does not exist at org.apache.hadoop.fs.RawLocalFileSystem.deprecatedGetFileStatus(RawLocalFileSystem.java:606) at org.apache.hadoop.fs.RawLocalFileSystem.getFileLinkStatusInternal(RawLocalFileSystem.java:819) at org.apache.hadoop.fs.RawLocalFileSystem.getFileStatus(RawLocalFileSystem.java:596) at org.apache.hadoop.fs.FilterFileSystem.getFileStatus(FilterFileSystem.java:421) at org.apache.hadoop.fs.FileUtil.copy(FileUtil.java:337) at org.apache.hadoop.fs.FileSystem.copyFromLocalFile(FileSystem.java:1965) at org.apache.hadoop.fs.FileSystem.copyFromLocalFile(FileSystem.java:1933) at org.apache.hadoop.fs.FileSystem.moveFromLocalFile(FileSystem.java:1920) at com.pinterest.secor.util.FileUtil.moveToCloud(FileUtil.java:207)

Write tip

You have a different solution? A short tip here would help you and many other users who saw this issue last week.

Users with the same issue

Once, 6 months ago
Samebug visitor profile picture
Unknown user
Once, 11 months ago
Samebug visitor profile picture
Unknown user
Once, 11 months ago
Samebug visitor profile picture
Unknown user
Once, 1 year ago
Once, 1 year ago
3 more bugmates