Skip to content

dynamodb plugins are not loaded  #244

@fruch

Description

@fruch

I'm running inside a docker in a ec2 instance,
and trying to use -Dndbench.config.cli.clientName=DynamoDBKeyValue from the command line ?

and keep hitting this error:

07:57:15,067  INFO Reflections:229 - Reflections took 85 ms to scan 6 urls, producing 18 keys and 68 values 
07:57:15,105  INFO NdBenchClientModule:53 - Installing NdBenchClientPlugin: com.netflix.ndbench.plugin.cass.CassJavaDriverBatch with Annotation: CassJavaDriverBatch
07:57:15,107  INFO NdBenchClientModule:53 - Installing NdBenchClientPlugin: com.netflix.ndbench.plugin.cockroachdb.operations.CockroachDBTransactionPlugin with Annotation: CockroachDBTransactionPlugin
07:57:15,107  INFO NdBenchClientModule:53 - Installing NdBenchClientPlugin: com.netflix.ndbench.plugin.cass.CassUDTFrozen with Annotation: CassUDTFrozen
07:57:15,108  INFO NdBenchClientModule:53 - Installing NdBenchClientPlugin: com.netflix.ndbench.plugin.janusgraph.JanusGraphPluginCQL with Annotation: janusgraph-cql
07:57:15,109  INFO NdBenchClientModule:53 - Installing NdBenchClientPlugin: com.netflix.ndbench.plugin.es.EsRestPlugin with Annotation: ES_REST
07:57:15,109  INFO NdBenchClientModule:53 - Installing NdBenchClientPlugin: com.netflix.ndbench.plugin.cockroachdb.operations.CockroachDBSecondaryIndexPlugin with Annotation: CockroachDBSecondaryIndexPlugin
07:57:15,110  INFO NdBenchClientModule:53 - Installing NdBenchClientPlugin: com.netflix.ndbench.plugin.elassandra.ElassandraCassJavaDriverPlugin with Annotation: ElassandraCassJavaDriverPlugin
07:57:15,110  INFO NdBenchClientModule:53 - Installing NdBenchClientPlugin: com.netflix.ndbench.plugin.cockroachdb.operations.CockroachDBSimplePlugin with Annotation: CockroachDBSimplePlugin
07:57:15,111  INFO NdBenchClientModule:53 - Installing NdBenchClientPlugin: com.netflix.ndbench.plugin.cass.CassJavaDriverGeneric with Annotation: CassJavaDriverGeneric
07:57:15,111  INFO NdBenchClientModule:53 - Installing NdBenchClientPlugin: com.netflix.ndbench.plugin.sample.InMemoryTestPlugin with Annotation: InMemoryTest
07:57:15,112  INFO NdBenchClientModule:53 - Installing NdBenchClientPlugin: com.netflix.ndbench.plugin.geode.GeodeCloudPlugin with Annotation: GeodeCloudPlugin
07:57:15,112  INFO NdBenchClientModule:53 - Installing NdBenchClientPlugin: com.netflix.ndbench.plugin.cass.CassAstyanaxPlugin with Annotation: CassAstyanaxPlugin
07:57:15,123  INFO Reflections:229 - Reflections took 10 ms to scan 6 urls, producing 18 keys and 68 values 
07:57:15,128  INFO NdBenchClientModule:98 - adding ndbench client plugin guice module: com.netflix.ndbench.plugin.es.NfndbenchEsModule
07:57:15,136  INFO NdBenchClientModule:98 - adding ndbench client plugin guice module: com.netflix.ndbench.plugin.cockroachdb.configs.CockroachDBModule
07:57:15,141  INFO NdBenchClientModule:98 - adding ndbench client plugin guice module: com.netflix.ndbench.plugin.janusgraph.NdBenchJanusGraphModule
07:57:15,145  INFO NdBenchClientModule:98 - adding ndbench client plugin guice module: com.netflix.ndbench.plugin.configs.CassModule
07:57:15,395  INFO ConfigurationInjectingListener:45 - Initializing ConfigurationInjectingListener

...

07:57:15,559 ERROR NdbenchCli:68 - Encountered an exception when driving load
java.lang.RuntimeException: Client not found: DynamoDBKeyValue
        at com.netflix.ndbench.core.NdBenchClientFactory.getClient(NdBenchClientFactory.java:42)
        at com.netflix.ndbench.cli.NdbenchCli.main(NdbenchCli.java:42)

what am I doing wrong ?

also I want to try to use this with local dynamodb, as in the unit tests, but that's isn't clear on how to configured it from the commandline

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions