Skip to content

Commit 4375679

Browse files
Wei's code block typo fix in cassandra-data-migrator.adoc (#159)
1 parent e4640f4 commit 4375679

File tree

1 file changed

+14
-14
lines changed

1 file changed

+14
-14
lines changed

docs-src/zdm-core/modules/migrate/pages/cassandra-data-migrator.adoc

Lines changed: 14 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -65,9 +65,9 @@ The fat jar (`cassandra-data-migrator-x.y.z.jar`) file should be present now in
6565

6666
[source,bash]
6767
----
68-
./spark-submit --properties-file cdm.properties /
69-
--conf spark.cdm.schema.origin.keyspaceTable="<keyspacename>.<tablename>" /
70-
--master "local[*]" --driver-memory 25G --executor-memory 25G /
68+
./spark-submit --properties-file cdm.properties \
69+
--conf spark.cdm.schema.origin.keyspaceTable="<keyspacename>.<tablename>" \
70+
--master "local[*]" --driver-memory 25G --executor-memory 25G \
7171
--class com.datastax.cdm.job.Migrate cassandra-data-migrator-x.y.z.jar &> logfile_name_$(date +%Y%m%d_%H_%M).txt
7272
----
7373

@@ -85,9 +85,9 @@ Example:
8585

8686
[source,bash]
8787
----
88-
./spark-submit --properties-file cdm.properties /
89-
--conf spark.cdm.schema.origin.keyspaceTable="<keyspacename>.<tablename>" /
90-
--master "local[*]" --driver-memory 25G --executor-memory 25G /
88+
./spark-submit --properties-file cdm.properties \
89+
--conf spark.cdm.schema.origin.keyspaceTable="<keyspacename>.<tablename>" \
90+
--master "local[*]" --driver-memory 25G --executor-memory 25G \
9191
--class com.datastax.cdm.job.DiffData cassandra-data-migrator-x.y.z.jar &> logfile_name_$(date +%Y%m%d_%H_%M).txt
9292
----
9393

@@ -146,10 +146,10 @@ Example:
146146

147147
[source,bash]
148148
----
149-
./spark-submit --properties-file cdm.properties /
150-
--conf spark.cdm.schema.origin.keyspaceTable="<keyspacename>.<tablename>" /
151-
--conf spark.cdm.tokenRange.partitionFile="/<path-to-file>/<csv-input-filename>" /
152-
--master "local[*]" --driver-memory 25G --executor-memory 25G /
149+
./spark-submit --properties-file cdm.properties \
150+
--conf spark.cdm.schema.origin.keyspaceTable="<keyspacename>.<tablename>" \
151+
--conf spark.cdm.tokenRange.partitionFile="/<path-to-file>/<csv-input-filename>" \
152+
--master "local[*]" --driver-memory 25G --executor-memory 25G \
153153
--class com.datastax.cdm.job.<Migrate|DiffData> cassandra-data-migrator-x.y.z.jar &> logfile_name_$(date +%Y%m%d_%H_%M).txt
154154
----
155155

@@ -167,10 +167,10 @@ Use {cstar-data-migrator} to identify large fields from a table that may break y
167167

168168
[source,bash]
169169
----
170-
./spark-submit --properties-file cdm.properties /
171-
--conf spark.cdm.schema.origin.keyspaceTable="<keyspacename>.<tablename>" /
172-
--conf spark.cdm.feature.guardrail.colSizeInKB=10000 /
173-
--master "local[*]" --driver-memory 25G --executor-memory 25G /
170+
./spark-submit --properties-file cdm.properties \
171+
--conf spark.cdm.schema.origin.keyspaceTable="<keyspacename>.<tablename>" \
172+
--conf spark.cdm.feature.guardrail.colSizeInKB=10000 \
173+
--master "local[*]" --driver-memory 25G --executor-memory 25G \
174174
--class com.datastax.cdm.job.GuardrailCheck cassandra-data-migrator-4.x.x.jar &> logfile_name_$(date +%Y%m%d_%H_%M).txt
175175
----
176176

0 commit comments

Comments
 (0)