Repository: spark
Updated Branches:
  refs/heads/master 300407415 -> 323cd92b9


[SPARK-2963] REGRESSION - The description about how to build for using CLI and 
Thrift JDBC server is absent in proper document  -

The most important things I mentioned in #1885 is as follows.

* People who build Spark is not always programmer.
* If a person who build Spark is not a programmer, he/she won't read 
programmer's guide before building.

So, how to build for using CLI and JDBC server is not only in programmer's 
guide.

Author: Kousuke Saruta <[email protected]>

Closes #2080 from sarutak/SPARK-2963 and squashes the following commits:

ee07c76 [Kousuke Saruta] Modified regression of the description about building 
for using Thrift JDBC server and CLI
ed53329 [Kousuke Saruta] Modified description and notaton of proper noun
07c59fc [Kousuke Saruta] Added a description about how to build to use 
HiveServer and CLI for SparkSQL to building-with-maven.md
6e6645a [Kousuke Saruta] Merge branch 'master' of git://git.apache.org/spark 
into SPARK-2963
c88fa93 [Kousuke Saruta] Added a description about building to use HiveServer 
and CLI for SparkSQL


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

Branch: refs/heads/master
Commit: 323cd92b9b762dc3ae456cc97564a71dd6e58244
Parents: 3004074
Author: Kousuke Saruta <[email protected]>
Authored: Fri Aug 22 22:28:05 2014 -0700
Committer: Patrick Wendell <[email protected]>
Committed: Fri Aug 22 22:34:24 2014 -0700

----------------------------------------------------------------------
 README.md                   |  5 ++++-
 docs/building-with-maven.md | 11 +++++++----
 2 files changed, 11 insertions(+), 5 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/spark/blob/323cd92b/README.md
----------------------------------------------------------------------
diff --git a/README.md b/README.md
index c25a4fc..f75226c 100644
--- a/README.md
+++ b/README.md
@@ -118,7 +118,10 @@ If your project is built with Maven, add this to your POM 
file's `<dependencies>
 ## A Note About Thrift JDBC server and CLI for Spark SQL
 
 Spark SQL supports Thrift JDBC server and CLI.
-See sql-programming-guide.md for more information about using the JDBC server.
+See sql-programming-guide.md for more information about using the JDBC server 
and CLI.
+You can use those features by setting `-Phive` when building Spark as follows.
+
+    $ sbt/sbt -Phive  assembly
 
 ## Configuration
 

http://git-wip-us.apache.org/repos/asf/spark/blob/323cd92b/docs/building-with-maven.md
----------------------------------------------------------------------
diff --git a/docs/building-with-maven.md b/docs/building-with-maven.md
index a7d7bd3..bce7412 100644
--- a/docs/building-with-maven.md
+++ b/docs/building-with-maven.md
@@ -96,10 +96,13 @@ mvn -Pyarn -Phadoop-2.4 -Dhadoop.version=2.4.0 -DskipTests 
clean package
 mvn -Pyarn-alpha -Phadoop-2.3 -Dhadoop.version=2.3.0 -Dyarn.version=0.23.7 
-DskipTests clean package
 {% endhighlight %}
 
-# Building Thrift JDBC server and CLI for Spark SQL
-
-Spark SQL supports Thrift JDBC server and CLI. See sql-programming-guide.md 
for 
-more information about the JDBC server.
+# Building With Hive and JDBC Support
+To enable Hive integration for Spark SQL along with its JDBC server and CLI,
+add the `-Phive` profile to your existing build options.
+{% highlight bash %}
+# Apache Hadoop 2.4.X with Hive support
+mvn -Pyarn -Phadoop-2.4 -Dhadoop.version=2.4.0 -Phive -DskipTests clean package
+{% endhighlight %}
 
 # Spark Tests in Maven
 


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to