RE: IntelliJ IDEA cannot compile TreeNode.scala

2014-06-27 Thread Yan Zhou.sc
: dev@spark.apache.org Subject: Re: IntelliJ IDEA cannot compile TreeNode.scala IntelliJ parser/analyzer/compiler behaves differently from Scala compiler, and sometimes lead to inconsistent behavior. This is one of the case. In general while we use IntelliJ, we don't use it to build stu

RE: IntelliJ IDEA cannot compile TreeNode.scala

2014-06-27 Thread Ron Chung Hu (Ron Hu, ARC)
Thanks Reynold for advice. Ron -Original Message- From: Reynold Xin [mailto:r...@databricks.com] Sent: Thursday, June 26, 2014 8:57 PM To: dev@spark.apache.org Subject: Re: IntelliJ IDEA cannot compile TreeNode.scala IntelliJ parser/analyzer/compiler behaves differently from Scala

Re: IntelliJ IDEA cannot compile TreeNode.scala

2014-06-26 Thread Ulanov, Alexander
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 co

Re: IntelliJ IDEA cannot compile TreeNode.scala

2014-06-26 Thread Reynold Xin
IntelliJ parser/analyzer/compiler behaves differently from Scala compiler, and sometimes lead to inconsistent behavior. This is one of the case. In general while we use IntelliJ, we don't use it to build stuff. I personally always build in command line with sbt or Maven. On Thu, Jun 26, 2014 at

IntelliJ IDEA cannot compile TreeNode.scala

2014-06-26 Thread Ron Chung Hu (Ron Hu, ARC)
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 ID