java.lang.RuntimeException: Failed to apply upload policy

Google Groups | Unknown author | 12 months ago
tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.
  1. 0

    Secor exiting sometimes with runtime error

    Google Groups | 12 months ago | Unknown author
    java.lang.RuntimeException: Failed to apply upload policy
  2. 0

    GitHub comment 3189#200407713

    GitHub | 1 year ago | deepu105
    com.netflix.client.ClientException: Number of retries on next server exceeded max 1 retries, while making a call for: 172.18.0.6:8080
  3. Speed up your debug routine!

    Automated exception search integrated into your IDE

  1. batwalrus76 2 times, last 4 weeks ago
  2. tvrmsmith 1 times, last 2 months ago
  3. Hronom 45 times, last 4 months ago
  4. iferca 2 times, last 4 months ago
  5. richard77 2 times, last 5 months ago
62 more registered users
33 unregistered visitors
Not finding the right solution?
Take a tour to get the most out of Samebug.

Tired of useless tips?

Automated exception search integrated into your IDE

Root Cause Analysis

  1. java.net.ConnectException

    Connection refused

    at java.net.PlainSocketImpl.socketConnect()
  2. Java RT
    Socket.connect
    1. java.net.PlainSocketImpl.socketConnect(Native Method)
    2. java.net.AbstractPlainSocketImpl.doConnect(AbstractPlainSocketImpl.java:350)
    3. java.net.AbstractPlainSocketImpl.connectToAddress(AbstractPlainSocketImpl.java:206)
    4. java.net.AbstractPlainSocketImpl.connect(AbstractPlainSocketImpl.java:188)
    5. java.net.SocksSocketImpl.connect(SocksSocketImpl.java:392)
    6. java.net.Socket.connect(Socket.java:589)
    6 frames
  3. Apache HttpClient
    CloseableHttpClient.execute
    1. org.apache.http.conn.scheme.PlainSocketFactory.connectSocket(PlainSocketFactory.java:117)
    2. org.apache.http.impl.conn.DefaultClientConnectionOperator.openConnection(DefaultClientConnectionOperator.java:177)
    3. org.apache.http.impl.conn.AbstractPoolEntry.open(AbstractPoolEntry.java:144)
    4. org.apache.http.impl.conn.AbstractPooledConnAdapter.open(AbstractPooledConnAdapter.java:131)
    5. org.apache.http.impl.client.DefaultRequestDirector.tryConnect(DefaultRequestDirector.java:611)
    6. org.apache.http.impl.client.DefaultRequestDirector.execute(DefaultRequestDirector.java:446)
    7. org.apache.http.impl.client.AbstractHttpClient.doExecute(AbstractHttpClient.java:882)
    8. org.apache.http.impl.client.CloseableHttpClient.execute(CloseableHttpClient.java:82)
    9. org.apache.http.impl.client.CloseableHttpClient.execute(CloseableHttpClient.java:55)
    9 frames
  4. JetS3t
    StorageService.getObjectDetails
    1. org.jets3t.service.impl.rest.httpclient.RestStorageService.performRequest(RestStorageService.java:328)
    2. org.jets3t.service.impl.rest.httpclient.RestStorageService.performRequest(RestStorageService.java:279)
    3. org.jets3t.service.impl.rest.httpclient.RestStorageService.performRestHead(RestStorageService.java:1052)
    4. org.jets3t.service.impl.rest.httpclient.RestStorageService.getObjectImpl(RestStorageService.java:2264)
    5. org.jets3t.service.impl.rest.httpclient.RestStorageService.getObjectDetailsImpl(RestStorageService.java:2193)
    6. org.jets3t.service.StorageService.getObjectDetails(StorageService.java:1120)
    7. org.jets3t.service.StorageService.getObjectDetails(StorageService.java:575)
    7 frames
  5. Hadoop
    Jets3tNativeFileSystemStore.retrieveMetadata
    1. org.apache.hadoop.fs.s3native.Jets3tNativeFileSystemStore.retrieveMetadata(Jets3tNativeFileSystemStore.java:174)
    1 frame
  6. Java RT
    Method.invoke
    1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    2. sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
    3. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
    4. java.lang.reflect.Method.invoke(Method.java:497)
    4 frames
  7. Hadoop
    FileSystem.moveFromLocalFile
    1. org.apache.hadoop.io.retry.RetryInvocationHandler.invokeMethod(RetryInvocationHandler.java:187)
    2. org.apache.hadoop.io.retry.RetryInvocationHandler.invoke(RetryInvocationHandler.java:102)
    3. org.apache.hadoop.fs.s3native.$Proxy6.retrieveMetadata(Unknown Source)
    4. org.apache.hadoop.fs.s3native.NativeS3FileSystem.getFileStatus(NativeS3FileSystem.java:472)
    5. org.apache.hadoop.fs.FileSystem.exists(FileSystem.java:1424)
    6. org.apache.hadoop.fs.FileUtil.checkDest(FileUtil.java:496)
    7. org.apache.hadoop.fs.FileUtil.copy(FileUtil.java:348)
    8. org.apache.hadoop.fs.FileUtil.copy(FileUtil.java:338)
    9. org.apache.hadoop.fs.FileSystem.copyFromLocalFile(FileSystem.java:1965)
    10. org.apache.hadoop.fs.FileSystem.copyFromLocalFile(FileSystem.java:1933)
    11. org.apache.hadoop.fs.FileSystem.moveFromLocalFile(FileSystem.java:1920)
    11 frames
  8. com.pinterest.secor
    HadoopS3UploadManager$1.run
    1. com.pinterest.secor.util.FileUtil.moveToCloud(FileUtil.java:206)
    2. com.pinterest.secor.uploader.HadoopS3UploadManager$1.run(HadoopS3UploadManager.java:66)
    2 frames
  9. Java RT
    Thread.run
    1. java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
    2. java.util.concurrent.FutureTask.run(FutureTask.java:266)
    3. java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
    4. java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
    5. java.lang.Thread.run(Thread.java:745)
    5 frames