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

2018-11-14 Thread Hao Sun
Ok, thanks.

On Wed, Nov 14, 2018, 01:22 Chesnay Schepler  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  wrote:
>
>> Hi,
>>
>> Till is the release manager for 1.7, so ping him here.
>>
>> Best,
>> tison.
>>
>>
>> Hao Sun  于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  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.

>>>
>


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

2018-11-14 Thread 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 > wrote:


Hi,

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

Best,
tison.


Hao Sun 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 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.





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

2018-11-13 Thread 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  wrote:

> Hi,
>
> Till is the release manager for 1.7, so ping him here.
>
> Best,
> tison.
>
>
> Hao Sun  于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  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.
>>>
>>


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

2018-11-13 Thread Tzu-Li Chen
Hi,

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

Best,
tison.


Hao Sun  于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  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.
>>
>


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

2018-11-13 Thread Hao Sun
Sorry I mean the scala-2.12 version is missing

On Tue, Nov 13, 2018 at 10:58 AM Hao Sun  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.
>