In windows8 + VitualBox, how to build Flink development environment?

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

In windows8 + VitualBox, how to build Flink development environment?

Liang Chen

Dear

 

In windows8 + VitualBox, how to build Flink development environment

Reply | Threaded
Open this post in threaded view
|

Re: In windows8 + VitualBox, how to build Flink development environment?

Stephan Ewen
Hi!

With Windows 8 + VirtualBox, I would run a Linux VM. I run Ubuntu in VirtualBox on Windows 7 myself.

In the Linux environment, make sure you have git, Java 7+ and Maven, see also here: https://github.com/apache/flink/blob/master/README.md#building-apache-flink-from-source


Greetings,
Stephan


On Fri, Jul 3, 2015 at 11:16 AM, Chenliang (Liang, DataSight) <[hidden email]> wrote:

Dear

 

In windows8 + VitualBox, how to build Flink development environment


Reply | Threaded
Open this post in threaded view
|

Re: In windows8 + VitualBox, how to build Flink development environment?

Stephan Ewen
Let us know if you run into setup problems...

On Fri, Jul 3, 2015 at 11:25 AM, Stephan Ewen <[hidden email]> wrote:
Hi!

With Windows 8 + VirtualBox, I would run a Linux VM. I run Ubuntu in VirtualBox on Windows 7 myself.

In the Linux environment, make sure you have git, Java 7+ and Maven, see also here: https://github.com/apache/flink/blob/master/README.md#building-apache-flink-from-source


Greetings,
Stephan


On Fri, Jul 3, 2015 at 11:16 AM, Chenliang (Liang, DataSight) <[hidden email]> wrote:

Dear

 

In windows8 + VitualBox, how to build Flink development environment



Reply | Threaded
Open this post in threaded view
|

答复: In windows8 + VitualBox, how to build Flink development environment?

Liang Chen

Thanks for your timely response.

 

As per the link : https://flink.apache.org/how-to-contribute.html

I going to this step, but could not finish <<Expand “Maven” node”,select “Existing Maven projects”,and click “next” buttion>>. May I didn’t install maven plugin correctly.

 

BTW, one query: Eclipse or IntelliJ,  prefer to select which one?

 

Once I finish it. I plan to output one WYSWYG document for building Flink development environment with Chinese.

 

Eclipse 4.x:

  • scala-ide: http://download.scala-ide.org/sdk/e38/scala210/stable/site
  • m2eclipse-scala: http://alchim31.free.fr/m2e-scala/update-site
  • build-helper-maven-plugin: https://repository.sonatype.org/content/repositories/forge-sites/m2e-extras/0.15.0/N/0.15.0.201206251206/

Eclipse 3.7:

  • scala-ide: http://download.scala-ide.org/sdk/e37/scala210/stable/site
  • m2eclipse-scala: http://alchim31.free.fr/m2e-scala/update-site
  • build-helper-maven-plugin: https://repository.sonatype.org/content/repositories/forge-sites/m2e-extras/0.14.0/N/0.14.0.201109282148/

When you don’t have the plugins your project will have build errors, you can just close the scala projects and ignore them.

Import the Flink source code using Maven’s Import tool:

  • Select “Import” from the “File”-menu.
  • Expand “Maven” node, select “Existing Maven Projects”, and click “next” button
  • Select the root directory by clicking on the “Browse” button and navigate to the top folder of the cloned Flink git repository.
  • Ensure that all projects are selected and click the “Finish” button.

 

 

发件人: [hidden email] [mailto:[hidden email]] 代表 Stephan Ewen
发送时间: 201573 17:26
收件人: [hidden email]
主题: Re: In windows8 + VitualBox, how to build Flink development environment

 

Let us know if you run into setup problems...

 

On Fri, Jul 3, 2015 at 11:25 AM, Stephan Ewen <[hidden email]> wrote:

Hi!

 

With Windows 8 + VirtualBox, I would run a Linux VM. I run Ubuntu in VirtualBox on Windows 7 myself.

 

