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