Skip to content
This repository has been archived by the owner on May 12, 2021. It is now read-only.

APEXMALHAR-2134 Fix the NullPointerException, if the kafka partition has no leader broker #379

Merged
merged 1 commit into from
Aug 27, 2016

Conversation

chaithu14
Copy link
Contributor

No description provided.

@chaithu14
Copy link
Contributor Author

@siyuanh Please review and merge.

@@ -508,6 +508,9 @@ private void monitorMetadata()
continue;
}
Broker b = pm.leader();
if (b == null) {
continue;
Copy link
Contributor

Choose a reason for hiding this comment

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

We should put a INFO log here.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Added a log message and updated.

@tweise
Copy link
Contributor

tweise commented Aug 26, 2016

@chaithu14 can you rebase the PR so we get the unit test fix into the CI build.

@asfgit asfgit merged commit af425a5 into apache:master Aug 27, 2016
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
4 participants