Hi All, I have 2 job managers in flink HA mode cluster setup. I have a load balancer forwarding request to both (leader and stand by) the job managers in default round-robin fashion. While uploading the job jar the Web UI is fluctuating between the leader and standby page. Its difficult to upload the job jar and also getting errors after submitting the job as below:
Caused by: org.apache.flink.runtime.rest.handler.RestHandlerException: Jar file /tmp/flink-web-4be8d72f-6a7d-4ec9-b71e-516e58 c629d5/flink-web-upload/ce291201-31e4-4e55 -a68b-eae1a770518d_flinkfhirmapperjob-1.2.jar does not exist I tried using *web.upload.dir* property to use a folder location in S3 but getting below error: 2020-12-02 08:26:06,242 WARN org.apache.flink.runtime.rest.FileUploadHandler [] - File upload failed. java.lang.IllegalArgumentException: UploadDirectory is not absolute. at org.apache.flink.util.Preconditions.checkArgument(Preconditions.java:139) ~[flink-dist_2.11-1.11.2.jar:1.11.2] at org.apache.flink.runtime.rest.handler.FileUploads.<init>(FileUploads.java:58) ~[flink-dist_2.11-1.11.2.jar:1.11.2] at org.apache.flink.runtime.rest.FileUploadHandler.channelRead0(FileUploadHandler.java:159) [flink-dist_2.11-1.11.2.jar:1.11.2] at org.apache.flink.runtime.rest.FileUploadHandler.channelRead0(FileUploadHandler.java:68) [flink-dist_2.11-1.11.2.jar:1.11.2] at org.apache.flink.shaded.netty4.io.netty.channel.SimpleChannelInboundHandler.channelRead(SimpleChannelInboundHandler.java:105) [flink-dist_2.11-1.11.2.jar:1.11.2] Looks like web.upload.dir only supports local path. Any suggestions on how to upload and submit job jar in flink HA cluster setup via web UI and also it from the CLI ? Thanks and regards Sidhant Gupta