This is an automated email from the ASF dual-hosted git repository.
mwalch pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/accumulo-website.git
The following commit(s) were added to refs/heads/master by this push:
new f0cd66b Updates to 2.0 release notes (#148)
f0cd66b is described below
commit f0cd66be721ca7c5c2736b2145a52a183569fe21
Author: Mike Walch <[email protected]>
AuthorDate: Wed Jan 30 16:46:05 2019 -0500
Updates to 2.0 release notes (#148)
---
_posts/release/2017-09-05-accumulo-2.0.0.md | 15 ++++++++++++---
1 file changed, 12 insertions(+), 3 deletions(-)
diff --git a/_posts/release/2017-09-05-accumulo-2.0.0.md
b/_posts/release/2017-09-05-accumulo-2.0.0.md
index 56bc0c0..720aaaf 100644
--- a/_posts/release/2017-09-05-accumulo-2.0.0.md
+++ b/_posts/release/2017-09-05-accumulo-2.0.0.md
@@ -12,9 +12,17 @@ to documentation for new features in addition to issues.
### New API for creating connections to Accumulo
-A fluent API for clients to build `Connector` objects was introduced in
[ACCUMULO-4784].
-The new API deprecates `ClientConfiguration` and introduces its own properties
-file called `accumulo-client.properties` that ships with the Accumulo tarball.
+A fluent API for creating Accumulo clients was introduced in [ACCUMULO-4784]
and [#634].
+The `Connector` and `ZooKeeperInstance` objects have been deprecated and
replaced by
+`AccumuloClient` which is created from the `Accumulo` entry point. The new API
also deprecates
+`ClientConfiguration` and introduces its own properties file called
`accumulo-client.properties`
+that ships with the Accumulo tarball. The new API has the following benefits
over the old API:
+ * All connection information can be specifed in properties file to create
the client. This was not
+ possible with old API.
+ * The new API does not require `ZooKeeperInstance` to be created first
before creating a client.
+ * The new client is closeable and does not rely on shared static resource
management
+ * Clients can be created using a new Java builder, `Properties` object, or
`accumulo-client.properties`
+ * Clients can now be created with default settings for `BatchWriter`,
`Scanner`, etc.
See the [client documentation][clients] for more information on how to use the
new API.
### Hadoop 3 and Java 8.
@@ -178,3 +186,4 @@ View the [Upgrading Accumulo documentation][upgrade] for
guidance.
[ACCUMULO-4490]: https://issues.apache.org/jira/browse/ACCUMULO-4490
[ACCUMULO-4449]: https://issues.apache.org/jira/browse/ACCUMULO-4449
[ACCUMULO-3652]: https://issues.apache.org/jira/browse/ACCUMULO-3652
+[#634]: https://github.com/apache/accumulo/issues/634