Граф коммитов

1192 Коммитов

Автор SHA1 Сообщение Дата
Jason Tedor 22509034e6 Elasticsearch 5: Remove core POM change
This commit removes an unrelated POM change for the original
(Elasticsearch 2) binding.
2017-08-10 11:29:44 +09:00
Jason Tedor 9267038886 Elasticsearch 5: Close content builder
This commit wraps the usage of a content builder in a try-with-resources
block to ensure that it is correctly closed.
2017-08-10 11:26:58 +09:00
Jason Tedor d791ae613c Elasticsearch 5: Change es.newdb to es.new_index
This commit changes the name of a property, es.newdb, to es.new_index as
this is more consistent with the terminology used in Elasticsearch.
2017-08-10 11:25:08 +09:00
Jason Tedor e30441cfb7 Elasticsearch 5: Remove unneeded output statements
This commit removes some unnecessary logging statements for the
elasticsearch5 and elasticsearch5-rest bindings.
2017-08-10 11:19:25 +09:00
Jason Tedor a65dcb76d6 Elasticsearch 5: Log transport client on stderr
This commit sets the log of the internal transport client used in the
Elasitcsearch 5 binding to use standard error instead of standard out.
2017-08-10 11:17:32 +09:00
Jason Tedor 6ae7050066 Elasticsearch 5: Revert unrelated changes
This commit reverts some unrelated changes to POMs for other bindings,
perhaps made inadvertently while merging master into a development
branch.
2017-08-10 11:08:57 +09:00
Jason Tedor 1774d62694 Elasticsearch 5: Format transport client logs
This commit adds some basic formatting to the transport client logs for
the transport client used in the Elasticsearch 5 binding.
2017-08-09 16:48:52 +09:00
Jason Tedor 6d14ff4ee5 Elasticsearch 5: Only activate plugin on JDK 8
This commit sets the Elasticsearch 5 binding to only use the
elasticsearch-maven-plugin if tests are running on JDK 8.
2017-08-09 14:33:44 +09:00
Jason Tedor 382bdc7642 Elasticsearch 5: Update docs
This commit updates the Elasticsearch 5 binding docs to include
references for starting Elasticsearch 5, how to configure the transport
client, and how to use the low-level REST client binding.
2017-08-09 14:24:35 +09:00
Jason Tedor 42bb148ce4 Elasticsearch 5: Fix issues for tests to pass
This commit fixes issues with the Elasticsearch 5 transport client and
REST client bindings so that all tests pass.
2017-08-09 14:09:49 +09:00
Jason Tedor f1eed61e73 Elasticsearch 5: Code cleanup
This commit is a straightforward code cleanup of the Elasticsearch 5
transport client and REST client implementations.
2017-08-08 19:08:29 +09:00
Jason Tedor bc69e7eb17 Elasticsearch 5: Complete REST implementation
This commit is an initial cut at a complete implementation using the
low-level Elasticsearch REST client.
2017-08-08 18:45:16 +09:00
Jason Tedor 0eb22d138e Elasticsearch 5: Fix unreleased bugs in client
This commit fixes a bug in the Elasticsearch 5 transport client
binding. Namely, the update method was not indexing using the ID of the
read document, but instead the provided key. As auto-generated IDs are
used, this is a mistake as this is not the ID of the document. This
commit fixes this issue.

