Skip to content

Commit 5610ce5

Browse files
authored
Merge pull request #281 from marklogic/release/1.1.3
Merge 1.1.3 into main
2 parents 3d4bf73 + ca69998 commit 5610ce5

File tree

6 files changed

+30
-19
lines changed

6 files changed

+30
-19
lines changed

docs/api.md

+4-4
Original file line numberDiff line numberDiff line change
@@ -22,15 +22,15 @@ To add Flux as a dependency to your application, add the following to your Maven
2222
<dependency>
2323
<groupId>com.marklogic</groupId>
2424
<artifactId>flux-api</artifactId>
25-
<version>1.1.2</version>
25+
<version>1.1.3</version>
2626
</dependency>
2727
```
2828

2929
Or if you are using Gradle, add the following to your `build.gradle` file:
3030

3131
```
3232
dependencies {
33-
implementation "com.marklogic:flux-api:1.1.2"
33+
implementation "com.marklogic:flux-api:1.1.3"
3434
}
3535
```
3636

@@ -97,7 +97,7 @@ buildscript {
9797
mavenCentral()
9898
}
9999
dependencies {
100-
classpath "com.marklogic:flux-api:1.1.2"
100+
classpath "com.marklogic:flux-api:1.1.3"
101101
}
102102
}
103103
```
@@ -139,7 +139,7 @@ buildscript {
139139
mavenCentral()
140140
}
141141
dependencies {
142-
classpath "com.marklogic:flux-api:1.1.2"
142+
classpath "com.marklogic:flux-api:1.1.3"
143143
classpath("com.marklogic:ml-gradle:4.8.0") {
144144
exclude group: "com.fasterxml.jackson.databind"
145145
exclude group: "com.fasterxml.jackson.core"

docs/getting-started.md

+8-8
Original file line numberDiff line numberDiff line change
@@ -15,18 +15,18 @@ This guide describes how to get started with Flux with some examples demonstrati
1515
## Setup
1616

1717
You can download the latest release of the Flux application zip from [the latest Flux release page](https://github.com/marklogic/flux/releases).
18-
The Flux application zip is titled `marklogic-flux-1.1.2.zip`. You can extract this zip to any location on your
18+
The Flux application zip is titled `marklogic-flux-1.1.3.zip`. You can extract this zip to any location on your
1919
filesystem that you prefer.
2020

2121
### Deploying the example application
2222

2323
The examples in this guide, along with examples found throughout this documentation, depend on a small MarkLogic
2424
application that can be deployed to your own instance of MarkLogic server. The application can be downloaded from
2525
[the latest Flux release page](https://github.com/marklogic/flux/releases) in a zip titled
26-
`marklogic-flux-getting-started-1.1.2.zip`. To use Flux with this example application, perform the following steps:
26+
`marklogic-flux-getting-started-1.1.3.zip`. To use Flux with this example application, perform the following steps:
2727

28-
1. Extract the `marklogic-flux-getting-started-1.1.2.zip` file to any location on your local filesystem.
29-
2. Run `cd marklogic-flux-getting-started-1.1.2` to change to the directory created by extracting the ZIP file.
28+
1. Extract the `marklogic-flux-getting-started-1.1.3.zip` file to any location on your local filesystem.
29+
2. Run `cd marklogic-flux-getting-started-1.1.3` to change to the directory created by extracting the ZIP file.
3030
3. Create a file named `gradle-local.properties` and add `mlPassword=your MarkLogic admin user password` to it.
3131
4. Examine the contents of the `gradle.properties` file to ensure that the value of `mlHost` points to your MarkLogic
3232
server and that the value of `mlRestPort` is a port available for a new MarkLogic app server to use.
@@ -38,15 +38,15 @@ privileges for running the examples in this guide. Finally, the application incl
3838
[MarkLogic TDE template](https://docs.marklogic.com/guide/app-dev/TDE) that creates a view in MarkLogic for the purpose
3939
of demonstrating commands that utilize a [MarkLogic Optic query](https://docs.marklogic.com/guide/app-dev/OpticAPI).
4040

41-
It is recommended to extract the Flux application zip into the `marklogic-flux-getting-started-1.1.2` directory so that
41+
It is recommended to extract the Flux application zip into the `marklogic-flux-getting-started-1.1.3` directory so that
4242
you can easily execute the examples in this guide. After extracting the application zip, the directory should have a
4343
structure similar to this (not all files may be shown):
4444

4545
```
46-
./marklogic-flux-getting-started-1.1.2
46+
./marklogic-flux-getting-started-1.1.3
4747
build.gradle
4848
./data
49-
./marklogic-flux-1.1.2
49+
./marklogic-flux-1.1.3
5050
./gradle
5151
gradle.properties
5252
gradlew
@@ -59,7 +59,7 @@ structure similar to this (not all files may be shown):
5959
You can run Flux without any options to see the list of available commands. If you are using Flux to run these examples,
6060
first change your current directory to where you extract Flux:
6161

62-
cd marklogic-flux-1.1.2
62+
cd marklogic-flux-1.1.3
6363

6464
And then run the Flux executable without any options:
6565

docs/spark-integration.md

+4-4
Original file line numberDiff line numberDiff line change
@@ -35,8 +35,8 @@ Flux integrates with [spark-submit](https://spark.apache.org/docs/latest/submitt
3535
submit a Flux command invocation to a remote Spark cluster. Every Flux command is a Spark application, and thus every
3636
Flux command, along with all of its option, can be invoked via `spark-submit`.
3737

38-
To use Flux with `spark-submit`, first download the `marklogic-flux-1.1.2-all.jar` file from the
39-
[GitHub release page](https://github.com/marklogic/flux/releases/tag/1.1.2). This jar file includes Flux and all of
38+
To use Flux with `spark-submit`, first download the `marklogic-flux-1.1.3-all.jar` file from the
39+
[GitHub release page](https://github.com/marklogic/flux/releases/tag/1.1.3). This jar file includes Flux and all of
4040
its dependencies, excluding those of Spark itself, which will be provided via the Spark cluster that you connect to
4141
via `spark-submit`.
4242

@@ -48,7 +48,7 @@ The following shows a notional example of running the Flux `import-files` comman
4848
```
4949
$SPARK_HOME/bin/spark-submit --class com.marklogic.flux.spark.Submit \
5050
--master spark://changeme:7077 \
51-
marklogic-flux-1.1.2-all.jar \
51+
marklogic-flux-1.1.3-all.jar \
5252
import-files \
5353
--path path/to/data \
5454
--connection-string user:password@host:8000 \
@@ -59,7 +59,7 @@ $SPARK_HOME/bin/spark-submit --class com.marklogic.flux.spark.Submit \
5959
```
6060
$SPARK_HOME\bin\spark-submit --class com.marklogic.flux.spark.Submit ^
6161
--master spark://changeme:7077 ^
62-
marklogic-flux-1.1.2-all.jar ^
62+
marklogic-flux-1.1.3-all.jar ^
6363
import-files ^
6464
--path path/to/data ^
6565
--connection-string user:password@host:8000 ^

examples/client-project/build.gradle

+2-2
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ buildscript {
66
mavenLocal()
77
}
88
dependencies {
9-
classpath "com.marklogic:flux-api:1.1.2"
9+
classpath "com.marklogic:flux-api:1.1.3"
1010

1111
// Demonstrates removing the Jackson libraries that otherwise cause a conflict with
1212
// Spark, which requires Jackson >= 2.14.0 and < 2.15.0.
@@ -28,7 +28,7 @@ repositories {
2828
}
2929

3030
dependencies {
31-
implementation "com.marklogic:flux-api:1.1.2"
31+
implementation "com.marklogic:flux-api:1.1.3"
3232
}
3333

3434
tasks.register("runApp", JavaExec) {

flux-cli/build.gradle

+11
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,17 @@ configurations {
1212
shadowDependencies
1313
}
1414

15+
configurations.all {
16+
// By default, Spark 3.5.3 does not include the log4j 1.x dependency via its zookeeper dependency. But somehow, by
17+
// adding hadoop-client 3.3.4 to the mix, the log4j 1.x dependency comes via the zookeeper 3.6.3 dependency. Per
18+
// the release notes at https://zookeeper.apache.org/doc/r3.6.4/releasenotes.html, using zookeeper 3.6.4 - which
19+
// removes log4j 1.x, thus avoiding the major CVE associated with log4j 1.x - appears safe, which is confirmed by
20+
// tests as well.
21+
resolutionStrategy {
22+
force "org.apache.zookeeper:zookeeper:3.6.4"
23+
}
24+
}
25+
1526
dependencies {
1627
implementation("org.apache.spark:spark-sql_2.12:3.5.3") {
1728
// The rocksdbjni dependency weighs in at 50mb and so far does not appear necessary for our use of Spark.

gradle.properties

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
version=1.1.2
1+
version=1.1.3
22

33
# Define these on the command line to publish to OSSRH
44
# See https://central.sonatype.org/publish/publish-gradle/#credentials for more information

0 commit comments

Comments
 (0)