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/
57
57
metastore /
58
58
warehouse /
59
59
TempStatsStore /
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 {
31
31
override def beforeAll () {
32
32
val pb = new ProcessBuilder (
33
33
" ../../bin/spark-class" ,
34
+ " -Dspark.master=local" ,
34
35
SparkSQLCLIDriver .getClass.getCanonicalName.stripSuffix(" $" ),
35
- " -hiveconf" ,
36
+ " -- hiveconf" ,
36
37
s " javax.jdo.option.ConnectionURL=jdbc:derby:;databaseName= $METASTORE_PATH;create=true " ,
37
- " -hiveconf" ,
38
+ " -- hiveconf" ,
38
39
" hive.metastore.warehouse.dir=" + WAREHOUSE_PATH )
39
40
40
41
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
58
58
// hard to clean up Hive resources entirely, so we just start a new process and kill
59
59
// that process for cleanup.
60
60
val defaultArgs = Seq (
61
- " ../../sbin/start-thriftserver.sh" ,
61
+ " ../../bin/spark-class" ,
62
+ " -Dspark.master=local" ,
62
63
HiveThriftServer2 .getClass.getCanonicalName.stripSuffix(" $" ),
63
64
" --hiveconf" ,
64
65
" hive.root.logger=INFO,console" ,
You can’t perform that action at this time.
0 commit comments