Skip to content

Commit fddce4e

Browse files
authored
Update README.md
1 parent ba0a31f commit fddce4e

File tree

1 file changed

+8
-8
lines changed

1 file changed

+8
-8
lines changed

README.md

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ Exception in thread "main" java.lang.NoSuchMethodError: scala.runtime.Statics.re
4040
3. Run the below job using `spark-submit` command as shown below:
4141

4242
```
43-
./spark-submit --properties-file cdm.properties \
43+
spark-submit --properties-file cdm.properties \
4444
--conf spark.cdm.schema.origin.keyspaceTable="<keyspacename>.<tablename>" \
4545
--master "local[*]" --driver-memory 25G --executor-memory 25G \
4646
--class com.datastax.cdm.job.Migrate cassandra-data-migrator-4.x.x.jar &> logfile_name_$(date +%Y%m%d_%H_%M).txt
@@ -62,7 +62,7 @@ Note:
6262
- To run the job in Data validation mode, use class option `--class com.datastax.cdm.job.DiffData` as shown below
6363

6464
```
65-
./spark-submit --properties-file cdm.properties \
65+
spark-submit --properties-file cdm.properties \
6666
--conf spark.cdm.schema.origin.keyspaceTable="<keyspacename>.<tablename>" \
6767
--master "local[*]" --driver-memory 25G --executor-memory 25G \
6868
--class com.datastax.cdm.job.DiffData cassandra-data-migrator-4.x.x.jar &> logfile_name_$(date +%Y%m%d_%H_%M).txt
@@ -79,13 +79,13 @@ Note:
7979

8080
- Please grep for all `ERROR` from the output log files to get the list of missing and mismatched records.
8181
- Note that it lists differences by primary-key values.
82-
- If you would like to redirect such logs into a separate file, you could use the `log4j2.properties` file [provided here](./src/resources/log4j2.properties) as shown below
82+
- If you would like to redirect such logs (rows with details of `missing` and `mismatched` rows) into a separate file, you could use the `log4j2.properties` file [provided here](./src/resources/log4j2.properties) as shown below
8383

8484
```
85-
./spark-submit --properties-file cdm.properties \
85+
spark-submit --properties-file cdm.properties \
8686
--conf spark.cdm.schema.origin.keyspaceTable="<keyspacename>.<tablename>" \
87-
--conf "spark.executor.extraJavaOptions='-Dlog4j.configurationFile=log4j2.properties'" \
88-
--conf "spark.driver.extraJavaOptions='-Dlog4j.configurationFile=log4j2.properties'" \
87+
--conf spark.executor.extraJavaOptions='-Dlog4j.configurationFile=log4j2.properties' \
88+
--conf spark.driver.extraJavaOptions='-Dlog4j.configurationFile=log4j2.properties' \
8989
--master "local[*]" --driver-memory 25G --executor-memory 25G \
9090
--class com.datastax.cdm.job.DiffData cassandra-data-migrator-4.x.x.jar &> logfile_name_$(date +%Y%m%d_%H_%M).txt
9191
```
@@ -105,7 +105,7 @@ Note:
105105
- You can rerun/resume a Migration or Validation job to complete a previous run that could have stopped (or completed with some errors) for any reasons. This mode will skip any token-ranges from the previous run that were migrated (or validated) successfully. This is done by passing the `spark.cdm.trackRun.previousRunId` param as shown below
106106

107107
```
108-
./spark-submit --properties-file cdm.properties \
108+
spark-submit --properties-file cdm.properties \
109109
--conf spark.cdm.schema.origin.keyspaceTable="<keyspacename>.<tablename>" \
110110
--conf spark.cdm.trackRun.previousRunId=<prev_run_id> \
111111
--master "local[*]" --driver-memory 25G --executor-memory 25G \
@@ -116,7 +116,7 @@ Note:
116116
- The tool can be used to identify large fields from a table that may break you cluster guardrails (e.g. AstraDB has a 10MB limit for a single large field), use class option `--class com.datastax.cdm.job.GuardrailCheck` as shown below
117117

118118
```
119-
./spark-submit --properties-file cdm.properties \
119+
spark-submit --properties-file cdm.properties \
120120
--conf spark.cdm.schema.origin.keyspaceTable="<keyspacename>.<tablename>" \
121121
--conf spark.cdm.feature.guardrail.colSizeInKB=10000 \
122122
--master "local[*]" --driver-memory 25G --executor-memory 25G \

0 commit comments

Comments
 (0)