error in ignite-spark

classic Classic list List threaded Threaded
13 messages Options
mehdi sey mehdi sey
Reply | Threaded
Open this post in threaded view
|

error in ignite-spark

hi. i want to execute a RDD example in spark from example folder of ignite
2.7, but i have encounter and error just like an attached picture. in import
section you see an underlined line. i have added dependency but still is
remained why?

<http://apache-ignite-users.70518.x6.nabble.com/file/t2160/Screenshot_from_2018-12-26_10-31-16.png>
<http://apache-ignite-users.70518.x6.nabble.com/file/t2160/Screenshot_from_2018-12-26_10-34-19.png>



--
Sent from: http://apache-ignite-users.70518.x6.nabble.com/
ilya.kasnacheev ilya.kasnacheev
Reply | Threaded
Open this post in threaded view
|

Re: error in ignite-spark

Hello!

You have to enable 'scala' profile in Maven to be able to build Spark examples. However, even after I rebuild with scala profile, netbeans will not show them propetly. You will still be able to run them all right, I think.

Regards,
--
Ilya Kasnacheev


ср, 26 дек. 2018 г. в 12:27, mehdi sey <[hidden email]>:
hi. i want to execute a RDD example in spark from example folder of ignite
2.7, but i have encounter and error just like an attached picture. in import
section you see an underlined line. i have added dependency but still is
remained why?

<http://apache-ignite-users.70518.x6.nabble.com/file/t2160/Screenshot_from_2018-12-26_10-31-16.png>
<http://apache-ignite-users.70518.x6.nabble.com/file/t2160/Screenshot_from_2018-12-26_10-34-19.png>



--
Sent from: http://apache-ignite-users.70518.x6.nabble.com/
mehdi sey mehdi sey
Reply | Threaded
Open this post in threaded view
|

Re: error in ignite-spark

spark example have been written with java not scala. i think this error relate to spark version. i have another question. for running this example is it  necessary to intsall spark before running?. 

On Wed, Dec 26, 2018 at 1:44 PM Ilya Kasnacheev <[hidden email]> wrote:
Hello!

You have to enable 'scala' profile in Maven to be able to build Spark examples. However, even after I rebuild with scala profile, netbeans will not show them propetly. You will still be able to run them all right, I think.

Regards,
--
Ilya Kasnacheev


ср, 26 дек. 2018 г. в 12:27, mehdi sey <[hidden email]>:
hi. i want to execute a RDD example in spark from example folder of ignite
2.7, but i have encounter and error just like an attached picture. in import
section you see an underlined line. i have added dependency but still is
remained why?

<http://apache-ignite-users.70518.x6.nabble.com/file/t2160/Screenshot_from_2018-12-26_10-31-16.png>
<http://apache-ignite-users.70518.x6.nabble.com/file/t2160/Screenshot_from_2018-12-26_10-34-19.png>



--
Sent from: http://apache-ignite-users.70518.x6.nabble.com/
ilya.kasnacheev ilya.kasnacheev
Reply | Threaded
Open this post in threaded view
|

Re: error in ignite-spark

Hello!

No you don't.

You can use the following maven commands from examples directory to run example:

mvn clean install -Pscala -DskipTests
mvn -Pscala exec:java -Dexec.mainClass=org.apache.ignite.examples.spark.SharedRDDExample

Regards,
--
Ilya Kasnacheev


ср, 26 дек. 2018 г. в 13:42, Mehdi Seydali <[hidden email]>:
spark example have been written with java not scala. i think this error relate to spark version. i have another question. for running this example is it  necessary to intsall spark before running?. 

On Wed, Dec 26, 2018 at 1:44 PM Ilya Kasnacheev <[hidden email]> wrote:
Hello!

You have to enable 'scala' profile in Maven to be able to build Spark examples. However, even after I rebuild with scala profile, netbeans will not show them propetly. You will still be able to run them all right, I think.

Regards,
--
Ilya Kasnacheev


ср, 26 дек. 2018 г. в 12:27, mehdi sey <[hidden email]>:
hi. i want to execute a RDD example in spark from example folder of ignite
2.7, but i have encounter and error just like an attached picture. in import
section you see an underlined line. i have added dependency but still is
remained why?

