aws-samples / cql-replicator

CQLReplicator is a migration tool that helps you to replicate data from Cassandra to AWS Services
Apache License 2.0
16 stars 8 forks source link

[CQLReplicator on Glue] cqlreplicator --state stats error "Invalid endpoint: https://s3..amazonaws.com" #84

Closed hungfaileung closed 10 months ago

hungfaileung commented 10 months ago

Got below error (I run with the same parameters for the cleanup command and it is ok):

[cloudshell-user@xxxx bin]$ ./cqlreplicator --state stats --src-keyspace xxx --src-table xxx --landing-zone s3://xxxx
    ___ ___  _     ____            _ _           _
  / ___/ _ \| |   |  _ \ ___ _ __ | (_) ___ __ _| |_ ___  _ __
 | |  | | | | |   | |_) / _ \ '_ \| | |/ __/ _` | __/ _ \| '__|
 | |__| |_| | |___|  _ <  __/ |_) | | | (_| (_| | || (_) | |
  \____\__\_\_____|_| \_\___| .__/|_|_|\___\__,_|\__\___/|_|
                            |_|
·······································································
:     __          _______   _____           _____                     :
:    /\ \        / / ____| |  __ \         / ____|                    :
:   /  \ \  /\  / / (___   | |__) | __ ___| (___   ___ _ ____   _____ :
:  / /\ \ \/  \/ / \___ \  |  ___/ '__/ _ \\___ \ / _ \ '__\ \ / / _ \:
: / ____ \  /\  /  ____) | | |   | | | (_) |___) |  __/ |   \ V /  __/:
:/_/    \_\/  \/  |_____/  |_|   |_|  \___/_____/ \___|_|    \_/ \___|:
·······································································
[2024-01-26T15:19:25+00:00] OS: Linux

Invalid endpoint: https://s3..amazonaws.com

Invalid endpoint: https://s3..amazonaws.com

Invalid endpoint: https://s3..amazonaws.com

Invalid endpoint: https://s3..amazonaws.com
[2024-01-26T15:19:30+00:00] Discovered rows in xxx.xxx is 0
[2024-01-26T15:19:30+00:00] Replicated rows in xx.xx is 0
nwheeler81 commented 10 months ago

Could please add to your stats command --region, e.g. --region "us-east-1"