From 0bcbf521679a70aeccd3b5a3f039f54f1286c324 Mon Sep 17 00:00:00 2001 From: Ruslan Iushchenko Date: Thu, 10 Oct 2024 11:02:25 +0200 Subject: [PATCH] Update README and POM files after the release. --- README.md | 28 +++++++++++++++++----------- cobol-converters/pom.xml | 2 +- cobol-parser/pom.xml | 2 +- examples/examples-collection/pom.xml | 2 +- examples/spark-cobol-app/build.sbt | 2 +- examples/spark-cobol-app/pom.xml | 2 +- pom.xml | 2 +- spark-cobol/pom.xml | 2 +- 8 files changed, 24 insertions(+), 18 deletions(-) diff --git a/README.md b/README.md index edcabaf5..9dc8bcb0 100644 --- a/README.md +++ b/README.md @@ -74,13 +74,13 @@ You can link against this library in your program at the following coordinates: -
groupId: za.co.absa.cobrix
artifactId: spark-cobol_2.11
version: 2.7.6
+
groupId: za.co.absa.cobrix
artifactId: spark-cobol_2.11
version: 2.7.7
-
groupId: za.co.absa.cobrix
artifactId: spark-cobol_2.12
version: 2.7.6
+
groupId: za.co.absa.cobrix
artifactId: spark-cobol_2.12
version: 2.7.7
-
groupId: za.co.absa.cobrix
artifactId: spark-cobol_2.13
version: 2.7.6
+
groupId: za.co.absa.cobrix
artifactId: spark-cobol_2.13
version: 2.7.7
@@ -91,17 +91,17 @@ This package can be added to Spark using the `--packages` command line option. F ### Spark compiled with Scala 2.11 ``` -$SPARK_HOME/bin/spark-shell --packages za.co.absa.cobrix:spark-cobol_2.11:2.7.6 +$SPARK_HOME/bin/spark-shell --packages za.co.absa.cobrix:spark-cobol_2.11:2.7.7 ``` ### Spark compiled with Scala 2.12 ``` -$SPARK_HOME/bin/spark-shell --packages za.co.absa.cobrix:spark-cobol_2.12:2.7.6 +$SPARK_HOME/bin/spark-shell --packages za.co.absa.cobrix:spark-cobol_2.12:2.7.7 ``` ### Spark compiled with Scala 2.13 ``` -$SPARK_HOME/bin/spark-shell --packages za.co.absa.cobrix:spark-cobol_2.13:2.7.6 +$SPARK_HOME/bin/spark-shell --packages za.co.absa.cobrix:spark-cobol_2.13:2.7.7 ``` ## Usage @@ -238,8 +238,8 @@ to decode various binary formats. The jars that you need to get are: -* spark-cobol_2.12-2.7.6.jar -* cobol-parser_2.12-2.7.6.jar +* spark-cobol_2.12-2.7.7.jar +* cobol-parser_2.12-2.7.7.jar * scodec-core_2.12-1.10.3.jar * scodec-bits_2.12-1.1.4.jar @@ -247,9 +247,9 @@ The jars that you need to get are: After that you can specify these jars in `spark-shell` command line. Here is an example: ``` -$ spark-shell --packages za.co.absa.cobrix:spark-cobol_2.12:2.7.6 +$ spark-shell --packages za.co.absa.cobrix:spark-cobol_2.12:2.7.7 or -$ spark-shell --master yarn --deploy-mode client --driver-cores 4 --driver-memory 4G --jars spark-cobol_2.12-2.7.6.jar,cobol-parser_2.12-2.7.6.jar,scodec-core_2.12-1.10.3.jar,scodec-bits_2.12-1.1.4.jar +$ spark-shell --master yarn --deploy-mode client --driver-cores 4 --driver-memory 4G --jars spark-cobol_2.12-2.7.7.jar,cobol-parser_2.12-2.7.7.jar,scodec-core_2.12-1.10.3.jar,scodec-bits_2.12-1.1.4.jar Setting default log level to "WARN". To adjust logging level use sc.setLogLevel(newLevel). For SparkR, use setLogLevel(newLevel). @@ -320,7 +320,7 @@ The fat jar will have '-bundle' suffix. You can also download pre-built bundles Then, run `spark-shell` or `spark-submit` adding the fat jar as the option. ```sh -$ spark-shell --jars spark-cobol_2.12_3.3-2.7.7-SNAPSHOT-bundle.jar +$ spark-shell --jars spark-cobol_2.12_3.3-2.7.8-SNAPSHOT-bundle.jar ``` > A note for building and running tests on Windows @@ -1771,6 +1771,12 @@ at org.apache.hadoop.io.nativeio.NativeIO$POSIX.getStat(NativeIO.java:608) A: Update hadoop dll to version 3.2.2 or newer. ## Changelog +- #### 2.7.7 released 10 October 2024. + - [#702](https://github.com/AbsaOSS/cobrix/issues/702) Fix a race condition for fixed record length file processing. Thanks, @vinodkc! + - [#715](https://github.com/AbsaOSS/cobrix/issues/715) Fix Jacoco report and update Scala versions. + +## New Contributors +* @vinodkc made their first contribution in https://github.com/AbsaOSS/cobrix/pull/714 - #### 2.7.6 released 26 September 2024. - [#710](https://github.com/AbsaOSS/cobrix/issues/710) Fix index generation for files with record length fields or expressions. - [#712](https://github.com/AbsaOSS/cobrix/issues/712) Add an option for explicitly logging layout positions (`false` by default). diff --git a/cobol-converters/pom.xml b/cobol-converters/pom.xml index 188c37fd..9d8fb5ad 100644 --- a/cobol-converters/pom.xml +++ b/cobol-converters/pom.xml @@ -22,7 +22,7 @@ za.co.absa.cobrix cobrix_2.12 - 2.7.7-SNAPSHOT + 2.7.8-SNAPSHOT ../pom.xml diff --git a/cobol-parser/pom.xml b/cobol-parser/pom.xml index a75dc6f7..fe35ae39 100644 --- a/cobol-parser/pom.xml +++ b/cobol-parser/pom.xml @@ -22,7 +22,7 @@ za.co.absa.cobrix cobrix_2.12 - 2.7.7-SNAPSHOT + 2.7.8-SNAPSHOT ../pom.xml diff --git a/examples/examples-collection/pom.xml b/examples/examples-collection/pom.xml index da88767f..10f9d6a9 100644 --- a/examples/examples-collection/pom.xml +++ b/examples/examples-collection/pom.xml @@ -31,7 +31,7 @@ 2.11 2.4.8 2.4.16 - 2.7.6 + 2.7.7 diff --git a/examples/spark-cobol-app/build.sbt b/examples/spark-cobol-app/build.sbt index b67a2a85..83747ea6 100644 --- a/examples/spark-cobol-app/build.sbt +++ b/examples/spark-cobol-app/build.sbt @@ -20,7 +20,7 @@ ThisBuild / version := "0.1.0-SNAPSHOT" ThisBuild / scalaVersion := "2.12.17" val sparkVersion = "3.5.3" -val sparkCobolVersion = "2.7.6" +val sparkCobolVersion = "2.7.7" val scalatestVersion = "3.2.14" ThisBuild / libraryDependencies ++= Seq( diff --git a/examples/spark-cobol-app/pom.xml b/examples/spark-cobol-app/pom.xml index 6d1ecce2..6eafdd43 100755 --- a/examples/spark-cobol-app/pom.xml +++ b/examples/spark-cobol-app/pom.xml @@ -31,7 +31,7 @@ 2.12 3.2.14 3.5.3 - 2.7.6 + 2.7.7 diff --git a/pom.xml b/pom.xml index e7115d92..52118e69 100644 --- a/pom.xml +++ b/pom.xml @@ -22,7 +22,7 @@ za.co.absa.cobrix cobrix_2.12 - 2.7.7-SNAPSHOT + 2.7.8-SNAPSHOT pom diff --git a/spark-cobol/pom.xml b/spark-cobol/pom.xml index cb930636..534833db 100644 --- a/spark-cobol/pom.xml +++ b/spark-cobol/pom.xml @@ -22,7 +22,7 @@ za.co.absa.cobrix cobrix_2.12 - 2.7.7-SNAPSHOT + 2.7.8-SNAPSHOT ../pom.xml