<http://apache-ignite-users.70518.x6.nabble.com/file/t2160/Screenshot_from_2018-12-26_10-31-16.png>
<http://apache-ignite-users.70518.x6.nabble.com/file/t2160/Screenshot_from_2018-12-26_10-34-19.png>



--
Sent from: http://apache-ignite-users.70518.x6.nabble.com/
mehdi sey mehdi sey
Reply | Threaded
Open this post in threaded view
|

Re: error in ignite-spark

In reply to this post by ilya.kasnacheev
How could i enable scala profile??

On Wed, 26 Dec 2018, 13:44 Ilya Kasnacheev, <[hidden email]> wrote:
Hello!

You have to enable 'scala' profile in Maven to be able to build Spark examples. However, even after I rebuild with scala profile, netbeans will not show them propetly. You will still be able to run them all right, I think.

Regards,
--
Ilya Kasnacheev


ср, 26 дек. 2018 г. в 12:27, mehdi sey <[hidden email]>:
hi. i want to execute a RDD example in spark from example folder of ignite
2.7, but i have encounter and error just like an attached picture. in import
section you see an underlined line. i have added dependency but still is
remained why?

<http://apache-ignite-users.70518.x6.nabble.com/file/t2160/Screenshot_from_2018-12-26_10-31-16.png>
<http://apache-ignite-users.70518.x6.nabble.com/file/t2160/Screenshot_from_2018-12-26_10-34-19.png>



--
Sent from: http://apache-ignite-users.70518.x6.nabble.com/
ilya.kasnacheev ilya.kasnacheev
Reply | Threaded
Open this post in threaded view
|

Re: error in ignite-spark

Hello!

With -Pscala command or via netbeans dialogs.

Regards,
--
Ilya Kasnacheev


ср, 26 дек. 2018 г. в 19:54, Mehdi Seydali <[hidden email]>:
How could i enable scala profile??

On Wed, 26 Dec 2018, 13:44 Ilya Kasnacheev, <[hidden email]> wrote:
Hello!

You have to enable 'scala' profile in Maven to be able to build Spark examples. However, even after I rebuild with scala profile, netbeans will not show them propetly. You will still be able to run them all right, I think.

Regards,
--
Ilya Kasnacheev


ср, 26 дек. 2018 г. в 12:27, mehdi sey <[hidden email]>:
hi. i want to execute a RDD example in spark from example folder of ignite
2.7, but i have encounter and error just like an attached picture. in import
section you see an underlined line. i have added dependency but still is
remained why?

<http://apache-ignite-users.70518.x6.nabble.com/file/t2160/Screenshot_from_2018-12-26_10-31-16.png>
<http://apache-ignite-users.70518.x6.nabble.com/file/t2160/Screenshot_from_2018-12-26_10-34-19.png>



--
Sent from: http://apache-ignite-users.70518.x6.nabble.com/
mehdi sey mehdi sey
Reply | Threaded
Open this post in threaded view
|

Re: error in ignite-spark

i have searched alot  but i couldn't find enable scala profile i maven. do you have any link?

On Wed, Dec 26, 2018 at 8:34 PM Ilya Kasnacheev <[hidden email]> wrote:
Hello!

With -Pscala command or via netbeans dialogs.

Regards,
--
Ilya Kasnacheev


ср, 26 дек. 2018 г. в 19:54, Mehdi Seydali <[hidden email]>:
How could i enable scala profile??

On Wed, 26 Dec 2018, 13:44 Ilya Kasnacheev, <[hidden email]> wrote:
Hello!

You have to enable 'scala' profile in Maven to be able to build Spark examples. However, even after I rebuild with scala profile, netbeans will not show them propetly. You will still be able to run them all right, I think.

Regards,
--
Ilya Kasnacheev


ср, 26 дек. 2018 г. в 12:27, mehdi sey <[hidden email]>:
hi. i want to execute a RDD example in spark from example folder of ignite
2.7, but i have encounter and error just like an attached picture. in import
section you see an underlined line. i have added dependency but still is
remained why?

