[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Flink SQL client always cost 2 minutes to submit job to a local cluster

I am using Flink 1.6.1, I tried to use flink sql client with some own jars
with --jar and --library.
It can work to execute sql query, however it always cause around 2 minutes
to submit the job the local cluster, but when I copy my jar to flink lib,
and remove --jar and --library parameter, it can submit the job immediately.

I debugged and found the 2 minutes is cost by the RestClusterClient to send
the request with the jar as payload to the flink cluster.

I don't know why it uses 2 minutes to upload the package? Is there a way to
work around it?

Sent from: