Roland Ormrod
Roland Ormrod

Reputation: 141

cassandra-stress: URI is not absolute error

I am trying to run cassandra-stress from a bash script:

HUB_STATUS_YAML="~/some-path/hub_errors.yaml"
COMMAND="cassandra-stress user profile=${HUB_STATUS_YAML} ops(insert=1)"
echo About to run $COMMAND
$COMMAND

I end up with the following error: "URI is not absolute".

Upvotes: 5

Views: 1239

Answers (1)

Patrick Farrell
Patrick Farrell

Reputation: 483

axelcdv's comment concurred with my experience of this problem.

Make sure you spell the file name correctly.

I'm taking DataStax training atm and encountered the same error. I was spelling the cqlstress.yaml as csqlstress.yaml the "URI is not absolute" error.

Upvotes: 5

Related Questions