<http://apache-ignite-users.70518.x6.nabble.com/file/t2160/Screenshot_from_2018-12-26_10-31-16.png>
<http://apache-ignite-users.70518.x6.nabble.com/file/t2160/Screenshot_from_2018-12-26_10-34-19.png>



--
Sent from: http://apache-ignite-users.70518.x6.nabble.com/
ilya.kasnacheev ilya.kasnacheev
Reply | Threaded
Open this post in threaded view
|

Re: error in ignite-spark

Hello!

Have you considered installing IDEA? Developing Ignite under Netbeans or Eclipse is an expert option which is clearly not your case.


Regards,
--
Ilya Kasnacheev


пт, 28 дек. 2018 г. в 10:09, Mehdi Seydali <[hidden email]>:
i have searched alot  but i couldn't find enable scala profile i maven. do you have any link?

On Wed, Dec 26, 2018 at 8:34 PM Ilya Kasnacheev <[hidden email]> wrote:
Hello!

With -Pscala command or via netbeans dialogs.

Regards,
--
Ilya Kasnacheev


ср, 26 дек. 2018 г. в 19:54, Mehdi Seydali <[hidden email]>:
How could i enable scala profile??

On Wed, 26 Dec 2018, 13:44 Ilya Kasnacheev, <[hidden email]> wrote:
Hello!

You have to enable 'scala' profile in Maven to be able to build Spark examples. However, even after I rebuild with scala profile, netbeans will not show them propetly. You will still be able to run them all right, I think.

Regards,
--
Ilya Kasnacheev


ср, 26 дек. 2018 г. в 12:27, mehdi sey <[hidden email]>:
hi. i want to execute a RDD example in spark from example folder of ignite
2.7, but i have encounter and error just like an attached picture. in import
section you see an underlined line. i have added dependency but still is
remained why?

<http://apache-ignite-users.70518.x6.nabble.com/file/t2160/Screenshot_from_2018-12-26_10-31-16.png>
<http://apache-ignite-users.70518.x6.nabble.com/file/t2160/Screenshot_from_2018-12-26_10-34-19.png>



--
Sent from: http://apache-ignite-users.70518.x6.nabble.com/
mehdi sey mehdi sey
Reply | Threaded
Open this post in threaded view
|

Re: error in ignite-spark

In reply to this post by ilya.kasnacheev
with those command that you said i coud run in command line. but how i could run it in intellij or in netbeans? how i could enabled scala profile in netbeans or intellij?

On Wed, Dec 26, 2018 at 4:04 PM Ilya Kasnacheev <[hidden email]> wrote:
Hello!

No you don't.

You can use the following maven commands from examples directory to run example:

mvn clean install -Pscala -DskipTests
mvn -Pscala exec:java -Dexec.mainClass=org.apache.ignite.examples.spark.SharedRDDExample

Regards,
--
Ilya Kasnacheev


ср, 26 дек. 2018 г. в 13:42, Mehdi Seydali <[hidden email]>:
spark example have been written with java not scala. i think this error relate to spark version. i have another question. for running this example is it  necessary to intsall spark before running?. 

On Wed, Dec 26, 2018 at 1:44 PM Ilya Kasnacheev <[hidden email]> wrote:
Hello!

You have to enable 'scala' profile in Maven to be able to build Spark examples. However, even after I rebuild with scala profile, netbeans will not show them propetly. You will still be able to run them all right, I think.

Regards,
--
Ilya Kasnacheev


ср, 26 дек. 2018 г. в 12:27, mehdi sey <[hidden email]>:
hi. i want to execute a RDD example in spark from example folder of ignite
2.7, but i have encounter and error just like an attached picture. in import
section you see an underlined line. i have added dependency but still is
remained why?

<http://apache-ignite-users.70518.x6.nabble.com/file/t2160/Screenshot_from_2018-12-26_10-31-16.png>
<http://apache-ignite-users.70518.x6.nabble.com/file/t2160/Screenshot_from_2018-12-26_10-34-19.png>



--
Sent from: http://apache-ignite-users.70518.x6.nabble.com/
mehdi sey mehdi sey
Reply | Threaded
Open this post in threaded view
|

