Skip to content

Commit ff1bf3f

Browse files
Sanket ChintapalliGitHub Enterprise
authored andcommitted
Merge pull request apache#17 from bzhang02/add_shc_for_spark_3
[YSPARK-1516] Add customized shc-1.1.2 jar for spark 3
2 parents eccf92c + 3db0ef7 commit ff1bf3f

File tree

4 files changed

+10
-6
lines changed

4 files changed

+10
-6
lines changed

README.md

Lines changed: 9 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -4,13 +4,17 @@ spark-starter contains simple examples of using Spark. These simple examples sho
44

55
#Running with Maven
66

7-
Before creating a package:
8-
9-
You will need to install the hortonworks Spark HBase Connector jar in your maven repository locally.
10-
7+
To use hortonworks Spark HBase Connector, you will need to specify a compatible shc-core jar in pom.xml.
118
```
12-
mvn install:install-file -Dfile=./lib/shc-core-1.1.2-2.2-s_2.11-SNAPSHOT.jar -DgroupId=com.hortonworks -DartifactId=shc-core -Dversion=1.0 -Dpackaging=jar
9+
<configuration>
10+
<groupId>com.hortonworks</groupId>
11+
<artifactId>shc-core</artifactId>
12+
<version>1.0</version>
13+
<packaging>jar</packaging>
14+
<file>${basedir}/lib/shc-core-1.1.2-2.4-s_2.11-SNAPSHOT.jar</file>
15+
</configuration>
1316
```
17+
For spark 2.4, you should use ${basedir}/lib/shc-core-1.1.2-2.4-s_2.11-SNAPSHOT.jar. For spark 3.0, you should use ${basedir}/lib/shc-core-1.1.2-3.0-s_2.12-SNAPSHOT.jar.
1418

1519
To create a package:
1620

538 KB
Binary file not shown.
322 KB
Binary file not shown.

pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -132,7 +132,7 @@
132132
<artifactId>shc-core</artifactId>
133133
<version>1.0</version>
134134
<packaging>jar</packaging>
135-
<file>${basedir}/lib/shc-core-1.1.1-2.0-s_2.11-SNAPSHOT.jar</file>
135+
<file>${basedir}/lib/shc-core-1.1.2-2.4-s_2.11-SNAPSHOT.jar</file>
136136
</configuration>
137137
</execution>
138138
</executions>

0 commit comments

Comments
 (0)