Skip to content

Commit

Permalink
move SPARK_CLASSPATH setup to wiki page
Browse files Browse the repository at this point in the history
  • Loading branch information
weiqingy committed Apr 25, 2017
1 parent fe0e38b commit 039ab7a
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -137,9 +137,7 @@ For running in a Kerberos enabled cluster, the user has to include HBase related
retrieval and renewal is done by Spark, and is independent of the connector. In other words, the user needs to initiate the
environment in the normal way, either through kinit or by providing principal/keytab. The following examples show how to run
in a secure cluster with both yarn-client and yarn-cluster mode. Note that if your Spark does not contain [SPARK-20059](https://github.com/apache/spark/pull/17388),
which is in Apache Spark 2.1.1+, you need to set SPARK_CLASSPATH for both modes.

export SPARK_CLASSPATH=/usr/hdp/current/hbase-client/lib/hbase-common.jar:/usr/hdp/current/hbase-client/lib/hbase-client.jar:/usr/hdp/current/hbase-client/lib/hbase-server.jar:/usr/hdp/current/hbase-client/lib/hbase-protocol.jar:/usr/hdp/current/hbase-client/lib/guava-12.0.1.jar
which is in Apache Spark 2.1.1+, you need to set SPARK_CLASSPATH for both modes (refer [here](https://github.com/hortonworks-spark/shc/wiki/1.-Set-SPARK_CLASSPATH)).

Suppose hrt_qa is a headless account, user can use following command for kinit:

Expand Down

0 comments on commit 039ab7a

Please sign in to comment.