Re: error in ignite-spark

In reply to this post by ilya.kasnacheev
after running example i have encounter the following error attache. why?

On Wed, Dec 26, 2018 at 4:04 PM Ilya Kasnacheev <[hidden email]> wrote:
Hello!

No you don't.

You can use the following maven commands from examples directory to run example:

mvn clean install -Pscala -DskipTests
mvn -Pscala exec:java -Dexec.mainClass=org.apache.ignite.examples.spark.SharedRDDExample

Regards,
--
Ilya Kasnacheev


ср, 26 дек. 2018 г. в 13:42, Mehdi Seydali <[hidden email]>:
spark example have been written with java not scala. i think this error relate to spark version. i have another question. for running this example is it  necessary to intsall spark before running?. 

On Wed, Dec 26, 2018 at 1:44 PM Ilya Kasnacheev <[hidden email]> wrote:
Hello!

You have to enable 'scala' profile in Maven to be able to build Spark examples. However, even after I rebuild with scala profile, netbeans will not show them propetly. You will still be able to run them all right, I think.

Regards,
--
Ilya Kasnacheev


ср, 26 дек. 2018 г. в 12:27, mehdi sey <[hidden email]>:
hi. i want to execute a RDD example in spark from example folder of ignite
2.7, but i have encounter and error just like an attached picture. in import
section you see an underlined line. i have added dependency but still is
remained why?

<http://apache-ignite-users.70518.x6.nabble.com/file/t2160/Screenshot_from_2018-12-26_10-31-16.png>
<http://apache-ignite-users.70518.x6.nabble.com/file/t2160/Screenshot_from_2018-12-26_10-34-19.png>



--
Sent from: http://apache-ignite-users.70518.x6.nabble.com/

Screenshot from 2018-12-28 15-14-10.png (353K) Download Attachment
mehdi sey mehdi sey
Reply | Threaded
Open this post in threaded view
|

Re: error in ignite-spark

In reply to this post by ilya.kasnacheev
yes  i have considered intellij. how i could use it?

On Fri, Dec 28, 2018 at 2:27 PM Ilya Kasnacheev <[hidden email]> wrote:
Hello!

Have you considered installing IDEA? Developing Ignite under Netbeans or Eclipse is an expert option which is clearly not your case.


Regards,
--
Ilya Kasnacheev


пт, 28 дек. 2018 г. в 10:09, Mehdi Seydali <[hidden email]>:
i have searched alot  but i couldn't find enable scala profile i maven. do you have any link?

On Wed, Dec 26, 2018 at 8:34 PM Ilya Kasnacheev <[hidden email]> wrote:
Hello!

With -Pscala command or via netbeans dialogs.

Regards,
--
Ilya Kasnacheev


ср, 26 дек. 2018 г. в 19:54, Mehdi Seydali <[hidden email]>:
How could i enable scala profile??

On Wed, 26 Dec 2018, 13:44 Ilya Kasnacheev, <[hidden email]> wrote:
Hello!

You have to enable 'scala' profile in Maven to be able to build Spark examples. However, even after I rebuild with scala profile, netbeans will not show them propetly. You will still be able to run them all right, I think.

Regards,
--
Ilya Kasnacheev


ср, 26 дек. 2018 г. в 12:27, mehdi sey <[hidden email]>:
hi. i want to execute a RDD example in spark from example folder of ignite
2.7, but i have encounter and error just like an attached picture. in import
section you see an underlined line. i have added dependency but still is
remained why?

<http://apache-ignite-users.70518.x6.nabble.com/file/t2160/Screenshot_from_2018-12-26_10-31-16.png>
<http://apache-ignite-users.70518.x6.nabble.com/file/t2160/Screenshot_from_2018-12-26_10-34-19.png>



--
Sent from: http://apache-ignite-users.70518.x6.nabble.com/
ilya.kasnacheev ilya.kasnacheev
Reply | Threaded
Open this post in threaded view
|

Re: error in ignite-spark

In reply to this post by mehdi sey
Hello!

This is not an error, see "BUILD SUCCESS".

You should consult netbeans' and IDEA's documentation with regard to how to use Maven inside of them.

