accumulo: The `listcompactions` command error is not helpful
One improvement for the listcompactions
command could be to provide a tserver parameter and only list the compactions on that tserver.
About this issue
- Original URL
- State: closed
- Created 4 years ago
- Comments: 17 (17 by maintainers)
@DomGarguilo I mean we don’t need the full stack trace you had included. If you have already removed it, then we’re on the same page. For the exceptions logged at DEBUG, I was thinking we could do that in addition. If you open a PR with your fix for this issue, I can make more specific suggestions in a code review, if necessary.
This stack trace implies that the error we’re seeing in this example is that
HostAndPort.java
’sgetPort
method should use the version ofcheckState
that allows us to provide a more meaningful message, such asthe address does not include a port
.Seeing the stack trace is useful for finding out where we can improve the messages, such as that one, but I’m not sure we want to keep the full stack trace here once we’ve improved the messages. Maybe we can log the stack trace as a warning, but otherwise keep the regular listing with just with the message from the exception.