In the Linux environment, make sure you have git, Java 7+ and Maven, see also here: https://github.com/apache/flink/blob/master/README.md#building-apache-flink-from-source

 

 

Greetings,
Stephan

 

 

On Fri, Jul 3, 2015 at 11:16 AM, Chenliang (Liang, DataSight) <[hidden email]> wrote:

Dear

 

In windows8 + VitualBox, how to build Flink development environment

 

 

Reply | Threaded
Open this post in threaded view
|

Re: In windows8 + VitualBox, how to build Flink development environment?

Aljoscha Krettek
Hi,
most Flink developers use IntelliJ so it is probably easier for them to help you with problems if you use IntelliJ. Also, IntelliJ is easier to setup and works better for Flink because of mixed Java/Scala code.

Cheers,
Aljoscha

On Mon, 6 Jul 2015 at 03:39 Chenliang (Liang, DataSight) <[hidden email]> wrote:

Thanks for your timely response.

 

As per the link : https://flink.apache.org/how-to-contribute.html

I going to this step, but could not finish <<Expand “Maven” node”,select “Existing Maven projects”,and click “next” buttion>>. May I didn’t install maven plugin correctly.

 

BTW, one query: Eclipse or IntelliJ,  prefer to select which one?

 

Once I finish it. I plan to output one WYSWYG document for building Flink development environment with Chinese.

 

Eclipse 4.x:

Eclipse 3.7:

When you don’t have the plugins your project will have build errors, you can just close the scala projects and ignore them.

Import the Flink source code using Maven’s Import tool:

  • Select “Import” from the “File”-menu.
  • Expand “Maven” node, select “Existing Maven Projects”, and click “next” button
  • Select the root directory by clicking on the “Browse” button and navigate to the top folder of the cloned Flink git repository.
  • Ensure that all projects are selected and click the “Finish” button.

 

 

发件人: [hidden email] [mailto:[hidden email]] 代表 Stephan Ewen
发送时间: 201573 17:26
收件人: [hidden email]
主题: Re: In windows8 + VitualBox, how to build Flink development environment

 

Let us know if you run into setup problems...

 

On Fri, Jul 3, 2015 at 11:25 AM, Stephan Ewen <[hidden email]> wrote:

Hi!

 

With Windows 8 + VirtualBox, I would run a Linux VM. I run Ubuntu in VirtualBox on Windows 7 myself.

 

In the Linux environment, make sure you have git, Java 7+ and Maven, see also here: https://github.com/apache/flink/blob/master/README.md#building-apache-flink-from-source

 

 

Greetings,
Stephan

 

 

On Fri, Jul 3, 2015 at 11:16 AM, Chenliang (Liang, DataSight) <[hidden email]> wrote:

Dear

 

In windows8 + VitualBox, how to build Flink development environment

 

 

Reply | Threaded
Open this post in threaded view
|

Re: 答复: In windows8 + VitualBox, how to build Flink development environment?

Till Rohrmann-2
In reply to this post by Liang Chen
Hi Chenliang,

most of the Flink committers are using IntelliJ, because it can better handle the mixed Java/Scala modules. I personally would also recommend you to do so.

If you can't select a maven project, then you should check whether the maven plugin was installed correctly. You can see which plugins you've installed going to "Help ==> Installation Details". There you can verify if you've installed the maven plugin.

Cheers,
Till

On Mon, Jul 6, 2015 at 3:39 AM, Chenliang (Liang, DataSight) <[hidden email]> wrote:

Thanks for your timely response.

 

As per the link : https://flink.apache.org/how-to-contribute.html

I going to this step, but could not finish <<Expand “Maven” node”,select “Existing Maven projects”,and click “next” buttion>>. May I didn’t install maven plugin correctly.

 

BTW, one query: Eclipse or IntelliJ,  prefer to select which one?

 

Once I finish it. I plan to output one WYSWYG document for building Flink development environment with Chinese.

 

Eclipse 4.x:

Eclipse 3.7:

When you don’t have the plugins your project will have build errors, you can just close the scala projects and ignore them.

