Alexey Serbin has submitted this change and it was merged. ( 
http://gerrit.cloudera.org:8080/16929 )

Change subject: KUDU-2612 Java client transaction implementation
......................................................................

KUDU-2612 Java client transaction implementation

This patch implements the functionality behind the transaction-related
API calls in the Java Kudu client (i.e. issuing RPC calls to TxnManager,
retrying in case of transient errors, etc.).  Corresponding tests have
been added as well.  Some of the newly introduced tests are disabled
and should be re-enabled once the transaction commit orchestration is
implemented.

Change-Id: Ie0236875e7264877c3f7a13da4a5a3da6423786b
Reviewed-on: http://gerrit.cloudera.org:8080/16929
Tested-by: Alexey Serbin <[email protected]>
Reviewed-by: Hao Hao <[email protected]>
---
A 
java/kudu-client/src/main/java/org/apache/kudu/client/AbortTransactionRequest.java
A 
java/kudu-client/src/main/java/org/apache/kudu/client/AbortTransactionResponse.java
M java/kudu-client/src/main/java/org/apache/kudu/client/AsyncKuduClient.java
A 
java/kudu-client/src/main/java/org/apache/kudu/client/BeginTransactionRequest.java
A 
java/kudu-client/src/main/java/org/apache/kudu/client/BeginTransactionResponse.java
A 
java/kudu-client/src/main/java/org/apache/kudu/client/CommitTransactionRequest.java
A 
java/kudu-client/src/main/java/org/apache/kudu/client/CommitTransactionResponse.java
A 
java/kudu-client/src/main/java/org/apache/kudu/client/GetTransactionStateRequest.java
A 
java/kudu-client/src/main/java/org/apache/kudu/client/GetTransactionStateResponse.java
M java/kudu-client/src/main/java/org/apache/kudu/client/KuduRpc.java
M java/kudu-client/src/main/java/org/apache/kudu/client/KuduTransaction.java
M java/kudu-client/src/main/java/org/apache/kudu/client/RpcProxy.java
M java/kudu-client/src/main/java/org/apache/kudu/client/Status.java
A java/kudu-client/src/test/java/org/apache/kudu/client/TestKuduTransaction.java
M src/kudu/transactions/txn_status_manager.cc
15 files changed, 1,200 insertions(+), 16 deletions(-)

Approvals:
  Alexey Serbin: Verified
  Hao Hao: Looks good to me, approved

--
To view, visit http://gerrit.cloudera.org:8080/16929
To unsubscribe, visit http://gerrit.cloudera.org:8080/settings

Gerrit-Project: kudu
Gerrit-Branch: master
Gerrit-MessageType: merged
Gerrit-Change-Id: Ie0236875e7264877c3f7a13da4a5a3da6423786b
Gerrit-Change-Number: 16929
Gerrit-PatchSet: 10
Gerrit-Owner: Alexey Serbin <[email protected]>
Gerrit-Reviewer: Alexey Serbin <[email protected]>
Gerrit-Reviewer: Andrew Wong <[email protected]>
Gerrit-Reviewer: Grant Henke <[email protected]>
Gerrit-Reviewer: Hao Hao <[email protected]>
Gerrit-Reviewer: Kudu Jenkins (120)

Reply via email to