keith-turner commented on code in PR #5924:
URL: https://github.com/apache/accumulo/pull/5924#discussion_r2373109581


##########
core/src/main/java/org/apache/accumulo/core/data/constraints/DefaultKeySizeConstraint.java:
##########
@@ -68,6 +72,8 @@ public List<Short> check(Environment env, Mutation mutation) {
 
       if (size > maxSize) {
         violations.add(MAX__KEY_SIZE_EXCEEDED_VIOLATION);
+        LOG.info("Constraint violation. Key starting with row '{}' (size = {}) 
larger than 1MB",

Review Comment:
   Any key field could push it over the size so would be useful to log the 
prefix of every field and its length.



-- 
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