Attila Bukor has submitted this change and it was merged. ( 
http://gerrit.cloudera.org:8080/23451 )

Change subject: KUDU-3662 [6/n] Add sink table initialization
......................................................................

KUDU-3662 [6/n] Add sink table initialization

Adds automatic table creation to eliminate manual sink table setup.
The createTable flag in ReplicationJobConfig enables automatic
recreation of source table schema, partitioning, and metadata on
the destination cluster.

ReplicationTableInitializer handles all Kudu partitioning schemes
including hash-only, range-only, combined hash/range, and custom
hash schemas per range. Implementation ports logic from Scala
backup/restore code in KuduRestore for proven reliability.

Add unit tests to verify table initialization functionality across
all supported partitioning types.

Change-Id: I1002b4ba272c1acaab351e3ff3f341ca327070d2
Reviewed-on: http://gerrit.cloudera.org:8080/23451
Reviewed-by: Zoltan Chovan <[email protected]>
Reviewed-by: Attila Bukor <[email protected]>
Tested-by: Attila Bukor <[email protected]>
---
M 
java/kudu-replication/src/main/java/org/apache/kudu/replication/ReplicationConfigParser.java
M 
java/kudu-replication/src/main/java/org/apache/kudu/replication/ReplicationEnvProvider.java
M 
java/kudu-replication/src/main/java/org/apache/kudu/replication/ReplicationJobConfig.java
A 
java/kudu-replication/src/main/java/org/apache/kudu/replication/ReplicationTableInitializer.java
A 
java/kudu-replication/src/test/java/org/apache/kudu/replication/TestReplicationTableInitializer.java
5 files changed, 612 insertions(+), 2 deletions(-)

Approvals:
  Zoltan Chovan: Looks good to me, but someone else must approve
  Attila Bukor: Looks good to me, approved; Verified

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

Gerrit-Project: kudu
Gerrit-Branch: master
Gerrit-MessageType: merged
Gerrit-Change-Id: I1002b4ba272c1acaab351e3ff3f341ca327070d2
Gerrit-Change-Number: 23451
Gerrit-PatchSet: 3
Gerrit-Owner: Marton Greber <[email protected]>
Gerrit-Reviewer: Abhishek Chennaka <[email protected]>
Gerrit-Reviewer: Alexey Serbin <[email protected]>
Gerrit-Reviewer: Attila Bukor <[email protected]>
Gerrit-Reviewer: Kudu Jenkins (120)
Gerrit-Reviewer: Marton Greber <[email protected]>
Gerrit-Reviewer: Zoltan Chovan <[email protected]>

Reply via email to