keith-turner opened a new issue, #5914: URL: https://github.com/apache/accumulo/issues/5914
**Describe the bug** When a table constraint is violated the error message does not include the class name of the server side constraint class. Not including this information makes debugging more difficult. **Expected behavior** This [code](https://github.com/apache/accumulo/blob/5eb04ebce328d3441b9721d7a548cbcf71b563e1/core/src/main/java/org/apache/accumulo/core/client/MutationsRejectedException.java#L63-L68) that creates the exception message is modified to include the class name using [this code](https://github.com/apache/accumulo/blob/5eb04ebce328d3441b9721d7a548cbcf71b563e1/core/src/main/java/org/apache/accumulo/core/data/ConstraintViolationSummary.java#L62). Currently it looks like this ``` org.apache.accumulo.core.client.MutationsRejectedException: constraint violation codes : [1] security codes: {} # server errors 0 # exceptions 0 ``` it would be nice if look like the following ``` org.apache.accumulo.core.client.MutationsRejectedException: constraint violation codes : classname1:[1],classname2[3,4] security codes: {} # server errors 0 # exceptions 0 ``` -- 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]
