Affects Version/s: 0.5.0
Fix Version/s: None
Chukwa sometimes crashes with an unhelpful stack trace. In particular, a PatternSyntaxException is thrown when an invalid regular expression is passed to the dumpChunk command. This exception isn't useful to users to diagnose the error. I think it would be better to report a detailed error message. The attached patch makes this change.
Steps to reproduce:
- Run 'bin/chukwa dumpChunk "tags.=(" file'
- dumpChunk command fails to start
- See exception:
After applying the supplied patch the output is: