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 2020/03/02 16:17:31 UTC

[GitHub] [accumulo] keith-turner commented on a change in pull request #1518: Fix #1430 Enforce table name limit for new tables

keith-turner commented on a change in pull request #1518: Fix #1430 Enforce table name limit for new tables
URL: https://github.com/apache/accumulo/pull/1518#discussion_r386494584
 
 

 ##########
 File path: core/src/main/java/org/apache/accumulo/core/clientImpl/TableOperationsImpl.java
 ##########
 @@ -788,7 +791,11 @@ public void clone(String srcTableName, String newTableName, CloneConfiguration c
   @Override
   public void rename(String oldTableName, String newTableName) throws AccumuloSecurityException,
       TableNotFoundException, AccumuloException, TableExistsException {
-
+    checkArgument(oldTableName.length() <= MAX_TABLE_NAME_LEN,
 
 Review comment:
   @cradal  when I look at the diffs on github I still see some error messages with 1024 in them.

----------------------------------------------------------------
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.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services