You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@kafka.apache.org by Jonathan Creasy <jo...@ghostlab.net> on 2014/09/25 07:31:09 UTC

Review Request 26018: Patch for KAFKA-404

-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/26018/
-----------------------------------------------------------

Review request for kafka.


Bugs: KAFKA-404
    https://issues.apache.org/jira/browse/KAFKA-404


Repository: kafka


Description
-------

KAFKA-404 auto-create Zookeeper CHROOT on Startup


Diffs
-----

  core/src/main/scala/kafka/server/KafkaServer.scala 390fef500d7e0027e698c259d777454ba5a0f5e8 
  core/src/test/scala/unit/kafka/server/CreateZKChrootTest.scala PRE-CREATION 

Diff: https://reviews.apache.org/r/26018/diff/


Testing
-------


Thanks,

Jonathan Creasy


Re: Review Request 26018: Patch for KAFKA-404

Posted by Jonathan Creasy <Jo...@turn.com>.
I went and looked at the ServerShutdownTest to implement your suggestion,
and I donĀ¹t think I like this particular consolidation.

How about I go and change this test to ServerStartupTest, and future
startup checks can go there and we leave the Shutdown checks separate?

On 9/25/14, 12:55 PM, "Neha Narkhede" <ne...@gmail.com> wrote:

>
>-----------------------------------------------------------
>This is an automatically generated e-mail. To reply, visit:
>https://reviews.apache.org/r/26018/#review54559
>-----------------------------------------------------------
>
>
>
>core/src/test/scala/unit/kafka/server/CreateZKChrootTest.scala
><https://reviews.apache.org/r/26018/#comment94745>
>
>    Thanks for adding this test. It's probably worth consolidating some
>of our tests on server startup and shutdown. Can we rename
>ServerShutdownTest to ServerStartupAndShutdownTest and move this test
>there?
>
>
>- Neha Narkhede
>
>
>On Sept. 25, 2014, 5:31 a.m., Jonathan Creasy wrote:
>> 
>> -----------------------------------------------------------
>> This is an automatically generated e-mail. To reply, visit:
>> https://reviews.apache.org/r/26018/
>> -----------------------------------------------------------
>> 
>> (Updated Sept. 25, 2014, 5:31 a.m.)
>> 
>> 
>> Review request for kafka.
>> 
>> 
>> Bugs: KAFKA-404
>>     https://issues.apache.org/jira/browse/KAFKA-404
>> 
>> 
>> Repository: kafka
>> 
>> 
>> Description
>> -------
>> 
>> KAFKA-404 auto-create Zookeeper CHROOT on Startup
>> 
>> 
>> Diffs
>> -----
>> 
>>   core/src/main/scala/kafka/server/KafkaServer.scala
>>390fef500d7e0027e698c259d777454ba5a0f5e8
>>   core/src/test/scala/unit/kafka/server/CreateZKChrootTest.scala
>>PRE-CREATION 
>> 
>> Diff: https://reviews.apache.org/r/26018/diff/
>> 
>> 
>> Testing
>> -------
>> 
>> 
>> Thanks,
>> 
>> Jonathan Creasy
>> 
>>
>


Re: Review Request 26018: Patch for KAFKA-404

Posted by Neha Narkhede <ne...@gmail.com>.
-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/26018/#review54559
-----------------------------------------------------------



core/src/test/scala/unit/kafka/server/CreateZKChrootTest.scala
<https://reviews.apache.org/r/26018/#comment94745>

    Thanks for adding this test. It's probably worth consolidating some of our tests on server startup and shutdown. Can we rename ServerShutdownTest to ServerStartupAndShutdownTest and move this test there?


- Neha Narkhede


On Sept. 25, 2014, 5:31 a.m., Jonathan Creasy wrote:
> 
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> https://reviews.apache.org/r/26018/
> -----------------------------------------------------------
> 
> (Updated Sept. 25, 2014, 5:31 a.m.)
> 
> 
> Review request for kafka.
> 
> 
> Bugs: KAFKA-404
>     https://issues.apache.org/jira/browse/KAFKA-404
> 
> 
> Repository: kafka
> 
> 
> Description
> -------
> 
> KAFKA-404 auto-create Zookeeper CHROOT on Startup
> 
> 
> Diffs
> -----
> 
>   core/src/main/scala/kafka/server/KafkaServer.scala 390fef500d7e0027e698c259d777454ba5a0f5e8 
>   core/src/test/scala/unit/kafka/server/CreateZKChrootTest.scala PRE-CREATION 
> 
> Diff: https://reviews.apache.org/r/26018/diff/
> 
> 
> Testing
> -------
> 
> 
> Thanks,
> 
> Jonathan Creasy
> 
>