Skip to content

Commit 9efe84e

Browse files
committed
Bumped to 2.4-SNAPSHOT
1 parent 848b99f commit 9efe84e

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

CONTRIBUTING.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -122,7 +122,7 @@ This will produce a single jar file for the connector in the `./build/libs` dire
122122

123123
You can then launch PySpark with the connector available via:
124124

125-
pyspark --jars build/libs/marklogic-spark-connector-2.3-SNAPSHOT.jar
125+
pyspark --jars build/libs/marklogic-spark-connector-2.4-SNAPSHOT.jar
126126

127127
The below command is an example of loading data from the test application deployed via the instructions at the top of
128128
this page.
@@ -198,7 +198,7 @@ The Spark master GUI is at <http://localhost:8080>. You can use this to view det
198198

199199
Now that you have a Spark cluster running, you just need to tell PySpark to connect to it:
200200

201-
pyspark --master spark://NYWHYC3G0W:7077 --jars build/libs/marklogic-spark-connector-2.3-SNAPSHOT.jar
201+
pyspark --master spark://NYWHYC3G0W:7077 --jars build/libs/marklogic-spark-connector-2.4-SNAPSHOT.jar
202202

203203
You can then run the same commands as shown in the PySpark section above. The Spark master GUI will allow you to
204204
examine details of each of the commands that you run.
@@ -217,12 +217,12 @@ You will need the connector jar available, so run `./gradlew clean shadowJar` if
217217
You can then run a test Python program in this repository via the following (again, change the master address as
218218
needed); note that you run this outside of PySpark, and `spark-submit` is available after having installed PySpark:
219219

220-
spark-submit --master spark://NYWHYC3G0W:7077 --jars build/libs/marklogic-spark-connector-2.3-SNAPSHOT.jar src/test/python/test_program.py
220+
spark-submit --master spark://NYWHYC3G0W:7077 --jars build/libs/marklogic-spark-connector-2.4-SNAPSHOT.jar src/test/python/test_program.py
221221

222222
You can also test a Java program. To do so, first move the `com.marklogic.spark.TestProgram` class from `src/test/java`
223223
to `src/main/java`. Then run `./gradlew clean shadowJar` to rebuild the connector jar. Then run the following:
224224

225-
spark-submit --master spark://NYWHYC3G0W:7077 --class com.marklogic.spark.TestProgram build/libs/marklogic-spark-connector-2.3-SNAPSHOT.jar
225+
spark-submit --master spark://NYWHYC3G0W:7077 --class com.marklogic.spark.TestProgram build/libs/marklogic-spark-connector-2.4-SNAPSHOT.jar
226226

227227
Be sure to move `TestProgram` back to `src/test/java` when you are done.
228228

build.gradle

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ plugins {
1111
}
1212

1313
group 'com.marklogic'
14-
version '2.3-SNAPSHOT'
14+
version '2.4-SNAPSHOT'
1515

1616
java {
1717
// To support reading RDF files, Apache Jena is used - but that requires Java 11. If we want to do a 2.2.0 release

0 commit comments

Comments
 (0)