Skip to content

Conversation

@prokopowicz
Copy link

also removes some tab-indenting in the surrounding code.

When a custom scheme returns an empty list of object-lists to the partition manager, it should be handled the same as null. Otherwise, the partition reader will be stuck at that offset.

Copy link
Contributor

Choose a reason for hiding this comment

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

This doesn't even compile.

[ERROR] /home/travis/build/apache/storm/external/storm-kafka/src/jvm/storm/kafka/PartitionManager.java:[139,39] cannot find symbol

symbol: variable iterator

location: variable tups of type java.lang.Iterable<java.util.List<java.lang.Object>>

I think it needs to be tups.iterator().hasNext()

Copy link
Author

Choose a reason for hiding this comment

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

sorry :( I am pushing another commit now

@revans2
Copy link
Contributor

revans2 commented Oct 3, 2015

@prokopowicz I am +1 for merging this in. Is there a JIRA associated with this change?

@HeartSaVioR
Copy link
Contributor

+1, too.
@prokopowicz
Since this is a bug, I'd like to record this to JIRA issue before merging. Could you file a JIRA, please?

@Crim
Copy link
Contributor

Crim commented Oct 7, 2015

+1 running into this issue as well

@prokopowicz
Copy link
Author

I issued this JIRA regarding the bug:

https://issues.apache.org/jira/browse/STORM-1094

On Tue, Oct 6, 2015 at 3:40 PM, Jungtaek Lim notifications@github.com
wrote:

+1, too.
@prokopowicz https://github.com/prokopowicz
Since this is a bug, I'd like to record this to JIRA issue before merging.
Could you file a JIRA, please?


Reply to this email directly or view it on GitHub
#758 (comment).

@HeartSaVioR
Copy link
Contributor

Great, I'll merge it.

asfgit pushed a commit that referenced this pull request Oct 9, 2015
@asfgit asfgit merged commit 77b1711 into apache:master Oct 9, 2015
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