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

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

Hi, yinhua

Thanks for looking into the problem. I'm not familiar with the code of these part. As a workaround, you can put your jars into the flink lib folder or add your jars into the classpath. Hope this helps.

Best, Hequn

On Fri, Dec 28, 2018 at 11:52 AM yinhua.dai <yinhua.2018@xxxxxxxxxxx> wrote:
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: