java.lang.RuntimeException: Failed to apply upload policy

Google Groups | Unknown author | 1 year ago
tip
Click on the to mark the solution that helps you, Samebug will learn from it.
As a community member, you’ll be rewarded for you help.
  1. 0

    Failed to upload policy when writing to GS

    Google Groups | 1 year ago | Unknown author
    java.lang.RuntimeException: Failed to apply upload policy

    Root Cause Analysis

    1. 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()
    2. Hadoop
      FileSystem.moveFromLocalFile
      1. org.apache.hadoop.fs.RawLocalFileSystem.deprecatedGetFileStatus(RawLocalFileSystem.java:606)
      2. org.apache.hadoop.fs.RawLocalFileSystem.getFileLinkStatusInternal(RawLocalFileSystem.java:819)
      3. org.apache.hadoop.fs.RawLocalFileSystem.getFileStatus(RawLocalFileSystem.java:596)
      4. org.apache.hadoop.fs.FilterFileSystem.getFileStatus(FilterFileSystem.java:421)
      5. org.apache.hadoop.fs.FileUtil.copy(FileUtil.java:337)
      6. org.apache.hadoop.fs.FileSystem.copyFromLocalFile(FileSystem.java:1965)
      7. org.apache.hadoop.fs.FileSystem.copyFromLocalFile(FileSystem.java:1933)
      8. org.apache.hadoop.fs.FileSystem.moveFromLocalFile(FileSystem.java:1920)
      8 frames
    3. com.pinterest.secor
      FileUtil.moveToCloud
      1. com.pinterest.secor.util.FileUtil.moveToCloud(FileUtil.java:207)
      1 frame