Import the Flink source code using Maven’s Import tool:

  • Select “Import” from the “File”-menu.
  • Expand “Maven” node, select “Existing Maven Projects”, and click “next” button
  • Select the root directory by clicking on the “Browse” button and navigate to the top folder of the cloned Flink git repository.
  • Ensure that all projects are selected and click the “Finish” button.

 

 

发件人: [hidden email] [mailto:[hidden email]] 代表 Stephan Ewen
发送时间: 201573 17:26
收件人: [hidden email]
主题: Re: In windows8 + VitualBox, how to build Flink development environment

 

Let us know if you run into setup problems...

 

On Fri, Jul 3, 2015 at 11:25 AM, Stephan Ewen <[hidden email]> wrote:

Hi!

 

With Windows 8 + VirtualBox, I would run a Linux VM. I run Ubuntu in VirtualBox on Windows 7 myself.

 

In the Linux environment, make sure you have git, Java 7+ and Maven, see also here: https://github.com/apache/flink/blob/master/README.md#building-apache-flink-from-source

 

 

Greetings,
Stephan

 

 

On Fri, Jul 3, 2015 at 11:16 AM, Chenliang (Liang, DataSight) <[hidden email]> wrote:

Dear

 

In windows8 + VitualBox, how to build Flink development environment

 

 


Reply | Threaded
Open this post in threaded view
|

答复: In windows8 + VitualBox, how to build Flink development environment?

Liang Chen
In reply to this post by Aljoscha Krettek

Dear Aljoscha

 

Thanks for your response.

Done for IntelliJ.

 

Regards

Liang

发件人: Aljoscha Krettek [mailto:[hidden email]]
发送时间: 201576 15:58
收件人: [hidden email]
主题: Re: In windows8 + VitualBox, how to build Flink development environment

 

Hi,
most Flink developers use IntelliJ so it is probably easier for them to help you with problems if you use IntelliJ. Also, IntelliJ is easier to setup and works better for Flink because of mixed Java/Scala code.

 

Cheers,

Aljoscha

 

On Mon, 6 Jul 2015 at 03:39 Chenliang (Liang, DataSight) <[hidden email]> wrote:

Thanks for your timely response.

 

As per the link : https://flink.apache.org/how-to-contribute.html

I going to this step, but could not finish <<Expand “Maven” node”,select “Existing Maven projects”,and click “next” buttion>>. May I didn’t install maven plugin correctly.

 

BTW, one query: Eclipse or IntelliJ,  prefer to select which one?

 

Once I finish it. I plan to output one WYSWYG document for building Flink development environment with Chinese.

 

Eclipse 4.x:

Eclipse 3.7:

When you don’t have the plugins your project will have build errors, you can just close the scala projects and ignore them.

Import the Flink source code using Maven’s Import tool:

  • Select “Import” from the “File”-menu.
  • Expand “Maven” node, select “Existing Maven Projects”, and click “next” button
  • Select the root directory by clicking on the “Browse” button and navigate to the top folder of the cloned Flink git repository.
  • Ensure that all projects are selected and click the “Finish” button.

 

 

发件人: [hidden email] [mailto:[hidden email]] 代表 Stephan Ewen
发送时间: 201573 17:26
收件人: [hidden email]
主题: Re: In windows8 + VitualBox, how to build Flink development environment

 

Let us know if you run into setup problems...

 

On Fri, Jul 3, 2015 at 11:25 AM, Stephan Ewen <[hidden email]> wrote:

Hi!

 

With Windows 8 + VirtualBox, I would run a Linux VM. I run Ubuntu in VirtualBox on Windows 7 myself.

 

In the Linux environment, make sure you have git, Java 7+ and Maven, see also here: https://github.com/apache/flink/blob/master/README.md#building-apache-flink-from-source

 

 

Greetings,
Stephan

 

 

On Fri, Jul 3, 2015 at 11:16 AM, Chenliang (Liang, DataSight) <[hidden email]> wrote:

Dear

 

In windows8 + VitualBox, how to build Flink development environment