Re: [VOTE] KIP-183 - Change PreferredReplicaLeaderElectionCommand to use AdminClient

2019-01-29 Thread Colin McCabe
Thanks, Tom! Great work. best, Colin On Mon, Jan 28, 2019, at 04:33, Tom Bentley wrote: > Hi Folks, > > It took a while, but the work for KIP-183 has now been merged. My thanks to > everyone involved. > > A few details changed between what was voted on and what ultimately got > merged. I've

Re: [VOTE] KIP-183 - Change PreferredReplicaLeaderElectionCommand to use AdminClient

2019-01-28 Thread Tom Bentley
Hi Folks, It took a while, but the work for KIP-183 has now been merged. My thanks to everyone involved. A few details changed between what was voted on and what ultimately got merged. I've updated the KIP to reflect what was actually merged. If anyone is interested in the gory details they can

Re: [VOTE] KIP-183 - Change PreferredReplicaLeaderElectionCommand to use AdminClient

2017-09-08 Thread Tom Bentley
Since no one has objected, I conclude that this KIP is again accepted. Thanks, Tom On 7 September 2017 at 22:31, Guozhang Wang wrote: > Hi Tom, > > The updated part in "AdminClient:electPreferredLeaders()" looks reasonable > to me. If there is no objections from the voted

Re: [VOTE] KIP-183 - Change PreferredReplicaLeaderElectionCommand to use AdminClient

2017-09-07 Thread Guozhang Wang
Hi Tom, The updated part in "AdminClient:electPreferredLeaders()" looks reasonable to me. If there is no objections from the voted committer by end of the day, I think you can mark it as accepted. Guozhang On Wed, Sep 6, 2017 at 7:42 AM, Tom Bentley wrote: >

Re: [VOTE] KIP-183 - Change PreferredReplicaLeaderElectionCommand to use AdminClient

2017-09-06 Thread Tom Bentley
Unfortunately I've had to make a small change to the ElectPreferredLeadersResult, because exposing a Map was incompatible with the case where electPreferredLeaders() was called with a null partitions argument. The change exposes methods to access the map which return

Re: [VOTE] KIP-183 - Change PreferredReplicaLeaderElectionCommand to use AdminClient

2017-09-04 Thread Ismael Juma
Hi Tom, You can update the KIP for minor things like that. Worth updating the thread if it's something that is done during the PR review. With regards to exceptions, yes, that's definitely desired. I filed a JIRA a while back for this: https://issues.apache.org/jira/browse/KAFKA-5445 Ideally,

Re: [VOTE] KIP-183 - Change PreferredReplicaLeaderElectionCommand to use AdminClient

2017-09-04 Thread Tom Bentley
Hi Jun, You're correct about those other expected errors. If it's OK to update the KIP after the vote I'll add those. But this makes me wonder about the value of documenting expected errors in the Javadocs for the AdminClient (on the Results class, to be specific). Currently we don't do this,

Re: [VOTE] KIP-183 - Change PreferredReplicaLeaderElectionCommand to use AdminClient

2017-09-04 Thread Tom Bentley
I see three +1s, no +0s and no -1, so the vote passes. Thanks to those who voted and/or commented on the discussion thread. On 1 September 2017 at 07:36, Gwen Shapira wrote: > Thank you! +1 (binding). > > On Thu, Aug 31, 2017 at 9:48 AM Jun Rao wrote: > >

Re: [VOTE] KIP-183 - Change PreferredReplicaLeaderElectionCommand to use AdminClient

2017-09-01 Thread Gwen Shapira
Thank you! +1 (binding). On Thu, Aug 31, 2017 at 9:48 AM Jun Rao wrote: > Hi, Tom, > > Thanks for the KIP. +1. Just one more minor comment. It seems that the > ElectPreferredLeadersResponse > should expect at least 3 other types of errors : (1) request timeout > exception,

Re: [VOTE] KIP-183 - Change PreferredReplicaLeaderElectionCommand to use AdminClient

2017-08-31 Thread Jun Rao
Hi, Tom, Thanks for the KIP. +1. Just one more minor comment. It seems that the ElectPreferredLeadersResponse should expect at least 3 other types of errors : (1) request timeout exception, (2) leader rebalance in-progress exception, (3) can't move to the preferred replica exception (i.e.,

Re: [VOTE] KIP-183 - Change PreferredReplicaLeaderElectionCommand to use AdminClient

2017-08-31 Thread Ismael Juma
Thanks for the KIP, +1 (binding) from me. Ismael On Tue, Aug 29, 2017 at 4:56 PM, Tom Bentley wrote: > Hi all, > > I would like to start the vote on KIP-183 which will provide an AdminClient > interface for electing the preferred replica, and refactor the >

[VOTE] KIP-183 - Change PreferredReplicaLeaderElectionCommand to use AdminClient

2017-08-29 Thread Tom Bentley
Hi all, I would like to start the vote on KIP-183 which will provide an AdminClient interface for electing the preferred replica, and refactor the kafka-preferred-replica-election.sh tool to use this interface. More details here: