keith-turner commented on issue #3233:
URL: https://github.com/apache/accumulo/issues/3233#issuecomment-1495225215

   The new 2.1.0 API 
[TableOperations.getTableProperties()](https://github.com/apache/accumulo/blob/1409bc0fdd8fa9b262d8de5a388af99ef5deb61e/core/src/main/java/org/apache/accumulo/core/client/admin/TableOperations.java#L513-L526)
 may facilitate this along with a new options on the shell command. That new 
API only returns the props set on a table.  Could add a new option like 
--copy-only-table-config that uses TableOperations.getTableProperties()
   
   Looking at the current create table command I was surprised that it creates 
the table and set then copies the config.  It would be better if it used 
[NewTableConfiguration.setProperties()] 
(https://github.com/apache/accumulo/blob/1409bc0fdd8fa9b262d8de5a388af99ef5deb61e/core/src/main/java/org/apache/accumulo/core/client/admin/NewTableConfiguration.java#L143)
 to set the props prior to creation.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to