Skip to content

Commit

Permalink
Update project version number in examples and README
Browse files Browse the repository at this point in the history
  • Loading branch information
yruslan committed May 28, 2021
1 parent 956fdde commit fb38219
Show file tree
Hide file tree
Showing 6 changed files with 15 additions and 15 deletions.
20 changes: 10 additions & 10 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ 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.2.1
version: 2.2.2
```

### Scala 2.12
Expand All @@ -70,7 +70,7 @@ version: 2.2.1
```
groupId: za.co.absa.cobrix
artifactId: spark-cobol_2.12
version: 2.2.1
version: 2.2.2
```

## Using with Spark shell
Expand All @@ -79,12 +79,12 @@ 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.2.1
$SPARK_HOME/bin/spark-shell --packages za.co.absa.cobrix:spark-cobol_2.11:2.2.2
```

### Spark compiled with Scala 2.12
```
$SPARK_HOME/bin/spark-shell --packages za.co.absa.cobrix:spark-cobol_2.12:2.2.1
$SPARK_HOME/bin/spark-shell --packages za.co.absa.cobrix:spark-cobol_2.12:2.2.2
```

## Usage
Expand Down Expand Up @@ -201,17 +201,17 @@ to decode various binary formats.

The jars that you need to get are:

* spark-cobol_2.11-2.2.1.jar
* cobol-parser_2.11-2.2.1.jar
* spark-cobol_2.11-2.2.2.jar
* cobol-parser_2.11-2.2.2.jar
* scodec-core_2.11-1.10.3.jar
* scodec-bits_2.11-1.1.4.jar
* antlr4-runtime-4.7.2.jar

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.11:2.2.1
$ spark-shell --packages za.co.absa.cobrix:spark-cobol_2.11:2.2.2
or
$ spark-shell --master yarn --deploy-mode client --driver-cores 4 --driver-memory 4G --jars spark-cobol_2.11-2.2.1.jar,cobol-parser_2.11-2.2.1.jar,scodec-core_2.11-1.10.3.jar,scodec-bits_2.11-1.1.4.jar,antlr4-runtime-4.7.2.jar
$ spark-shell --master yarn --deploy-mode client --driver-cores 4 --driver-memory 4G --jars spark-cobol_2.11-2.2.2.jar,cobol-parser_2.11-2.2.2.jar,scodec-core_2.11-1.10.3.jar,scodec-bits_2.11-1.1.4.jar,antlr4-runtime-4.7.2.jar
Setting default log level to "WARN".
To adjust logging level use sc.setLogLevel(newLevel). For SparkR, use setLogLevel(newLevel).
Expand Down Expand Up @@ -267,7 +267,7 @@ You can collect the uber jar of `spark-cobol` either at

Then, run `spark-shell` or `spark-submit` adding the fat jar as the option.
```sh
$ spark-shell --jars spark-cobol-assembly-2.2.1-SNAPSHOT.jar
$ spark-shell --jars spark-cobol-assembly-2.2.2-SNAPSHOT.jar
```

## Other Features
Expand Down Expand Up @@ -1248,7 +1248,7 @@ For multisegment variable lengths tests:
![](performance/images/exp3_multiseg_wide_records_throughput.svg) ![](performance/images/exp3_multiseg_wide_mb_throughput.svg)

## Changelog
- #### 2.2.2 released 26 May 2021.
- #### 2.2.2 released 27 May 2021.
- [#387](https://github.com/AbsaOSS/cobrix/issues/387) Fixed parsing of COMP-1 and COMP-2 fields that use 'USAGE' or 'USAGE IS' keywords.
- Added an example project that allows running Spark + Cobrix locally while writing to S3. The project is located [here](http://github.com/AbsaOSS/cobrix/blob/c344ab1fa36f895d4c7928f40a2c5ebe8035e27b/examples/spark-cobol-s3-standalone#L1253-L1253).
- Improved several common error messages to provide more relevant information.
Expand Down
2 changes: 1 addition & 1 deletion examples/examples-collection/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@
<scala.compat.version>2.11</scala.compat.version>
<spark.version>2.4.4</spark.version>
<specs.version>2.4.16</specs.version>
<spark.cobol.version>2.2.1</spark.cobol.version>
<spark.cobol.version>2.2.2</spark.cobol.version>
</properties>

<dependencies>
Expand Down
2 changes: 1 addition & 1 deletion examples/spark-cobol-app/build.sbt
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ ThisBuild / version := "0.1.0-SNAPSHOT"
ThisBuild / scalaVersion := "2.12.12"

val sparkVersion = "3.0.1"
val sparkCobolVersion = "2.2.1"
val sparkCobolVersion = "2.2.2"
val scalatestVersion = "3.0.1"

ThisBuild / libraryDependencies ++= Seq(
Expand Down
2 changes: 1 addition & 1 deletion examples/spark-cobol-app/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@
<scala.compat.version>2.12</scala.compat.version>
<scalatest.version>3.0.1</scalatest.version>
<spark.version>3.0.1</spark.version>
<spark.cobol.version>2.2.1</spark.cobol.version>
<spark.cobol.version>2.2.2</spark.cobol.version>
</properties>

<dependencies>
Expand Down
2 changes: 1 addition & 1 deletion examples/spark-cobol-s3-standalone/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@
<scala.compat.version>2.11</scala.compat.version>
<scalatest.version>3.2.3</scalatest.version>
<spark.version>2.4.7</spark.version>
<spark.cobol.version>2.2.1</spark.cobol.version>
<spark.cobol.version>2.2.2</spark.cobol.version>
<hadoop.version>3.2.0</hadoop.version>
</properties>

Expand Down
2 changes: 1 addition & 1 deletion examples/spark-cobol-s3/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@
<scala.compat.version>2.11</scala.compat.version>
<scalatest.version>3.0.0</scalatest.version>
<spark.version>2.4.7</spark.version>
<spark.cobol.version>2.2.1</spark.cobol.version>
<spark.cobol.version>2.2.2</spark.cobol.version>
</properties>

<dependencies>
Expand Down

0 comments on commit fb38219

Please sign in to comment.