Repository: kudu Updated Branches: refs/heads/master e3a8f64b9 -> 5d57cd18d
Release notes for the Java client in 1.1 Change-Id: Idf04d1db4769e19e6421628bbe980cb4c058c62c Reviewed-on: http://gerrit.cloudera.org:8080/5002 Reviewed-by: David Ribeiro Alves <[email protected]> Tested-by: Kudu Jenkins Project: http://git-wip-us.apache.org/repos/asf/kudu/repo Commit: http://git-wip-us.apache.org/repos/asf/kudu/commit/5d57cd18 Tree: http://git-wip-us.apache.org/repos/asf/kudu/tree/5d57cd18 Diff: http://git-wip-us.apache.org/repos/asf/kudu/diff/5d57cd18 Branch: refs/heads/master Commit: 5d57cd18df14d82712c77cef81ecaae7ae6c57c7 Parents: e3a8f64 Author: Jean-Daniel Cryans <[email protected]> Authored: Tue Nov 8 09:44:05 2016 -0800 Committer: Jean-Daniel Cryans <[email protected]> Committed: Wed Nov 9 19:09:55 2016 +0000 ---------------------------------------------------------------------- docs/release_notes.adoc | 21 ++++++++++++++++++++- 1 file changed, 20 insertions(+), 1 deletion(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/kudu/blob/5d57cd18/docs/release_notes.adoc ---------------------------------------------------------------------- diff --git a/docs/release_notes.adoc b/docs/release_notes.adoc index c3cce73..36b8794 100644 --- a/docs/release_notes.adoc +++ b/docs/release_notes.adoc @@ -51,9 +51,21 @@ match on a set of column values. Support for Spark, Map Reduce and Impala queries utilizing IN LIST pushdown is not yet complete. +* The Java client now features client-side request tracing in order to help troubleshoot timeouts. + Error messages are now augmented with traces that show which servers were contacted before the + timeout occured instead of just the last error. The traces also contain RPCs that were + required to fulfill the client's request, such as contacting the master to discover a tablet's + location. Note that the traces are not available for successful requests and are not + programatically queryable. + == Optimizations and improvements -XXX +* Kudu now publishes JAR files for Spark 2.0 compiled with Scala 2.11 along with the + existing Spark 1.6 JAR compiled with Scala 2.10. + +* The Java client now allows configuring scanners to read from the closest replica instead of + the known leader replica. The default remains the latter. Use the relevant `ReplicaSelection` + enum with the scanner's builder to change this behavior. === Command line tools @@ -89,6 +101,13 @@ XXX to emphasize that it doesn't return milliseconds, unlike what its Javadoc indicated. The renamed method was also hidden from the public APIs and should not be used. +* The Java client's sync API (`KuduClient`, `KuduSession`, `KuduScanner`) used to throw either + a `NonRecoverableException` or a `TimeoutException` for a timeout, and now it's only possible for the + client to throw the former. + +* The Java client's handling of errors in `KuduSession` was modified so that subclasses of + `KuduException` are converted into RowErrors instead of being thrown. + [[known_issues_and_limitations]] == Known Issues and Limitations
