Bringing together the Apache Cassandra experts from the community and DataStax.

Want to learn? Have a question? Want to share your expertise? You are in the right place!

Not sure where to begin? Getting Started

 

question

ramakrishnab_179379 avatar image
ramakrishnab_179379 asked ·

Unable to run target/scala-2.12/gatling-dse-sims listSims

we are able to run sbt: assembly for gatling-dse-stress

After that, it created the file

target:
scala-2.12
classes
resolution-cache
test-classes
gatling-dse-sims
sbt:gatling-dse-simcatalog> target/scala-2.12/gatling-dse-sims listSims
[error] Expected key
[error] Not a valid key: scala-2 (similar: scalafmt, scalaHome, scalastyle)
[error] target/scala-2.12/gatling-dse-sims listSims
[error] ^

Please helps how to resolve this one

gatling
10 |1000 characters needed characters left characters exceeded

Up to 8 attachments (including images) can be used with a maximum of 1.0 MiB each and 10.0 MiB total.

1 Answer

Erick Ramirez avatar image
Erick Ramirez answered ·

@ramakrishnab_179379 It looks like you're running the gatling-dse-sims application from inside a sbt shell and it won't work. I'm not sure which instructions you're following but you need to run the application from a Linux shell.

Here is what I did on my test server using the instructions on https://github.com/datastax/gatling-dse-simcatalog. First, I cloned the repository with:

$ git clone git@github.com:datastax/gatling-dse-simcatalog.git

Then I built the app:

$ cd gatling-dse-simcatalog
$ sbt clean assembly

Finally, to list the available simulations:

$ cd target/scala-2.12
$ ./gatling-dse-sims listSims
Available sims:
 - sims.examples.cql.members.InsertMembersSimulation
 - sims.examples.cql.orders.ReadOrderSimulation
 - sims.examples.cql.orders.ReadWriteOrderPercentSimulation
 - sims.examples.cql.orders.WriteOrderSimulation
 - sims.examples.cql.urls.InsertUrlsSimulation
 - sims.examples.graph.ReadSimulation
 - sims.examples.graph.ReadWriteSimulation
 - sims.examples.graph.WriteSimulation
 - sims.examples.solr.accounts.SolrQueryAccountsSimulation
 - sims.examples.solr.accounts.WriteAccountsSimulation

As a side note, Gatling DSE Stress and the simulation catalog are no longer being actively maintained.

We recommend that you instead use the recently-released NoSQLBench -- open-source NoSQL benchmarking software. You can find the NoSQLBench documentation at http://docs.nosqlbench.io/#/docs. Cheers!

2 comments Share
10 |1000 characters needed characters left characters exceeded

Up to 8 attachments (including images) can be used with a maximum of 1.0 MiB each and 10.0 MiB total.

Thanks, Erick we are able to execute now.

0 Likes 0 · ·

Fantastic! Just a reminder that we no longer maintain that tool and that you should use NoSQLBench instead. Cheers!

0 Likes 0 · ·