5

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

approxiblue
  • 6,982
  • 16
  • 51
  • 59
  • 2
    Have you checked your file exists at this location and is correctly named? I just spent 10 min having the same error before finally realizing I had typed example.yml instead of example.yaml... – axelcdv Apr 16 '15 at 13:40

1 Answers1

5

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.

Community
  • 1
  • 1
Patrick Farrell
  • 428
  • 3
  • 12