@@ -11,15 +11,10 @@ environments, as those examples depend on an application being deployed to MarkL
11
11
## Obtaining the connector
12
12
13
13
The MarkLogic Spark connector can be downloaded from
14
- [ this repository's Releases page] ( https://github.com/marklogic/marklogic-spark-connector/releases ) .
14
+ [ this repository's Releases page] ( https://github.com/marklogic/marklogic-spark-connector/releases ) . Each Spark
15
+ environment should have documentation on how to include third-party connectors; please consult your Spark
16
+ environment's documentation on how to achieve this.
15
17
16
- TODO - until the 2.0 release occurs, you will need to build the Spark connector yourself (this will be removed
17
- before the 2.0 release occurs). To do so:
18
-
19
- - Clone this repository.
20
- - Run ` ./gradlew clean shadowJar ` .
21
-
22
- The connector can then be accessed at ` ./build/libs/marklogic-spark-connector-2.0-SNAPSHOT.jar ` .
23
18
24
19
## Deploy an example application
25
20
@@ -32,13 +27,18 @@ To facilitate trying out the connector, perform the following steps to deploy an
32
27
MarkLogic server that includes a
33
28
[ TDE view] ( https://docs.marklogic.com/guide/app-dev/TDE ) and some documents that conform to that view.
34
29
35
- 1 . Clone this repository using git.
36
- 2 . In the directory in which you cloned this repository, run ` cd examples/getting-started ` .
37
- 3 . Create a file named ` gradle-local.properties ` and add ` mlPassword=changeme ` , changing the text "changeme" to the
30
+ 1 . From [ this repository's Releases page] ( https://github.com/marklogic/marklogic-spark-connector/releases ) , select
31
+ the latest release and download the ` marklogic-spark-getting-started-2.0.0.zip ` file.
32
+ 2 . Extract the contents of the downloaded zip file.
33
+ 3 . Open a terminal window and go to the directory created by extracting the zip file; the directory should have a
34
+ name of "marklogic-spark-getting-started-2.0.0".
35
+ 4 . Create a file named ` gradle-local.properties ` and add ` mlPassword=changeme ` , changing the text "changeme" to the
38
36
password of your MarkLogic ` admin ` user.
39
- 4 . Open the ` gradle.properties ` file and verify that the value of the ` mlPort ` property is an available port on the
37
+ 5 . Open the ` gradle.properties ` file and verify that the value of the ` mlPort ` property is an available port on the
40
38
machine running your MarkLogic server; the default port is 8020.
41
- 5 . Run ` ./gradlew -i mlDeploy ` to deploy the example application.
39
+ 6 . Ensure that the ` ./gradlew ` file is executable; depending on your operating system, you may need to run
40
+ ` chmod 755 gradlew ` to make the file executable.
41
+ 7 . Run ` ./gradlew -i mlDeploy ` to deploy the example application.
42
42
43
43
After the deployment finishes, your MarkLogic server will now have the following:
44
44
0 commit comments