File tree Expand file tree Collapse file tree 3 files changed +6
-3
lines changed
sql/hive-thriftserver/src/test/scala/org/apache/spark/sql/hive/thriftserver Expand file tree Collapse file tree 3 files changed +6
-3
lines changed Original file line number Diff line number Diff line change @@ -57,3 +57,4 @@ metastore_db/
5757metastore /
5858warehouse /
5959TempStatsStore /
60+ sql /hive-thriftserver /test_warehouses
Original file line number Diff line number Diff line change @@ -31,10 +31,11 @@ class CliSuite extends FunSuite with BeforeAndAfterAll with TestUtils {
3131 override def beforeAll () {
3232 val pb = new ProcessBuilder (
3333 " ../../bin/spark-class" ,
34+ " -Dspark.master=local" ,
3435 SparkSQLCLIDriver .getClass.getCanonicalName.stripSuffix(" $" ),
35- " -hiveconf" ,
36+ " -- hiveconf" ,
3637 s " javax.jdo.option.ConnectionURL=jdbc:derby:;databaseName= $METASTORE_PATH;create=true " ,
37- " -hiveconf" ,
38+ " -- hiveconf" ,
3839 " hive.metastore.warehouse.dir=" + WAREHOUSE_PATH )
3940
4041 process = pb.start()
Original file line number Diff line number Diff line change @@ -58,7 +58,8 @@ class HiveThriftServer2Suite extends FunSuite with BeforeAndAfterAll with TestUt
5858 // hard to clean up Hive resources entirely, so we just start a new process and kill
5959 // that process for cleanup.
6060 val defaultArgs = Seq (
61- " ../../sbin/start-thriftserver.sh" ,
61+ " ../../bin/spark-class" ,
62+ " -Dspark.master=local" ,
6263 HiveThriftServer2 .getClass.getCanonicalName.stripSuffix(" $" ),
6364 " --hiveconf" ,
6465 " hive.root.logger=INFO,console" ,
You can’t perform that action at this time.
0 commit comments