From b0a4c693b7fafad78833797964a318d16cc332db Mon Sep 17 00:00:00 2001 From: CI/CD bot Date: Mon, 21 Oct 2024 08:57:51 +0000 Subject: [PATCH 1/3] Setting version to 2.7.8 --- version.sbt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/version.sbt b/version.sbt index 679a1358..827307dc 100644 --- a/version.sbt +++ b/version.sbt @@ -1 +1 @@ -ThisBuild / version := "2.7.8-SNAPSHOT" +ThisBuild / version := "2.7.8" From e8d2ac41b969110e65965c32e79b9147b9f70cf8 Mon Sep 17 00:00:00 2001 From: CI/CD bot Date: Mon, 21 Oct 2024 09:00:54 +0000 Subject: [PATCH 2/3] Setting version to 2.7.9-SNAPSHOT --- version.sbt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/version.sbt b/version.sbt index 827307dc..dc2940f6 100644 --- a/version.sbt +++ b/version.sbt @@ -1 +1 @@ -ThisBuild / version := "2.7.8" +ThisBuild / version := "2.7.9-SNAPSHOT" From 027d01ba46ef66a19fcdf1c4cbb311a9afcd331e Mon Sep 17 00:00:00 2001 From: Ruslan Iushchenko Date: Mon, 21 Oct 2024 11:39:39 +0200 Subject: [PATCH 3/3] Update README and POM files after the release. --- README.md | 25 ++++++++++++++----------- 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, 21 insertions(+), 18 deletions(-) diff --git a/README.md b/README.md index 27656ec5..c2c7aa9b 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.7
+
groupId: za.co.absa.cobrix
artifactId: spark-cobol_2.11
version: 2.7.8
-
groupId: za.co.absa.cobrix
artifactId: spark-cobol_2.12
version: 2.7.7
+
groupId: za.co.absa.cobrix
artifactId: spark-cobol_2.12
version: 2.7.8
-
groupId: za.co.absa.cobrix
artifactId: spark-cobol_2.13
version: 2.7.7
+
groupId: za.co.absa.cobrix
artifactId: spark-cobol_2.13
version: 2.7.8
@@ -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.7 +$SPARK_HOME/bin/spark-shell --packages za.co.absa.cobrix:spark-cobol_2.11:2.7.8 ``` ### Spark compiled with Scala 2.12 ``` -$SPARK_HOME/bin/spark-shell --packages za.co.absa.cobrix:spark-cobol_2.12:2.7.7 +$SPARK_HOME/bin/spark-shell --packages za.co.absa.cobrix:spark-cobol_2.12:2.7.8 ``` ### Spark compiled with Scala 2.13 ``` -$SPARK_HOME/bin/spark-shell --packages za.co.absa.cobrix:spark-cobol_2.13:2.7.7 +$SPARK_HOME/bin/spark-shell --packages za.co.absa.cobrix:spark-cobol_2.13:2.7.8 ``` ## Usage @@ -238,8 +238,8 @@ to decode various binary formats. The jars that you need to get are: -* spark-cobol_2.12-2.7.7.jar -* cobol-parser_2.12-2.7.7.jar +* spark-cobol_2.12-2.7.8.jar +* cobol-parser_2.12-2.7.8.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.7 +$ spark-shell --packages za.co.absa.cobrix:spark-cobol_2.12:2.7.8 or -$ 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 +$ spark-shell --master yarn --deploy-mode client --driver-cores 4 --driver-memory 4G --jars spark-cobol_2.12-2.7.8.jar,cobol-parser_2.12-2.7.8.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.8-SNAPSHOT-bundle.jar +$ spark-shell --jars spark-cobol_2.12_3.3-2.7.9-SNAPSHOT-bundle.jar ``` > A note for building and running tests on Windows @@ -1771,6 +1771,9 @@ 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.8 released 21 October 2024. + - [#719](https://github.com/AbsaOSS/cobrix/issues/719) Improve error message for fixed record length files when the record size does not divide file size. + - #### 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 for the fix and @pinakigit for testing! diff --git a/cobol-converters/pom.xml b/cobol-converters/pom.xml index 9d8fb5ad..d14cb612 100644 --- a/cobol-converters/pom.xml +++ b/cobol-converters/pom.xml @@ -22,7 +22,7 @@ za.co.absa.cobrix cobrix_2.12 - 2.7.8-SNAPSHOT + 2.7.9-SNAPSHOT ../pom.xml diff --git a/cobol-parser/pom.xml b/cobol-parser/pom.xml index fe35ae39..e855ef65 100644 --- a/cobol-parser/pom.xml +++ b/cobol-parser/pom.xml @@ -22,7 +22,7 @@ za.co.absa.cobrix cobrix_2.12 - 2.7.8-SNAPSHOT + 2.7.9-SNAPSHOT ../pom.xml diff --git a/examples/examples-collection/pom.xml b/examples/examples-collection/pom.xml index 10f9d6a9..1da6aef8 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.7 + 2.7.8 diff --git a/examples/spark-cobol-app/build.sbt b/examples/spark-cobol-app/build.sbt index 83747ea6..8dbce377 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.7" +val sparkCobolVersion = "2.7.8" 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 6eafdd43..b739b974 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.7 + 2.7.8 diff --git a/pom.xml b/pom.xml index 52118e69..dafe2102 100644 --- a/pom.xml +++ b/pom.xml @@ -22,7 +22,7 @@ za.co.absa.cobrix cobrix_2.12 - 2.7.8-SNAPSHOT + 2.7.9-SNAPSHOT pom diff --git a/spark-cobol/pom.xml b/spark-cobol/pom.xml index 534833db..b98d6251 100644 --- a/spark-cobol/pom.xml +++ b/spark-cobol/pom.xml @@ -22,7 +22,7 @@ za.co.absa.cobrix cobrix_2.12 - 2.7.8-SNAPSHOT + 2.7.9-SNAPSHOT ../pom.xml