You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@accumulo.apache.org by GitBox <gi...@apache.org> on 2018/08/01 12:46:50 UTC

[GitHub] jmark99 commented on a change in pull request #575: Add splits to table at time of table creation #573

jmark99 commented on a change in pull request #575: Add splits to table at time of table creation #573
URL: https://github.com/apache/accumulo/pull/575#discussion_r206864263
 
 

 ##########
 File path: server/master/src/main/java/org/apache/accumulo/master/tableOps/CreateTable.java
 ##########
 @@ -58,6 +68,10 @@ public long isReady(long tid, Master environment) throws Exception {
     Utils.idLock.lock();
     try {
       tableInfo.tableId = Utils.getNextId(tableInfo.tableName, master.getInstance(), Table.ID::of);
+      if (tableInfo.props.containsKey(Property.TABLE_OFFLINE_OPTS + "create.initial.splits")
+          && this.splitFile != null) {
+        storeSplitFileNameInZooKeeper();
 
 Review comment:
   Updated TableInfo to contain a splitInfo entry. Enabled simplication of a couple of classes by negating the need for some utility methods that were needed when writing the info to ZK. 

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services