Uploaded image for project: 'Flink'
  1. Flink
  2. FLINK-24197

Job submission can fail with: "RestClientException: [File upload failed.]"

    XMLWordPrintableJSON

    Details

      Description

      https://dev.azure.com/apache-flink/apache-flink/_build/results?buildId=23672&view=logs&j=c88eea3b-64a0-564d-0031-9fdcd7b8abee&t=070ff179-953e-5bda-71fa-d6599415701c&l=11040

      Caused by: org.apache.flink.util.FlinkException: Failed to execute job 'StreamingFileSinkProgram'.
      	at org.apache.flink.streaming.api.environment.StreamExecutionEnvironment.executeAsync(StreamExecutionEnvironment.java:2056)
      	at org.apache.flink.client.program.StreamContextEnvironment.executeAsync(StreamContextEnvironment.java:137)
      	at org.apache.flink.client.program.StreamContextEnvironment.execute(StreamContextEnvironment.java:76)
      	at org.apache.flink.streaming.api.environment.StreamExecutionEnvironment.execute(StreamExecutionEnvironment.java:1917)
      	at FileSinkProgram.main(FileSinkProgram.java:105)
      	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
      	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      	at java.lang.reflect.Method.invoke(Method.java:498)
      	at org.apache.flink.client.program.PackagedProgram.callMainMethod(PackagedProgram.java:355)
      	... 8 more
      Caused by: org.apache.flink.runtime.client.JobSubmissionException: Failed to submit JobGraph.
      	at org.apache.flink.client.program.rest.RestClusterClient.lambda$submitJob$11(RestClusterClient.java:433)
      	at java.util.concurrent.CompletableFuture.uniExceptionally(CompletableFuture.java:884)
      	at java.util.concurrent.CompletableFuture$UniExceptionally.tryFire(CompletableFuture.java:866)
      	at java.util.concurrent.CompletableFuture.postComplete(CompletableFuture.java:488)
      	at java.util.concurrent.CompletableFuture.completeExceptionally(CompletableFuture.java:1990)
      	at org.apache.flink.util.concurrent.FutureUtils.lambda$retryOperationWithDelay$9(FutureUtils.java:373)
      	at java.util.concurrent.CompletableFuture.uniWhenComplete(CompletableFuture.java:774)
      	at java.util.concurrent.CompletableFuture$UniWhenComplete.tryFire(CompletableFuture.java:750)
      	at java.util.concurrent.CompletableFuture.postComplete(CompletableFuture.java:488)
      	at java.util.concurrent.CompletableFuture.postFire(CompletableFuture.java:575)
      	at java.util.concurrent.CompletableFuture$UniCompose.tryFire(CompletableFuture.java:943)
      	at java.util.concurrent.CompletableFuture$Completion.run(CompletableFuture.java:456)
      	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
      	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
      	at java.lang.Thread.run(Thread.java:748)
      Caused by: org.apache.flink.runtime.rest.util.RestClientException: [File upload failed.]
      	at org.apache.flink.runtime.rest.RestClient.parseResponse(RestClient.java:532)
      	at org.apache.flink.runtime.rest.RestClient.lambda$submitRequest$3(RestClient.java:512)
      	at java.util.concurrent.CompletableFuture.uniCompose(CompletableFuture.java:966)
      	at java.util.concurrent.CompletableFuture$UniCompose.tryFire(CompletableFuture.java:940)
      	... 4 more
      
      

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                chesnay Chesnay Schepler
                Reporter:
                dwysakowicz Dawid Wysakowicz
              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: