spark-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From r...@apache.org
Subject spark git commit: [SPARK-10046][SQL] Hive warehouse dir not set in current directory when not …
Date Sun, 08 Nov 2015 20:28:23 GMT
Repository: spark
Updated Branches:
  refs/heads/master 30c8ba71a -> 26739059b


[SPARK-10046][SQL] Hive warehouse dir not set in current directory when not …

Doc change to align with HiveConf default in terms of where to create `warehouse` directory.

Author: xin Wu <xinwu@us.ibm.com>

Closes #9365 from xwu0226/spark-10046-commit.


Project: http://git-wip-us.apache.org/repos/asf/spark/repo
Commit: http://git-wip-us.apache.org/repos/asf/spark/commit/26739059
Tree: http://git-wip-us.apache.org/repos/asf/spark/tree/26739059
Diff: http://git-wip-us.apache.org/repos/asf/spark/diff/26739059

Branch: refs/heads/master
Commit: 26739059bc39cd7aa7e0b1c16089c1cf8d8e4d7d
Parents: 30c8ba7
Author: xin Wu <xinwu@us.ibm.com>
Authored: Sun Nov 8 12:28:19 2015 -0800
Committer: Reynold Xin <rxin@databricks.com>
Committed: Sun Nov 8 12:28:19 2015 -0800

----------------------------------------------------------------------
 docs/sql-programming-guide.md | 6 ++++--
 1 file changed, 4 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/spark/blob/26739059/docs/sql-programming-guide.md
----------------------------------------------------------------------
diff --git a/docs/sql-programming-guide.md b/docs/sql-programming-guide.md
index 0858741..52e03b9 100644
--- a/docs/sql-programming-guide.md
+++ b/docs/sql-programming-guide.md
@@ -1627,8 +1627,10 @@ YARN cluster. The convenient way to do this is adding them through
the `--jars`
 When working with Hive one must construct a `HiveContext`, which inherits from `SQLContext`,
and
 adds support for finding tables in the MetaStore and writing queries using HiveQL. Users
who do
 not have an existing Hive deployment can still create a `HiveContext`.  When not configured
by the
-hive-site.xml, the context automatically creates `metastore_db` and `warehouse` in the current
-directory.
+hive-site.xml, the context automatically creates `metastore_db` in the current directory
and
+creates `warehouse` directory indicated by HiveConf, which defaults to `/user/hive/warehouse`.
+Note that you may need to grant write privilege on `/user/hive/warehouse` to the user who
starts
+the spark application.
 
 {% highlight scala %}
 // sc is an existing SparkContext.


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@spark.apache.org
For additional commands, e-mail: commits-help@spark.apache.org


Mime
View raw message