Skip to content
buildlackey edited this page Nov 26, 2017 · 2 revisions

FAQ

Why is the number of objects in my data store not increasing even though I am seeing 200 responses when I invoke writeSingle or startWrites REST APIs?

It might be the case that the value you chose for the configuration option 'numKeys' is lower than the number of writes you are issuing. The number of keys you allocate may impact how your benchmark runs for plug-in clients that perform UPSERT style writes (that is: writes which create an object if the corresponding key is not present, and which update the object it if its key exists). This occurs with the Elasticsearch REST client, for example: if the number of writes you perform starts to exceed the number of keys allotted then you will see the document count in your test index cease to increase.)

When debugging issues, how do I change the log level of classes in the Ndbench code base

Create a log4j.properties somewhere on the file system(s) of the machine(s) running your Ndbench cluster, then set the system property: -Dlog4j.configuration=file:///<path_to_log4j.properties.file>