Search code examples
cassandra-2.0cassandra-stress

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".


Solution

  • 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.