Skip to content

An error occurred (InvalidInputException) when calling the StartJobRun operation: To use Worker Type G.1X, minimum allowed value of Number of Workers is 2. #181

@bhavesh2984

Description

@bhavesh2984

Describe the bug
An error occurred (InvalidInputException) when calling the StartJobRun operation: To use Worker Type G.1X, minimum allowed value of Number of Workers is 2.

To Reproduce
Steps to reproduce the behavior:

  1. Run command '...'
    ./cqlreplicator --state run
    --main-script-landing true
    --max-wcu-traffic 16000
    --safe-mode-disabled
    --workload-type batch
    --inc-traffic
    --custom-inc-traffic 60
    --src-keyspace $SOURCE_KEYSPACE --src-table $SOURCE_TABLE
    --trg-keyspace $TARGET_KEYSPACE --trg-table $TARGET_TABLE
    --landing-zone s3://$S3_BUCKET
    --region $AWS_REGION
    --ttl-column last_updated_date
    --json-mapping '{"replication": {"replicateWithTimestamp": true}}'

  2. See error
    Expected behavior
    No Error

Screenshots
If applicable, add screenshots to help explain your problem.

% ./cqlreplicator --state run
--main-script-landing true
--max-wcu-traffic 16000
--safe-mode-disabled
--workload-type batch
--inc-traffic
--custom-inc-traffic 60
--src-keyspace $SOURCE_KEYSPACE --src-table $SOURCE_TABLE
--trg-keyspace $TARGET_KEYSPACE --trg-table $TARGET_TABLE
--landing-zone s3://$S3_BUCKET
--region $AWS_REGION
--ttl-column last_updated_date
--json-mapping '{"replication": {"replicateWithTimestamp": true}}'
___ ___ _ ____ _ _ _
/ / _ | | | _ \ ___ _ __ | () ___ __ | | ___ _ __
| | | | | | | | |
) / _ \ '
| | |/ / _` | / _ | '|
| |
| || | || _ < __/ |) | | | (| (| | || () | |
____|| __| ./|||____,|__/||
|
|
·······································································
: __ _______ _____ _____ :
: /\ \ / / ____| | __ \ / _| :
: / \ \ /\ / / (
| |
) | __ | ( ___ _ ____ _____ :
: / /\ \ / / / ___ \ | / '/ _ __ \ / _ \ '\ \ / / _ :
: / ____ \ /\ / ) | | | | | | () |) | / | \ V / /:
:/_/ _/ / |
/ || || _
// _|_| _/ _|:
·······································································
INFO [2025-08-04T21:15:05-07:00] OS: Darwin
INFO [2025-08-04T21:15:06-07:00] AWS CLI: aws-cli/2.15.29 Python/3.11.8 Darwin/24.5.0 exe/x86_64 prompt/off
INFO [2025-08-04T21:15:06-07:00] The write traffic set up to 16000 WCUs per second
INFO [2025-08-04T21:15:06-07:00] The workers per tile is 1

Additional context
Add any other context about the problem here.

Metadata

Metadata

Assignees

Labels

questionFurther information is requested

Type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions