I used package on apache official site, with mirror [1], the difference is I used scala 2.12 version. I also tried to build from source for both scala 2.11 and 2.12, when build 2.12 the FlinkShell.class is in flink-dist jar file but after running mvn clean package -Dscala-2.12, this class was removed in flink-dist_2.12-1.9 jar file. Seems broken here for scala 2.12, right?
[1] http://mirror.bit.edu.cn/apache/flink/flink-1.9.0/flink-1.9.0-bin-scala_2.12.tgz On Fri, Aug 23, 2019 at 4:37 PM Zili Chen <wander4...@gmail.com> wrote: > I downloaded 1.9.0 dist from here[1] and didn't see the issue. Where do you > download it? Could you try to download the dist from [1] and see whether > the problem last? > > Best, > tison. > > [1] > http://mirrors.tuna.tsinghua.edu.cn/apache/flink/flink-1.9.0/flink-1.9.0-bin-scala_2.11.tgz > > > Gavin Lee <gavin....@gmail.com> 于2019年8月23日周五 下午4:34写道: > >> Thanks for your reply @Zili. >> I'm afraid it's not the same issue. >> I found that the FlinkShell.class was not included in flink dist jar file >> in 1.9.0 version. >> Nowhere can find this class file inside jar, either in opt or lib >> directory under root folder of flink distribution. >> >> >> On Fri, Aug 23, 2019 at 4:10 PM Zili Chen <wander4...@gmail.com> wrote: >> >>> Hi Gavin, >>> >>> I also find a problem in shell if the directory contain whitespace >>> then the final command to run is incorrect. Could you check the >>> final command to be executed? >>> >>> FYI, here is the ticket[1]. >>> >>> Best, >>> tison. >>> >>> [1] https://issues.apache.org/jira/browse/FLINK-13827 >>> >>> >>> Gavin Lee <gavin....@gmail.com> 于2019年8月23日周五 下午3:36写道: >>> >>>> Why bin/start-scala-shell.sh local return following error? >>>> >>>> bin/start-scala-shell.sh local >>>> >>>> Error: Could not find or load main class >>>> org.apache.flink.api.scala.FlinkShell >>>> For flink 1.8.1 and previous ones, no such issues. >>>> >>>> On Fri, Aug 23, 2019 at 2:05 PM qi luo <luoqi...@gmail.com> wrote: >>>> >>>>> Congratulations and thanks for the hard work! >>>>> >>>>> Qi >>>>> >>>>> On Aug 22, 2019, at 8:03 PM, Tzu-Li (Gordon) Tai <tzuli...@apache.org> >>>>> wrote: >>>>> >>>>> The Apache Flink community is very happy to announce the release of >>>>> Apache Flink 1.9.0, which is the latest major release. >>>>> >>>>> Apache Flink® is an open-source stream processing framework for >>>>> distributed, high-performing, always-available, and accurate data >>>>> streaming >>>>> applications. >>>>> >>>>> The release is available for download at: >>>>> https://flink.apache.org/downloads.html >>>>> >>>>> Please check out the release blog post for an overview of the >>>>> improvements for this new major release: >>>>> https://flink.apache.org/news/2019/08/22/release-1.9.0.html >>>>> >>>>> The full release notes are available in Jira: >>>>> >>>>> https://issues.apache.org/jira/secure/ReleaseNote.jspa?projectId=12315522&version=12344601 >>>>> >>>>> We would like to thank all contributors of the Apache Flink community >>>>> who made this release possible! >>>>> >>>>> Cheers, >>>>> Gordon >>>>> >>>>> >>>>> >>>> >>>> -- >>>> Gavin >>>> >>> >> >> -- >> Gavin >> > -- Gavin