This is intended. Increasing the scala version basically broke the scala-shell and we haven't had the time to fix it. It is thus only available with scala 2.11. I agree that the error message could be better though.

On 14.11.2018 03:44, Hao Sun wrote:
I do not see flink-scala-shell jar under flink opt directory. To run scala shell, do I have to include the flink-scala-shell jar in my program jar? Why the error is saying Could not find or load main class org.apache.flink.api.scala.FlinkShell

On Tue, Nov 13, 2018 at 4:48 PM Tzu-Li Chen <wander4...@gmail.com <mailto:wander4...@gmail.com>> wrote:

    Hi,

    Till is the release manager for 1.7, so ping him here.

    Best,
    tison.


    Hao Sun <ha...@zendesk.com <mailto:ha...@zendesk.com>>
    于2018年11月14日周三 上午3:07写道:

        Sorry I mean the scala-2.12 version is missing

        On Tue, Nov 13, 2018 at 10:58 AM Hao Sun <ha...@zendesk.com
        <mailto:ha...@zendesk.com>> wrote:

            I can not find the jar here:
            
https://repository.apache.org/content/repositories/orgapacheflink-1191/org/apache/flink/

            Here is the error:
            bash-4.4# ./bin/start-scala-shell.sh local
            Error: Could not find or load main class
            org.apache.flink.api.scala.FlinkShell

            I think somehow I have to include the flink-scala-shell
            jar under flink lib.

            Any help will be appreciated.


Reply via email to