Re: Opening Spark on IntelliJ IDEA
Hi, are you using spark for a java or scala project and can you post your pom file please ? Regards, Olivier. 2014-11-27 7:07 GMT+01:00 Taeyun Kim taeyun@innowireless.com: Hi, An information about the error. On File | Project Structure window, the following error message is displayed with pink background: Library ‘Maven: org.scala-lang:scala-compiler-bundle:2.10.4’ is not used Can it be a hint? *From:* Taeyun Kim [mailto:taeyun@innowireless.com] *Sent:* Thursday, November 27, 2014 3:00 PM *To:* 'user' *Subject:* Opening Spark on IntelliJ IDEA Hi, I’m trying to open the Spark source code with IntelliJ IDEA. I opened pom.xml on the Spark source code root directory. Project tree is displayed in the Project tool window. But, when I open a source file, say org.apache.spark.deploy.yarn.ClientBase.scala, a lot of red marks shows on the editor scroll bar. It is the ‘Cannot resolve symbol’ error. Even it cannot resolve StringOps.format. How can it be fixed? The versions I’m using are as follows: - OS: Windows 7 - IntelliJ IDEA: 13.1.6 - Scala plugin: 0.41.2 - Spark source code: 1.1.1 (with a few file modified by me) I’ve tried to fix this and error state changed somewhat, but eventually I gave up fixing it on my own (with googling) and deleted .idea folder and started over. So now I’m seeing the errors described above. Thank you.
Re: Opening Spark on IntelliJ IDEA
Restarting the intellij multiple times and adding/changing project's SDK would resolve the issue. Thanks Best Regards On Thu, Nov 27, 2014 at 11:30 AM, Taeyun Kim taeyun@innowireless.com wrote: Hi, I’m trying to open the Spark source code with IntelliJ IDEA. I opened pom.xml on the Spark source code root directory. Project tree is displayed in the Project tool window. But, when I open a source file, say org.apache.spark.deploy.yarn.ClientBase.scala, a lot of red marks shows on the editor scroll bar. It is the ‘Cannot resolve symbol’ error. Even it cannot resolve StringOps.format. How can it be fixed? The versions I’m using are as follows: - OS: Windows 7 - IntelliJ IDEA: 13.1.6 - Scala plugin: 0.41.2 - Spark source code: 1.1.1 (with a few file modified by me) I’ve tried to fix this and error state changed somewhat, but eventually I gave up fixing it on my own (with googling) and deleted .idea folder and started over. So now I’m seeing the errors described above. Thank you.
Re: Opening Spark on IntelliJ IDEA
I recently posted instructions on loading Spark in Intellij from scratch: https://cwiki.apache.org/confluence/display/SPARK/Useful+Developer+Tools#UsefulDeveloperTools-BuildingSparkinIntelliJIDEA You need to do a few extra steps for the YARN project to work. Also, for questions like this that relate to developing Spark, you can e-mail the dev@ list as well. On Sat, Nov 29, 2014 at 12:15 PM, Akhil Das ak...@sigmoidanalytics.com wrote: Restarting the intellij multiple times and adding/changing project's SDK would resolve the issue. Thanks Best Regards On Thu, Nov 27, 2014 at 11:30 AM, Taeyun Kim taeyun@innowireless.com wrote: Hi, I'm trying to open the Spark source code with IntelliJ IDEA. I opened pom.xml on the Spark source code root directory. Project tree is displayed in the Project tool window. But, when I open a source file, say org.apache.spark.deploy.yarn.ClientBase.scala, a lot of red marks shows on the editor scroll bar. It is the 'Cannot resolve symbol' error. Even it cannot resolve StringOps.format. How can it be fixed? The versions I'm using are as follows: - OS: Windows 7 - IntelliJ IDEA: 13.1.6 - Scala plugin: 0.41.2 - Spark source code: 1.1.1 (with a few file modified by me) I've tried to fix this and error state changed somewhat, but eventually I gave up fixing it on my own (with googling) and deleted .idea folder and started over. So now I'm seeing the errors described above. Thank you. - To unsubscribe, e-mail: user-unsubscr...@spark.apache.org For additional commands, e-mail: user-h...@spark.apache.org
Opening Spark on IntelliJ IDEA
Hi, I'm trying to open the Spark source code with IntelliJ IDEA. I opened pom.xml on the Spark source code root directory. Project tree is displayed in the Project tool window. But, when I open a source file, say org.apache.spark.deploy.yarn.ClientBase.scala, a lot of red marks shows on the editor scroll bar. It is the 'Cannot resolve symbol' error. Even it cannot resolve StringOps.format. How can it be fixed? The versions I'm using are as follows: - OS: Windows 7 - IntelliJ IDEA: 13.1.6 - Scala plugin: 0.41.2 - Spark source code: 1.1.1 (with a few file modified by me) I've tried to fix this and error state changed somewhat, but eventually I gave up fixing it on my own (with googling) and deleted .idea folder and started over. So now I'm seeing the errors described above. Thank you.
RE: Opening Spark on IntelliJ IDEA
Hi, An information about the error. On File | Project Structure window, the following error message is displayed with pink background: Library 'Maven: org.scala-lang:scala-compiler-bundle:2.10.4' is not used Can it be a hint? From: Taeyun Kim [mailto:taeyun@innowireless.com] Sent: Thursday, November 27, 2014 3:00 PM To: 'user' Subject: Opening Spark on IntelliJ IDEA Hi, I'm trying to open the Spark source code with IntelliJ IDEA. I opened pom.xml on the Spark source code root directory. Project tree is displayed in the Project tool window. But, when I open a source file, say org.apache.spark.deploy.yarn.ClientBase.scala, a lot of red marks shows on the editor scroll bar. It is the 'Cannot resolve symbol' error. Even it cannot resolve StringOps.format. How can it be fixed? The versions I'm using are as follows: - OS: Windows 7 - IntelliJ IDEA: 13.1.6 - Scala plugin: 0.41.2 - Spark source code: 1.1.1 (with a few file modified by me) I've tried to fix this and error state changed somewhat, but eventually I gave up fixing it on my own (with googling) and deleted .idea folder and started over. So now I'm seeing the errors described above. Thank you.