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

KAFKA-6422 Mirror maker will throw null pointer exception when the message value is null #4387

Merged
merged 3 commits into from
Jan 8, 2018

Conversation

lisa2lisa
Copy link
Contributor

when enable trace level log in mirror maker, if the message value is null. it will throw null pointer exception and shutdown the mirror maker.

@hachikuji
Copy link

Thanks for the patch, LGTM. Since this is a bug, would you mind creating a JIRA? That makes it easier for people who hit this to find the fix and which releases include it.

@lisa2lisa
Copy link
Contributor Author

lisa2lisa commented Jan 4, 2018

@hachikuji will do that for sure.

here is the task https://issues.apache.org/jira/browse/KAFKA-6422, let me know if there has anything else I can do.

@lisa2lisa lisa2lisa changed the title MINOR will throw null pointer exception when value is null KAFKA-6422 will throw null pointer exception when value is null Jan 4, 2018
@lisa2lisa lisa2lisa changed the title KAFKA-6422 will throw null pointer exception when value is null KAFKA-6422 Mirror maker will throw null pointer exception when the message value is null Jan 4, 2018
@omkreddy
Copy link
Contributor

omkreddy commented Jan 8, 2018

LGTM

@wushujames
Copy link
Contributor

Looks good to me.

@hachikuji
Copy link

retest this please

Copy link

@hachikuji hachikuji left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM. Thanks for the patch!

@hachikuji
Copy link

I'm going to go ahead and merge this since the jenkins failures seem to be environmental.

@hachikuji hachikuji merged commit f2e9725 into apache:trunk Jan 8, 2018
hachikuji pushed a commit that referenced this pull request Jan 8, 2018
…ssage value is null (#4387)

Reviewers: Manikumar Reddy <manikumar.reddy@gmail.com>, James Cheng <jylcheng@yahoo.com>, Jason Gustafson <jason@confluent.io>
@lisa2lisa lisa2lisa deleted the mirrormaker-check-null-value branch January 9, 2018 07:39
isolis pushed a commit to linkedin/kafka that referenced this pull request Sep 13, 2018
KAFKA-6422 Mirror maker will throw null pointer exception when the message value is null (apache#4387)

Reviewers: Manikumar Reddy <manikumar.reddy@gmail.com>, James Cheng <jylcheng@yahoo.com>, Jason Gustafson <jason@confluent.io>
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.

5 participants