Re: What is the right way to add classpath?

2018-09-12 Thread bupt_ljy
Original Message Sender:Yun tangmyas...@live.com Recipient:bupt_ljybupt_...@163.com; useru...@flink.apache.org Date:Wednesday, Sep 12, 2018 17:53 Subject:Re: What is the right way to add classpath? Hi Jiayi As far as I know, there exist three ways: Build the fat-application jar

Re: What is the right way to add classpath?

2018-09-12 Thread Yun Tang
to https://ci.apache.org/projects/flink/flink-docs-release-1.6/ops/cli.html#usage Best Yun Tang From: bupt_ljy Sent: Wednesday, September 12, 2018 16:34 To: user Subject: What is the right way to add classpath? Hi,all My program needs some dependencies before it’s

What is the right way to add classpath?

2018-09-12 Thread bupt_ljy
Hi,all My program needs some dependencies before it’s submitted to yarn. Like: ``` stream.filter(new FilterService()).print() env.execute() ``` I use external dependency inFilterService, and the program reports NoClassDefFoundError at