Regards,
--
Ilya Kasnacheev


пт, 28 дек. 2018 г. в 14:46, Mehdi Seydali <[hidden email]>:
after running example i have encounter the following error attache. why?

On Wed, Dec 26, 2018 at 4:04 PM Ilya Kasnacheev <[hidden email]> wrote:
Hello!

No you don't.

You can use the following maven commands from examples directory to run example:

mvn clean install -Pscala -DskipTests
mvn -Pscala exec:java -Dexec.mainClass=org.apache.ignite.examples.spark.SharedRDDExample

Regards,
--
Ilya Kasnacheev


ср, 26 дек. 2018 г. в 13:42, Mehdi Seydali <[hidden email]>:
spark example have been written with java not scala. i think this error relate to spark version. i have another question. for running this example is it  necessary to intsall spark before running?. 

On Wed, Dec 26, 2018 at 1:44 PM Ilya Kasnacheev <[hidden email]> wrote:
Hello!

You have to enable 'scala' profile in Maven to be able to build Spark examples. However, even after I rebuild with scala profile, netbeans will not show them propetly. You will still be able to run them all right, I think.

Regards,
--
Ilya Kasnacheev


ср, 26 дек. 2018 г. в 12:27, mehdi sey <[hidden email]>:
hi. i want to execute a RDD example in spark from example folder of ignite
2.7, but i have encounter and error just like an attached picture. in import
section you see an underlined line. i have added dependency but still is
remained why?

<http://apache-ignite-users.70518.x6.nabble.com/file/t2160/Screenshot_from_2018-12-26_10-31-16.png>
<http://apache-ignite-users.70518.x6.nabble.com/file/t2160/Screenshot_from_2018-12-26_10-34-19.png>



--
Sent from: http://apache-ignite-users.70518.x6.nabble.com/
mehdi sey mehdi sey
Reply | Threaded
Open this post in threaded view
|

Re: error in ignite-spark

in line with error cleaning broadcast. what is mean?

On Fri, Dec 28, 2018 at 4:53 PM Ilya Kasnacheev <[hidden email]> wrote:
Hello!

This is not an error, see "BUILD SUCCESS".

You should consult netbeans' and IDEA's documentation with regard to how to use Maven inside of them.

Regards,
--
Ilya Kasnacheev


пт, 28 дек. 2018 г. в 14:46, Mehdi Seydali <[hidden email]>:
after running example i have encounter the following error attache. why?

On Wed, Dec 26, 2018 at 4:04 PM Ilya Kasnacheev <[hidden email]> wrote:
Hello!

No you don't.

You can use the following maven commands from examples directory to run example:

mvn clean install -Pscala -DskipTests
mvn -Pscala exec:java -Dexec.mainClass=org.apache.ignite.examples.spark.SharedRDDExample

Regards,
--
Ilya Kasnacheev


ср, 26 дек. 2018 г. в 13:42, Mehdi Seydali <[hidden email]>:
spark example have been written with java not scala. i think this error relate to spark version. i have another question. for running this example is it  necessary to intsall spark before running?. 

On Wed, Dec 26, 2018 at 1:44 PM Ilya Kasnacheev <[hidden email]> wrote:
Hello!

You have to enable 'scala' profile in Maven to be able to build Spark examples. However, even after I rebuild with scala profile, netbeans will not show them propetly. You will still be able to run them all right, I think.

Regards,
--
Ilya Kasnacheev


ср, 26 дек. 2018 г. в 12:27, mehdi sey <[hidden email]>:
hi. i want to execute a RDD example in spark from example folder of ignite
2.7, but i have encounter and error just like an attached picture. in import
section you see an underlined line. i have added dependency but still is
remained why?

<http://apache-ignite-users.70518.x6.nabble.com/file/t2160/Screenshot_from_2018-12-26_10-31-16.png>
<http://apache-ignite-users.70518.x6.nabble.com/file/t2160/Screenshot_from_2018-12-26_10-34-19.png>



--
Sent from: http://apache-ignite-users.70518.x6.nabble.com/

Screenshot from 2018-12-28 17-13-16.png (383K) Download Attachment