Hi Ron Hu, The Idea project generated with "update gen-idea" didn't work properly for me as well. My workaround is to open corresponding Maven project in Idea (File->Open look for .bom file). To compile the opened project I use Maven window in Idea (View->show Maven ). However, tests fail to compile due to some mess with paths (it tries to create something like c:\project\blabla\c:\project\tests). I am also able to compile separate files by right-clicking on a file in Idea project tree and choosing "compile". This solves the test problem, because I am able to run test files with this approach.
Best regards, Alexander 27.06.2014, в 6:43, "Ron Chung Hu (Ron Hu, ARC)" <ron...@huawei.com> написал(а): > Hi, > > I am a Spark newbie. I just downloaded Spark1.0.0 and latest IntelliJ > version 13.1 with Scala plug-in. At spark-1.0.0 top level, I executed the > following SBT commands and they ran successfully. > > > - ./sbt/sbt assembly > > - ./sbt/sbt update gen-idea > > After opening IntelliJ IDEA, I tried to compile > ...../sql/catalyst/trees/TreeNode.scala inside IntelliJ. I got many compile > errors such as "cannot resolve symbol children", "cannot resolve symbol id". > Actually both symbols are defined in the same file. As Spark was built > successfully with "sbt/sbt assembly" command, I wondered what went wrong in > compiling TreeNode.scala. Any pointer will be appreciated. > > Thanks. > > Best, > Ron Hu >