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

2019-01-03 Thread Hequn Cheng
Hi yinhua, Could you help to reproduce the problem? I can help to figure out the root cause. Best, Hequn On Fri, Jan 4, 2019 at 11:37 AM yinhua.dai wrote: > Hi Fabian, > > It's the submission of the jar file cost too long time. > And yes Hequn and your suggestion is working, but just curious

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

2019-01-03 Thread yinhua.dai
Hi Fabian, It's the submission of the jar file cost too long time. And yes Hequn and your suggestion is working, but just curious why a 100M jar files causes so long time to submit, is it related with some upload parameter settings of the web layer? -- Sent from: http://apache-flink-user-mailin

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

2019-01-03 Thread Fabian Hueske
Hi, You can try to build a JAR file with all runtime dependencies of Flink SQL (Calcite, Janino, +transitive dependencies), add it to the lib folder, and exclude the dependencies from the JAR file that is sent to the cluster when you submit a job. It would also be good to figure out what takes so

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

2018-12-30 Thread yinhua.dai
I have to do that for now, however I have to find another way because the jar some times get update and the flink cluster will be remotely in future. -- Sent from: http://apache-flink-user-mailing-list-archive.2336050.n4.nabble.com/

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

2018-12-28 Thread Hequn Cheng
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 wrote: > I am using Flin

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

2018-12-27 Thread yinhua.dai
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