Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fixes wrong parse exception type being caught by TranquilityEventWriter #250

Open
wants to merge 2 commits into
base: druid-0.10.1
Choose a base branch
from

Conversation

SpotXPeterCunningham
Copy link

Avro extensions from the Druid codebase throw a ParseException
from the io.druid.java.util.common.parsers package, the Tranquility
code is not catching this as it is expecting the ParseException to
be from the com.metamx.common.parsers package.

This means that broken messages will halt processing regardless of the
reportParseExceptions setting as the exception goes uncaught.

Fixed this to use the ParseException from io.druid.java.util.common.parsers
package

Avro extensions from the Druid codebase throw a ParseException
from the io.druid.java.util.common.parsers package, the Tranquility
code is not catching this as it is expecting the ParseException to
be from the com.metamx.common.parsers package.

This means that broken messages will halt processing regardless of the
reportParseExceptions setting as the exception goes uncaught.

Fixed this to use the ParseException from io.druid.java.util.common.parsers
package
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant