Github user felixcheung commented on a diff in the pull request:
https://github.com/apache/spark/pull/16247#discussion_r91845399
--- Diff: R/pkg/R/sparkR.R ---
@@ -362,6 +362,10 @@ sparkR.session <- function(
enableHiveSupport = TRUE,
...) {
+ if (length(sparkConfig[["spark.sql.warehouse.dir"]]) == 0) {
+ sparkConfig[["spark.sql.warehouse.dir"]] <- tempdir()
--- End diff --
Plus this property `spark.sql.warehouse.dir` could also be set in
spark-defaults.conf which isn't known by this method at this point. By setting
it here it would override any other possible values from spark config or hive
site.
---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]