spark-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Koert Kuipers <>
Subject create SparkSession without loading defaults for unit tests
Date Wed, 17 Aug 2016 02:23:20 GMT
for unit tests i would like to create a SparkSession that does not load
anything from system properties, similar to:

new SQLContext(new SparkContext(new SparkConf(loadDefaults = false)))

how do i go about doing this? i dont see a way.

thanks! koert

View raw message