Additionally, the type is passed to the search method and used in
searches. While this is not a correctness issue per se, we fix it for
clarity.
2017-08-08 18:42:47 +09:00
Jason Tedor db8674a372 Elasticsearch 5: Remove path.home setting
We can remove the path.home setting for the Elasticsearch 5 binding for
the transport client so this commit does that.
2017-08-08 15:45:47 +09:00
Jason Tedor e47e90e46c Elasticsearch 5: Use auto-IDs and implements scan
This commit refactors the indexing of documents in the Elasticsearch 5
binding to use auto-generated IDs, instead indexing the key field as a
dedicated field rather than using it as the ID. This enables us to
implement scan functionality which we add in this commit as well.
2017-08-08 15:41:30 +09:00
Jason Tedor d66e856a5d Elasticsearch 5: Remove support for embedded node
Upstream Elasticsearch does not support embedded nodes as of
Elasticsearch 5. This commit removes the usage of embedded nodes within
YCSB.
2017-08-07 21:41:49 +09:00
Jason Tedor 23163cc1ed Elasticsearch 5: Fix handling of settings
Since Elasticsearch 5, Elasticsearch is now strict about settings. This
means that if you pass it a setting that it does not recognize,
Elasticsearch will throw an exception whereas previously it was lenient
in such situations. This commit removes passing all properties as
settings to Elasticsearch in favor of a special prefix es.setting for
which properties prefixed with this will be passed as settings to
Elasticsearch.
2017-08-07 21:41:41 +09:00
Jason Tedor a3ba64d5e2 Elasticsearch 5: Avoid adding path.home if not set
If path.home is not set we should not add it to the settings object used
to construct the transport client otherwise we will hit a null pointer
exception due to the null value being dereferenced in the internals of
Elasticsearch.
2017-08-07 21:41:37 +09:00
Jason Tedor b1e1d48097 Elasticsearch 5: Set dependency to version 5.5.1
This commit bumps the Elasticsearch dependency version of the
Elasticsearch 5 binding to version 5.5.1.
2017-08-07 21:41:28 +09:00
Jason Tedor 4c84ffa3e9 Merge branch 'master' into initial-es5
* master:
  [core] Fixing squid:S1319 -  Declarations should use Java collection interfaces such as "List" rather than specific implementation classes such as "LinkedList". (manolama - updated bindings added since the PR)
  [core] Use longs instead of ints to support larger key spaces. Changed int to long in Measurements code to support large scale workloads. (manolama - fixed checkstyle errors)
  [core] Export totalHistogram for HdrHistogram measurement
  [core] Add an operation enum to the Workload class. This can eventually be used to replace the strings.
  [core] Add a Fisher-Yates array shuffle to the Utils class.
  [core] Fix an issue where the threadid and threadCount were not passed to the workload client threads. Had to use setters to get around the checkstyle complaint of having too many parameters.
  Upgrading googlebigtable to the latest version. The API used by googlebigtable has had quite a bit of churn.  This is the minimal set of changes required for the upgrade.
  [geode] Update to apache-geode 1.2.0 release
  [core] Update to use newer version of Google Cloud Spanner client and associated required change
  [core] Add a reset() method to the ByteIterator abstract and implementations for each of the children. This lets us re-use byte iterators if we need to access the values again (when applicable).
  [hbase12] Add HBase 1.2+ specific client that relies on the shaded client artifact provided by those versions. (#970)
  [distro] Refresh Apache licence text (#969)
  [memcached] support binary protocol (#965)
  [accumulo] A general "refresh" to the Accumulo binding (#947)
  [cloudspanner] Add binding for Google's Cloud Spanner. (#939)
  [aerospike] Change the write policy to REPLACE_ONLY (#937)
2017-08-07 08:46:55 +02:00
Kirill Vlasov cf5d2ca5f5 [core] Fixing squid:S1319 - Declarations should use Java collection interfaces such as "List" rather than specific implementation classes such as "LinkedList".
(manolama - updated bindings added since the PR)

Signed-off-by: Chris Larsen <clarsen@yahoo-inc.com>
2017-08-05 15:26:42 -07:00
Mairbek Khadikov 59bc986a08 [core] Use longs instead of ints to support larger key spaces.
Changed int to long in Measurements code to support large scale workloads.
(manolama - fixed checkstyle errors)

Signed-off-by: Chris Larsen <clarsen@yahoo-inc.com>
2017-08-05 13:13:44 -07:00
Jiongxin Liu 2c66bc652b [core] Export totalHistogram for HdrHistogram measurement
Signed-off-by: Chris Larsen <clarsen@yahoo-inc.com>
2017-08-04 22:46:27 -07:00
Chris Larsen d04d9325ec [core] Add an operation enum to the Workload class. This can eventually
be used to replace the strings.
2017-08-04 22:15:57 -07:00
Chris Larsen e4aecc1b47 [core] Add a Fisher-Yates array shuffle to the Utils class. 2017-08-04 22:15:23 -07:00
Chris Larsen a12928ec2e [core] Fix an issue where the threadid and threadCount were not passed
to the workload client threads. Had to use setters to get around the
checkstyle complaint of having too many parameters.
2017-08-04 22:14:55 -07:00
Chris Larsen 169150b786 Merge pull request #999 from manolama/iterators_reset
[core] Add a reset() method to the ByteIterator abstract and implemen…
2017-08-04 22:14:18 -07:00
Solomon Duskis eaff913d28 Upgrading googlebigtable to the latest version.
The API used by googlebigtable has had quite a bit of churn.  This is the minimal set of changes required for the upgrade.

Signed-off-by: Chris Larsen <clarsen@yahoo-inc.com>
2017-08-04 22:13:29 -07:00
Anthony Baker 73802a5b3d [geode] Update to apache-geode 1.2.0 release
Also fix a read serialization issue with client mode driver.

Signed-off-by: Chris Larsen <clarsen@yahoo-inc.com>
2017-08-04 12:31:31 -07:00
Sami Z 9135cc16c6 [core] Update to use newer version of Google Cloud Spanner client and associated required change
Signed-off-by: Chris Larsen <clarsen@yahoo-inc.com>
2017-08-04 12:15:07 -07:00
Chris Larsen a56a00eea2 [core] Add a reset() method to the ByteIterator abstract and implementations
for each of the children. This lets us re-use byte iterators if we need to
access the values again (when applicable).
2017-08-02 23:21:42 -07:00
Sean Busbey 6c20ca60da [hbase12] Add HBase 1.2+ specific client that relies on the shaded client artifact provided by those versions. (#970) 2017-05-19 16:50:05 -07:00
Matt Emmerton 57c22606aa [distro] Refresh Apache licence text (#969)
Closes #967
2017-05-12 17:51:55 -05:00
sashas83 b0ff7270fc [memcached] support binary protocol (#965)
Adding support for memcached binary protocol as described in
https://github.com/memcached/memcached/blob/master/doc/protocol.txt.

Protocol can be set via memcached.protocol property of YCSB memcached workload. if specified
protocol must be "binary" or "text". If unspecified text version is used.
2017-05-12 09:06:44 -05:00
Josh Elser ddde8e3c7a [accumulo] A general "refresh" to the Accumulo binding (#947)
* Expand on the README, covering table creation and best-practices for table config
* Avoid unnecessary Text object creations (in loops and instead of byte[] usage)
* Use a ConcurrentHashMap to better match the DB API
* Fix error messages and always call printStackTrace() on exceptions
* Use BATCHED_OK instead of OK in insert() (more correct)
2017-04-06 17:46:20 -04:00
siamaktz 78c3cfaedb [cloudspanner] Add binding for Google's Cloud Spanner. (#939) 2017-03-17 15:43:27 -05:00
tiboratAS 1c4c3106fd [aerospike] Change the write policy to REPLACE_ONLY (#937)
The original Aerospike interface layer was created when the REPLACE_ONLY option was not available.  This provides a policy more in line with the policies that other databases have implemented their interface layers.
2017-03-14 08:49:54 -05:00
Kevin Risden c52c4385b1 Start REST integration tests 2017-02-07 23:25:21 -05:00
Kevin Risden c3cfc98e57 [elasticsearch,elasticsearch5] Add Elasticsearch 5.x binding 2017-02-07 22:23:43 -05:00
Kevin Risden 68fbbb0a9c [solr,solr6] Update Solr versions (#924) 2017-02-06 15:16:14 -05:00
Kevin Risden 3c47f98fdb [hbase098] Fix checkstyle for HBase 0.98.x binding (#902) 2017-02-03 12:34:21 -05:00
Kevin Risden 5311642cf8 [core] Enforce checkstyle for core (#920) 2017-02-03 11:11:21 -05:00
Kevin Risden bfafcf1f05 [core] Fix checkstyle for measurements package (#916) 2017-02-03 10:45:34 -05:00
Kevin Risden 51ea29ec5b [core] Fix checkstyle for Client (#918) 2017-02-03 10:44:55 -05:00
Kevin Risden b60d267369 [core] Fix checkstyle for generator package (#915) 2017-02-03 10:11:00 -05:00
Kevin Risden 29e05b04d1 [core] Fix checkstyle for CommandLine (#917) 2017-02-03 10:09:36 -05:00
Kevin Risden b1ce58f2e4 [rest] Disable tests for Rest binding under JDK 9 (#921) 2017-02-02 14:49:38 -05:00
Kevin Risden 2dc43a91b2 [geode] Enforce checkstyle for geode binding (#919) 2017-02-02 14:27:28 -05:00
Mark 9336c2cb63 [arangodb3] added ArangoDB3 binding (ArangoDB 3.1, Java driver 4.1.7) (#903) 2017-02-02 14:23:08 -05:00
Kevin Risden a564c4cb63 [core] Fix checkstyle for CoreWorkload (#897) 2017-01-31 17:06:09 -05:00