Skip to content

Commit fb32d8c

Browse files
authored
Added Scala version 2.12 details in README.md
1 parent fdaf4fd commit fb32d8c

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

README.md

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,9 +35,12 @@ tar -xvzf spark-3.5.4-bin-hadoop3-scala2.13.tgz
3535
> [!CAUTION]
3636
> If the above Spark and Scala version does not match, you may see an exception like below when running the CDM jobs,
3737
```
38-
Exception in thread "main" java.lang.NoSuchMethodError: scala.runtime.Statics.releaseFence()V
38+
Exception in thread "main" java.lang.NoSuchMethodError: scala.runtime.Statics.releaseFence()
3939
```
4040

41+
> [!NOTE]
42+
> If you only have `Scala version 2.12.x` available in your environment, you can update [these two lines in pom.xml](https://github.com/datastax/cassandra-data-migrator/blob/main/pom.xml#L11) with the specific `Scala 2.12.x` version, build the jar locally as [shown here](https://github.com/datastax/cassandra-data-migrator?tab=readme-ov-file#building-jar-for-local-development) and use that CDM jar instead.
43+
4144
> [!NOTE]
4245
> When deploying CDM on a Spark cluster, replace the params `--master "local[*]"` with `--master "spark://master-host:port"` and remove any params (e.g. `--driver-memory`, `--executor-memory`, etc.) related to a single VM run
4346

0 commit comments

Comments
 (0)