Re:How to run specific sparkSQL test with maven

2014-08-01 Thread witgo
You can try these commands‍
./sbt/sbt assembly‍./sbt/sbt test-only *.HiveCompatibilitySuite -Phive‍

‍





-- Original --
From:  田毅;tia...@asiainfo.com;
Date:  Fri, Aug 1, 2014 05:00 PM
To:  devdev@spark.apache.org; 

Subject:  How to run specific sparkSQL test with maven



Hi everyone!

Could any one tell me how to run specific sparkSQL test with maven?

For example:

I want to test HiveCompatibilitySuite.

I ran “mvm test -Dtest=HiveCompatibilitySuite”

It did not work. 

BTW, is there any information about how to build a test environment of sparkSQL?

I got this error when i ran the test.

It seems that the HiveCompatibilitySuite need a hadoop and hive environment, am 
I right?
 
Relative path in absolute URI: file:$%7Bsystem:test.tmp.dir%7D/tmp_showcrt1”

Re: Re:How to run specific sparkSQL test with maven

2014-08-01 Thread Jeremy Freeman
With maven you can run a particular test suite like this:

mvn -DwildcardSuites=org.apache.spark.sql.SQLQuerySuite test

see the note here (under Spark Tests in Maven):

http://spark.apache.org/docs/latest/building-with-maven.html



--
View this message in context: 
http://apache-spark-developers-list.1001551.n3.nabble.com/How-to-run-specific-sparkSQL-test-with-maven-tp7624p7626.html
Sent from the Apache Spark Developers List mailing list archive at Nabble.com.