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

37 Коммитов

Автор SHA1 Сообщение Дата
Álvaro Hernández 5a12972c07 [dynamodb] Improve endpoint and region config
* Upgrade AWS SDK from version 1.10.48 to 1.11.812.

* Introduce a new configuration parameter, dynamodb.region, which
  represents a valid AWS region code (see
  https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/using-regions-availability-zones.html#concepts-available-regions
  for example). If specifying the region, it is not necessary to specify
  the dynamodb.endpoint parameter.

* Introduce support for non-standard endpoints. Before this commit,
  setting the endpoint to a non-standard one, like a proxy, but
  ultimately connecting to a region different from 'us-east-1' would
  lead to a credential errors due to bad signature:

  ERROR site.ycsb.db.DynamoDBClient
  -com.amazonaws.AmazonServiceException: Credential should be scoped to
  a valid region, not 'us-east-1'.  (Service: AmazonDynamoDBv2; Status
  Code: 400; Error Code: InvalidSignatureException;

  With this commit, if using a proxy as an endpoint, by setting also the
  region via dynamodb.region, it will work with no error.

* Set TCP Keep-Alive to true. Even it makes sense to be used by YCSB, it
  apparently doesn't improve performance notably given the connection
  reuse that the DynamoDB client is doing.

* Update the example config file with the endpoint and region parameters
  and behavior.
2020-11-26 21:48:33 -06:00
Sean Busbey 12ce3a8504 [version] update master branch to 0.18.0-SNAPSHOT 2019-09-21 01:24:50 -05:00
Sean Busbey cd1589ce6f
Move all packages from com.yahoo.ycsb to site.ycsb. (#1354) 2019-09-19 13:51:09 -05:00
Sean Busbey fd29cda92b
[build] update group id to site.ycsb (#1352) 2019-09-19 13:50:20 -05:00
Sean Busbey bcf9ee3485 [version] update master branch to 0.17.0-SNAPSHOT 2019-06-04 00:28:38 -05:00
Sean Busbey c506ef90b7 [version] update master to 0.16.0-SNAPSHOT 2018-07-28 22:34:50 -05:00
Sean Busbey 0c269338c2 [version] update master to 0.15.0-SNAPSHOT 2018-05-23 23:42:56 -05:00
Sean Busbey af424b083d [version] update master branch to 0.14 2017-09-21 21:00:41 -05: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
Kevin Risden 7fa83311a6 [dynamodb] Enforce checkstyle for DynamoDB binding (#904) 2017-01-31 11:56:24 -05:00
Kevin Risden b83dd7eed7 [version] update master to 0.13.0-SNAPSHOT. 2016-11-18 09:29:58 -06:00
Govind Kamat c01fd82ac3 [version] update master to 0.12.0-SNAPSHOT. 2016-08-31 16:23:41 -07:00
Sean Busbey 68dd10c1b4 [version] update master to 0.11.0-SNAPSHOT. 2016-06-21 23:31:56 -05:00
Stanley Feng d6f73d3680 [version] update master to 0.10.0-SNAPSHOT. 2016-05-04 20:33:11 -07:00
Chrisjan Matser d4e3f60c29 [version] update master to 0.9.0-SNAPSHOT. 2016-04-01 21:58:48 -07:00
Robert J. Moore a15b364361 [dynamodb] Checkstyle updates for DynamoDB. 2016-03-08 16:43:55 -06:00
Kevin Risden 393c611879 [version] update master to 0.8.0-SNAPSHOT. 2016-02-16 07:34:02 -06:00
Sean Busbey a6c71994e4 [checkstyle] consolidate checkstyle plugin configs. default to enforcing.
- define checkstyle configs in as few places as possible
- use checkstyle:check since it has defaults that match what we want (fail after logging to console)
- modules that have current failures set property checkstyle.failOnViolation to false.
2016-01-27 08:58:53 -06:00
yuyanting 015ac03764 [dynamodb] Update API version. 2016-01-23 10:19:49 -08:00
Kirill Vlasov b3dfd75831 [core dynamodb googledatastore infinispan] Fixing pmd:UnnecessaryConstructor - Unnecessary constructor, squid:EmptyStatementUsageCheck - Empty statements should be removed 2015-12-31 16:30:09 +05:00
Kirill Vlasov d3e1f368c6 [cassandra cassandra2 dynamodb hbase098 hbase10 jdbc s3] Fixing squid:S1481 - Unused local variables should be removed 2015-12-27 21:37:59 +05:00
bigbes 253e6bb393 [version] update master to 0.7.0-SNAPSHOT. 2015-12-20 19:44:51 +03:00
Connor McCoy 92c69c55bb Merge branch 'missing-licence' 2015-11-05 18:22:02 -08:00
Stanley Feng 1238a4f865 [dynamodb] Some minor styling fix. 2015-11-05 09:48:31 -08:00
Stanley Feng 36d18d42ae [dynamodb] Add HASH_AND_RANGE primary key type
Extend the dynamoDB client to support the HASH_AND_RANGE primary key
type. The default primary key type remains exactly the same as before:
HASH type. And the default behavior and processing logic also remains
exactly the same as before.

What's added is the support to benchmark a primary key type called
HASH_AND_RANGE which is one of two supported primary key types of
DynamoDB. Knowing the performance characteristics of the HASH_AND_RANGE
key is important for some users because that's the only practical way
for them to get strongly consistent query across multiple items.

See documentation in conf/dynamodb.properties for more details.
2015-11-05 09:48:07 -08:00
Connor McCoy a0527af58f [license] Apply results of Apache Rat check
Also fix a few README formatting issues.

        mvn org.apache.rat:apache-rat-plugin:0.11:check -D rat.numUnapprovedLicenses=5000
2015-11-04 10:25:46 -08:00
Connor McCoy b116ee5a78 [version] update master to 0.6.0-SNAPSHOT. 2015-11-03 20:10:06 -08:00
Connor McCoy 5113c2e3d2 StatusCode -> Status
Replaces numeric status codes with a canonical set of Status objects,
each with a short name and description.
Bindings with more specific errors (e.g., timeouts) return additional
statuses.

This changes the default output from messages like:

   [UPDATE], Return=0, 511

To:

   [UPDATE], Return=OK, 511
2015-11-03 08:33:43 -08:00
Stanley Feng 27f2b89239 Rename README file to README.md file for the following DB bindings so the build process can generate binding specific tar balls for them. (currently they are broken because the build process looks for README.md)
dynamodb
hypertable
mapkeeper
nosqldb
2015-10-27 10:33:19 -07:00
Robert J. Moore 1eadd68c63 [version] update master to 0.5.0-SNAPSHOT. 2015-09-21 19:42:39 -04:00
Govind Kamat 25502287c5 [licensing] Added ASLv2 headers to files without them. 2015-08-07 10:49:16 -07:00
Govind Kamat 935efc6458 [version] update master to 0.4.0-SNAPSHOT. 2015-07-17 18:48:42 -07:00
Sean Busbey 9c80044e99 [version] update master to 0.3.0-SNAPSHOT.
As a part of branching to stage 0.2.0 release in #266, set version
for continued development on master branch.
2015-06-19 01:13:13 -05:00
Sean Busbey 195d6e861c [packaging] refactor packaging to avoid fat-jars.
* remove unused declared deps in a few places
* lex sort modules in top level pom
* update maven plugin versions.
* no more jar-with-dependencies
* set ycsb-core to provided in bindings
* introduce a bindings-parent pom that sets
** stage dependency copy on building binding
** iff binding has a README.md, build a binding-specific dist artifact
* update distribution assembly to
** properly build after modules
** use per-binding sets of dependencies

closes #250
2015-06-17 12:29:36 -05:00
Sean Busbey 083db1714c [version] update to 0.2.0-SNAPSHOT.
* Need a SNAPSHOT version because non-SNAPSHOT is reserved for actual releases.
* Increment minor version per pre-1.0 guidelines from the Version Numbers guide

Fixes #236.
2015-05-27 01:15:36 -05:00
Janani Narayanan 9fef32a19f gh-97 Bug fixes in dynamodb plugin
I have fixed a bug in insert() and delete() methods.There are also
some cosmetic changes to readme and properties files.
2012-10-22 15:41:43 -04:00
Janani Narayanan 5813dbcaaf gh-88 YCSB client for Amazon DynamoDB 2012-08-14 14:18:39 -07:00