Skip to content

Commit

Permalink
Create submit-alternator-validator.sh
Browse files Browse the repository at this point in the history
added a validator script for alternator migration
  • Loading branch information
nopzdk authored and tarzanek committed Dec 18, 2024
1 parent b2a0918 commit e905f63
Showing 1 changed file with 16 additions and 0 deletions.
16 changes: 16 additions & 0 deletions ansible/templates/submit-alternator-validator.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
#!/bin/bash

set -x

source spark-env

mkdir /tmp/savepoints

time spark-submit --class com.scylladb.migrator.Validator \
--master spark://{{ hostvars.spark_master.ansible_default_ipv4.address }}:7077 \
--conf spark.eventLog.enabled=true \
--conf spark.scylla.config=/home/ubuntu/scylla-migrator/config.dynamodb.yml \
--executor-memory $EXECUTOR_MEMORY \
--executor-cores $EXECUTOR_CORES \
--driver-memory 4G \
/home/ubuntu/scylla-migrator/scylla-migrator-assembly.jar

0 comments on commit e905f63

Please sign in to comment.