diff options
author | Kousuke Saruta <sarutak@oss.nttdata.co.jp> | 2014-08-13 14:42:57 -0700 |
---|---|---|
committer | Michael Armbrust <michael@databricks.com> | 2014-08-13 14:42:57 -0700 |
commit | 869f06c759c29b09c8dc72e0e4034c03f908ba30 (patch) | |
tree | 5f333e31ff59d2adc97881d4e3dbc23597d90f8d | |
parent | fe4735958e62b1b32a01960503876000f3d2e520 (diff) | |
download | spark-869f06c759c29b09c8dc72e0e4034c03f908ba30.tar.gz spark-869f06c759c29b09c8dc72e0e4034c03f908ba30.tar.bz2 spark-869f06c759c29b09c8dc72e0e4034c03f908ba30.zip |
[SPARK-2963] [SQL] There no documentation about building to use HiveServer and CLI for SparkSQL
Author: Kousuke Saruta <sarutak@oss.nttdata.co.jp>
Closes #1885 from sarutak/SPARK-2963 and squashes the following commits:
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
-rw-r--r-- | README.md | 9 | ||||
-rw-r--r-- | docs/building-with-maven.md | 9 |
2 files changed, 18 insertions, 0 deletions
@@ -115,6 +115,15 @@ If your project is built with Maven, add this to your POM file's `<dependencies> </dependency> +## 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 those features. +You can use those features by setting `-Phive-thriftserver` when building Spark as follows. + + $ sbt/sbt -Phive-thriftserver assembly + + ## Configuration Please refer to the [Configuration guide](http://spark.apache.org/docs/latest/configuration.html) diff --git a/docs/building-with-maven.md b/docs/building-with-maven.md index 672d0ef114..4d87ab92ce 100644 --- a/docs/building-with-maven.md +++ b/docs/building-with-maven.md @@ -96,6 +96,15 @@ 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 those features. +You can use those features by setting `-Phive-thriftserver` when building Spark as follows. +{% highlight bash %} +mvn -Phive-thriftserver assembly +{% endhighlight %} + # Spark Tests in Maven Tests are run by default via the [ScalaTest Maven plugin](http://www.scalatest.org/user_guide/using_the_scalatest_maven_plugin). |