You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@spark.apache.org by riginos <sa...@gmail.com> on 2015/01/24 19:33:46 UTC
Eclipse on spark
How to compile a Spark project in Scala IDE for Eclipse? I got many scala
scripts and i no longer want to load them from scala-shell what can i do?
--
View this message in context: http://apache-spark-user-list.1001560.n3.nabble.com/Eclipse-on-spark-tp21350.html
Sent from the Apache Spark User List mailing list archive at Nabble.com.
---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@spark.apache.org
For additional commands, e-mail: user-help@spark.apache.org
Re: Eclipse on spark
Posted by Harihar Nahak <hn...@wynyardgroup.com>.
Download pre build binary for window and attached all required jars in your
project eclipsclass-path and go head with your eclipse. make sure you have
same java version
On 25 January 2015 at 07:33, riginos [via Apache Spark User List] <
ml-node+s1001560n21350h14@n3.nabble.com> wrote:
> How to compile a Spark project in Scala IDE for Eclipse? I got many scala
> scripts and i no longer want to load them from scala-shell what can i do?
>
> ------------------------------
> If you reply to this email, your message will be added to the discussion
> below:
>
> http://apache-spark-user-list.1001560.n3.nabble.com/Eclipse-on-spark-tp21350.html
> To start a new topic under Apache Spark User List, email
> ml-node+s1001560n1h95@n3.nabble.com
> To unsubscribe from Apache Spark User List, click here
> <http://apache-spark-user-list.1001560.n3.nabble.com/template/NamlServlet.jtp?macro=unsubscribe_by_code&node=1&code=aG5haGFrQHd5bnlhcmRncm91cC5jb218MXwtMTgxOTE5MTkyOQ==>
> .
> NAML
> <http://apache-spark-user-list.1001560.n3.nabble.com/template/NamlServlet.jtp?macro=macro_viewer&id=instant_html%21nabble%3Aemail.naml&base=nabble.naml.namespaces.BasicNamespace-nabble.view.web.template.NabbleNamespace-nabble.view.web.template.NodeNamespace&breadcrumbs=notify_subscribers%21nabble%3Aemail.naml-instant_emails%21nabble%3Aemail.naml-send_instant_email%21nabble%3Aemail.naml>
>
--
Regards,
Harihar Nahak
BigData Developer
Wynyard
Email:hnahak@wynyardgroup.com | Extn: 8019
-----
--Harihar
--
View this message in context: http://apache-spark-user-list.1001560.n3.nabble.com/Eclipse-on-spark-tp21350p21359.html
Sent from the Apache Spark User List mailing list archive at Nabble.com.
Re: Eclipse on spark
Posted by Jörn Franke <jo...@gmail.com>.
I recommend using a build tool within eclipse, such as Gradle or Maven
Le 24 janv. 2015 19:34, "riginos" <sa...@gmail.com> a écrit :
> How to compile a Spark project in Scala IDE for Eclipse? I got many scala
> scripts and i no longer want to load them from scala-shell what can i do?
>
>
>
> --
> View this message in context:
> http://apache-spark-user-list.1001560.n3.nabble.com/Eclipse-on-spark-tp21350.html
> Sent from the Apache Spark User List mailing list archive at Nabble.com.
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscribe@spark.apache.org
> For additional commands, e-mail: user-help@spark.apache.org
>
>
Re: Eclipse on spark
Posted by Akhil Das <ak...@sigmoidanalytics.com>.
You can install IntelliJ IDE
<http://www.jetbrains.com/idea/features/scala.html> rather than eclipse
which has a lot more community support and features. Once you install it,
follow this simple post
<http://confluence.jetbrains.com/display/IntelliJIDEA/Scala> to get started
with scala. Now you have an IDE which works with Scala, Then for Spark Follow
the below steps:
*1. Install sbt plugins: *Goto File -> Settings -> Plugins -> Install
IntelliJ Plugins -> Search for sbt and install it
[image: Inline image 1]
*2. After sbt plugin install, restart intellij and Start New Scala sbt
project (File -> New Project -> Scala -> SBT*
*[image: Inline image 2]*
*[image: Inline image 3]*
*3. Now open up the build.sbt file and add the all the dependencies(Here
i'm adding spark 1.1.0 with hadoop 2.4.0 dependency)*
*[image: Inline image 4]*
*4. Now Create a new Scala class in src -> main -> scala and type in your
code.*
*[image: Inline image 6]*
*5. Right click and hit Run :)*
*[image: Inline image 7]*
*[image: Inline image 8]*
Thanks
Best Regards
On Mon, Jan 26, 2015 at 5:17 PM, vaquar khan <va...@gmail.com> wrote:
> I am using SBT
> On 26 Jan 2015 15:54, "Luke Wilson-Mawer" <lu...@gmail.com>
> wrote:
>
>> I use this: http://scala-ide.org/
>>
>> I also use Maven with this archetype:
>> https://github.com/davidB/scala-archetype-simple. To be frank though,
>> you should be fine using SBT.
>>
>> On Sat, Jan 24, 2015 at 6:33 PM, riginos <sa...@gmail.com>
>> wrote:
>>
>>> How to compile a Spark project in Scala IDE for Eclipse? I got many scala
>>> scripts and i no longer want to load them from scala-shell what can i do?
>>>
>>>
>>>
>>> --
>>> View this message in context:
>>> http://apache-spark-user-list.1001560.n3.nabble.com/Eclipse-on-spark-tp21350.html
>>> Sent from the Apache Spark User List mailing list archive at Nabble.com.
>>>
>>> ---------------------------------------------------------------------
>>> To unsubscribe, e-mail: user-unsubscribe@spark.apache.org
>>> For additional commands, e-mail: user-help@spark.apache.org
>>>
>>>
>>
Re: Eclipse on spark
Posted by vaquar khan <va...@gmail.com>.
I am using SBT
On 26 Jan 2015 15:54, "Luke Wilson-Mawer" <lu...@gmail.com> wrote:
> I use this: http://scala-ide.org/
>
> I also use Maven with this archetype:
> https://github.com/davidB/scala-archetype-simple. To be frank though, you
> should be fine using SBT.
>
> On Sat, Jan 24, 2015 at 6:33 PM, riginos <sa...@gmail.com> wrote:
>
>> How to compile a Spark project in Scala IDE for Eclipse? I got many scala
>> scripts and i no longer want to load them from scala-shell what can i do?
>>
>>
>>
>> --
>> View this message in context:
>> http://apache-spark-user-list.1001560.n3.nabble.com/Eclipse-on-spark-tp21350.html
>> Sent from the Apache Spark User List mailing list archive at Nabble.com.
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: user-unsubscribe@spark.apache.org
>> For additional commands, e-mail: user-help@spark.apache.org
>>
>>
>
Re: Eclipse on spark
Posted by Luke Wilson-Mawer <lu...@gmail.com>.
I use this: http://scala-ide.org/
I also use Maven with this archetype:
https://github.com/davidB/scala-archetype-simple. To be frank though, you
should be fine using SBT.
On Sat, Jan 24, 2015 at 6:33 PM, riginos <sa...@gmail.com> wrote:
> How to compile a Spark project in Scala IDE for Eclipse? I got many scala
> scripts and i no longer want to load them from scala-shell what can i do?
>
>
>
> --
> View this message in context:
> http://apache-spark-user-list.1001560.n3.nabble.com/Eclipse-on-spark-tp21350.html
> Sent from the Apache Spark User List mailing list archive at Nabble.com.
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscribe@spark.apache.org
> For additional commands, e-mail: user-help@spark.apache.org
>
>