Flink 1.7 RC missing flink-scala-shell jar

classic Classic list List threaded Threaded
6 messages Options
Reply | Threaded
Open this post in threaded view
|

Flink 1.7 RC missing flink-scala-shell jar

Hao Sun
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 | Threaded
Open this post in threaded view
|

Re: Flink 1.7 RC missing flink-scala-shell jar

Hao Sun
Sorry I mean the scala-2.12 version is missing

On Tue, Nov 13, 2018 at 10:58 AM Hao Sun <[hidden email]> 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 | Threaded
Open this post in threaded view
|

Re: Flink 1.7 RC missing flink-scala-shell jar

tison
Hi,

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

Best,
tison.


Hao Sun <[hidden email]> 于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 <[hidden email]> 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 | Threaded
Open this post in threaded view
|

Re: Flink 1.7 RC missing flink-scala-shell jar

Hao Sun
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 <[hidden email]> wrote:
Hi,

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

Best,
tison.


Hao Sun <[hidden email]> 于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 <[hidden email]> 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 | Threaded
Open this post in threaded view
|

Re: Flink 1.7 RC missing flink-scala-shell jar

Chesnay Schepler
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 <[hidden email]> wrote:
Hi,

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

Best,
tison.


Hao Sun <[hidden email]> 于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 <[hidden email]> 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 | Threaded
Open this post in threaded view
|

Re: Flink 1.7 RC missing flink-scala-shell jar

Hao Sun
Ok, thanks.

On Wed, Nov 14, 2018, 01:22 Chesnay Schepler <[hidden email]> wrote:
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 <[hidden email]> wrote:
Hi,

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

Best,
tison.


Hao Sun <[hidden email]> 于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 <[hidden email]> 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.