Marton Greber has uploaded this change for review. ( http://gerrit.cloudera.org:8080/23451
Change subject: KUDU-3662 [6/n] Add createTable flag and table initialization logic ...................................................................... KUDU-3662 [6/n] Add createTable flag and table initialization logic 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 --- 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, 616 insertions(+), 2 deletions(-) git pull ssh://gerrit.cloudera.org:29418/kudu refs/changes/51/23451/1 -- 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: newchange Gerrit-Change-Id: I1002b4ba272c1acaab351e3ff3f341ca327070d2 Gerrit-Change-Number: 23451 Gerrit-PatchSet: 1 Gerrit-Owner: Marton Greber <[email protected]>
