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 7:43 PM, Ron Chung Hu (Ron Hu, ARC) <
ron...@huawei.com> wrote:

> 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
>
>

Reply via email to