-
Notifications
You must be signed in to change notification settings - Fork 1
DOC-4573: Updates to remove partition ranges and parameters #185
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
Changes from 9 commits
Commits
Show all changes
10 commits
Select commit
Hold shift + click to select a range
e03458f
updates to remove partition ranges and parameters
beajohnson 6428eaf
divided paragraph for easier read
beajohnson abbc2f0
udpated spark version to 3.5.2 per Madhavan
beajohnson cd11657
Further updates to sync docs up to date
msmygit 1239fae
Remove CDM properties & associated files
msmygit 1dbbaf9
Clarify Spark cluster mode requirement
msmygit 66efa5a
Removed partition range partial doc
msmygit 83d884a
Update sub-partitions documents
msmygit 300f7af
Add page alias
KimberlyFields 815e072
Update modules/ROOT/partials/cdm-prerequisites.adoc
KimberlyFields File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,35 +1,9 @@ | ||
You can also use {cstar-data-migrator} to migrate or validate specific partition ranges. Use a **partition-file** with the name `./<keyspacename>.<tablename>_partitions.csv`. | ||
Use the following format in the CSV file, in the current folder as input. | ||
Example: | ||
|
||
[source,csv] | ||
---- | ||
-507900353496146534,-107285462027022883 | ||
-506781526266485690,1506166634797362039 | ||
2637884402540451982,4638499294009575633 | ||
798869613692279889,8699484505161403540 | ||
---- | ||
|
||
Each line in the CSV represents a partition-range (`min,max`). | ||
|
||
Alternatively, you can also pass the partition-file with a command-line parameter. | ||
Example: | ||
You can also use {cstar-data-migrator} to xref:cdm-steps.adoc#cdm-steps[migrate] or xref:cdm-steps.adoc#cdm-validation-steps[validate] specific partition ranges by passing the below additional parameters. | ||
|
||
[source,bash] | ||
---- | ||
./spark-submit --properties-file cdm.properties \ | ||
--conf spark.cdm.schema.origin.keyspaceTable="<keyspacename>.<tablename>" \ | ||
--conf spark.cdm.tokenrange.partitionFile.input="/<path-to-file>/<csv-input-filename>" \ | ||
--master "local[*]" --driver-memory 25G --executor-memory 25G \ | ||
--class com.datastax.cdm.job.<Migrate|DiffData> cassandra-data-migrator-x.y.z.jar &> logfile_name_$(date +%Y%m%d_%H_%M).txt | ||
--conf spark.cdm.filter.cassandra.partition.min=<token-range-min> | ||
--conf spark.cdm.filter.cassandra.partition.max=<token-range-max> | ||
---- | ||
|
||
This mode is specifically useful to process a subset of partition-ranges that may have failed during a previous run. | ||
|
||
[NOTE] | ||
==== | ||
In the format shown above, the migration and validation jobs autogenerate a file named `./<keyspacename>.<tablename>_partitions.csv`. | ||
The file contains any failed partition ranges. | ||
No file is created if there were no failed partitions. | ||
You can use the CSV as input to process any failed partition in a subsequent run. | ||
==== | ||
This mode is specifically useful to process a subset of partition-ranges. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
29 changes: 0 additions & 29 deletions
29
modules/ROOT/partials/constant-column-feature-parameters.adoc
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.