Re: Run ScalaTest inside Intellij IDEA

2014-06-18 Thread Doris Xin
Here's the JIRA on this known issue: https://issues.apache.org/jira/browse/SPARK-1835 tl;dr: manually delete mesos-0.18.1.jar from lib_managed/jars after running sbt/sbt gen-idea. You should be able to run units inside Intellij after doing so. Doris On Tue, Jun 17, 2014 at 6:10 PM, Henry Saputr

Re: Run ScalaTest inside Intellij IDEA

2014-06-17 Thread Henry Saputra
I got stuck on this one too after did git pull from master. Have not been able to resolve it yet =( - Henry On Wed, Jun 11, 2014 at 6:51 AM, Yijie Shen wrote: > Thx Qiuzhuang, the problems disappeared after I add assembly jar at the head > of list dependencies in *.iml, but while running test

Re: Run ScalaTest inside Intellij IDEA

2014-06-11 Thread Yijie Shen
I got a clean version of the master branch, and do the steps as follows: export MAVEN_OPTS="-Xmx2g -XX:MaxPermSize=512M -XX:ReservedCodeCacheSize=512m” mvn -U -Dhadoop.version=2.2.0 -DskipTests clean package after these steps, I open the project in IDEA through pom.xml in the root folder, but wh

Re: Run ScalaTest inside Intellij IDEA

2014-06-11 Thread Qiuzhuang Lian
I run into this issue too today via 'mvn install -DskipTests' command today, then I issue a mvn clean and rebuild and it works. Thanks, Qiuzhuang On Wed, Jun 11, 2014 at 9:51 PM, Yijie Shen wrote: > Thx Qiuzhuang, the problems disappeared after I add assembly jar at the > head of list dependen

Re: Run ScalaTest inside Intellij IDEA

2014-06-11 Thread Yijie Shen
Thx Qiuzhuang, the problems disappeared after I add assembly jar at the head of list dependencies in *.iml, but while running test in Spark SQL(SQLQuerySuite in sql-core), another two error occurs: Error 1: Error:scalac: while compiling: /Users/yijie/code/apache.spark.master/sql/core/src

Re: Run ScalaTest inside Intellij IDEA

2014-06-10 Thread Qiuzhuang Lian
I also run into this problem when running examples in IDEA. The issue looks that it uses depends on too many jars and that the classpath seems to have length limit. So I import the assembly jar and put the head of the list dependent path and it works. Thanks, Qiuzhuang On Wed, Jun 11, 2014 at 10