diff --git a/spark/README.md b/spark/README.md index 9796b2bc..0df5d769 100755 --- a/spark/README.md +++ b/spark/README.md @@ -18,10 +18,10 @@ limitations under the License. # Apache HBase™ Spark Connector -## Spark, Scala and other configurable options +## Spark, Scala and Configurable Options -To generate an artifact for a different [Spark version](https://mvnrepository.com/artifact/org.apache.spark/spark-core) and/or [Scala version](https://www.scala-lang.org/download/all.html), -[Hadoop version](https://mvnrepository.com/artifact/org.apache.hadoop/hadoop-core), or [HBase version](https://mvnrepository.com/artifact/org.apache.hbase/hbase) pass command-line options as follows (changing version numbers appropriately): +To generate an artifact for a different [Spark version](https://mvnrepository.com/artifact/org.apache.spark/spark-core) and/or [Scala version](https://www.scala-lang.org/download/all.html), +[Hadoop version](https://mvnrepository.com/artifact/org.apache.hadoop/hadoop-core), or [HBase version](https://mvnrepository.com/artifact/org.apache.hbase/hbase), pass command-line options as follows (changing version numbers appropriately): ``` $ mvn -Dspark.version=3.1.2 -Dscala.version=2.12.10 -Dhadoop-three.version=3.2.0 -Dscala.binary.version=2.12 -Dhbase.version=2.4.8 clean install @@ -29,10 +29,9 @@ $ mvn -Dspark.version=3.1.2 -Dscala.version=2.12.10 -Dhadoop-three.version=3.2.0 Note: to build the connector with Spark 2.x, compile it with `-Dscala.binary.version=2.11` and use the profile `-Dhadoop.profile=2.0` -## Configuration and installation +## Configuration and Installation **Client-side** (Spark) configuration: -- The HBase configuration file `hbase-site.xml` should be made available to Spark, it -can be copied to `$SPARK_CONF_DIR` (default is $SPARK_HOME/conf`) +- The HBase configuration file `hbase-site.xml` should be made available to Spark, it can be copied to `$SPARK_CONF_DIR` (default is $SPARK_HOME/conf`) **Server-side** (HBase region servers) configuration: - The following jars needs to be in the CLASSPATH of the HBase region servers: