Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

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

like image 792
Roland Ormrod Avatar asked Mar 13 '15 15:03

Roland Ormrod


1 Answers

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.

like image 183
Patrick Farrell Avatar answered Nov 13 '22 12:11

Patrick Farrell