This is an automated email from the ASF dual-hosted git repository.
adar pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/kudu.git
The following commit(s) were added to refs/heads/master by this push:
new 12f5eee [doc] Update the doc of AsyncKuduClient
12f5eee is described below
commit 12f5eeefd2f1b3deacc0d12ec8e9240893d884b8
Author: oclarms <[email protected]>
AuthorDate: Tue May 21 19:22:32 2019 +0800
[doc] Update the doc of AsyncKuduClient
Remove MasterErrorException in doc.
Change-Id: Ie03bb99270a33aa37871d4195b8dbdb7ec006af6
Reviewed-on: http://gerrit.cloudera.org:8080/13389
Reviewed-by: Adar Dembo <[email protected]>
Tested-by: Adar Dembo <[email protected]>
---
.../src/main/java/org/apache/kudu/client/AsyncKuduClient.java | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git
a/java/kudu-client/src/main/java/org/apache/kudu/client/AsyncKuduClient.java
b/java/kudu-client/src/main/java/org/apache/kudu/client/AsyncKuduClient.java
index 668f238..74beb9e 100644
--- a/java/kudu-client/src/main/java/org/apache/kudu/client/AsyncKuduClient.java
+++ b/java/kudu-client/src/main/java/org/apache/kudu/client/AsyncKuduClient.java
@@ -853,7 +853,7 @@ public class AsyncKuduClient implements AutoCloseable {
* after opening the table.
*
* @param name table to open
- * @return a KuduTable if the table exists, else a MasterErrorException
+ * @return a deferred KuduTable
*/
public Deferred<KuduTable> openTable(String name) {
checkIsClosed();
@@ -1824,7 +1824,7 @@ public class AsyncKuduClient implements AutoCloseable {
* @param deadline deadline in milliseconds for this method to finish
* @return a list of the tablets in the table, which can be queried for
metadata about
* each tablet
- * @throws Exception MasterErrorException if the table doesn't exist
+ * @throws Exception if anything went wrong
*/
List<LocatedTablet> syncLocateTable(KuduTable table,
byte[] startPartitionKey,