[jira] [Commented] (KAFKA-1365) Second Manual preferred replica leader election command always fails

2014-04-18 Thread BalajiSeshadri (JIRA)
[ https://issues.apache.org/jira/browse/KAFKA-1365?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13974159#comment-13974159 ] BalajiSeshadri commented on KAFKA-1365: --- We will test the controller issue one in

Re: Review Request 20471: Patch for KAFKA-1398

2014-04-18 Thread Jun Rao
--- This is an automatically generated e-mail. To reply, visit: https://reviews.apache.org/r/20471/#review40772 --- Could you add some comments at the beginning of TopicConfigManager

[jira] [Resolved] (KAFKA-1398) Topic config changes can be lost and cause fatal exceptions on broker restarts

2014-04-18 Thread Jay Kreps (JIRA)
[ https://issues.apache.org/jira/browse/KAFKA-1398?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Jay Kreps resolved KAFKA-1398. -- Resolution: Fixed Topic config changes can be lost and cause fatal exceptions on broker restarts

[jira] [Commented] (KAFKA-1405) Global JSON.globalNumberParser screws up other libraries

2014-04-18 Thread Jun Rao (JIRA)
[ https://issues.apache.org/jira/browse/KAFKA-1405?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13974266#comment-13974266 ] Jun Rao commented on KAFKA-1405: Vadim, Thanks for reporting this. Yes, overriding

Re: Review Request 20471: Patch for KAFKA-1398

2014-04-18 Thread Joel Koshy
--- This is an automatically generated e-mail. To reply, visit: https://reviews.apache.org/r/20471/#review40780 --- core/src/main/scala/kafka/server/TopicConfigManager.scala

Build failed in Jenkins: Kafka-trunk #167

2014-04-18 Thread Apache Jenkins Server
See https://builds.apache.org/job/Kafka-trunk/167/changes Changes: [jay.kreps] KAFKA-1398 dynamic config changes are broken. -- [...truncated 738 lines...] kafka.admin.AddPartitionsTest testManualAssignmentOfReplicas PASSED kafka.admin.AddPartitionsTest

[jira] [Commented] (KAFKA-1403) Adding timestamp to kafka index structure

2014-04-18 Thread Jun Rao (JIRA)
[ https://issues.apache.org/jira/browse/KAFKA-1403?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13974302#comment-13974302 ] Jun Rao commented on KAFKA-1403: Would it be good enough to just add the timestamp in the

Re: Review Request 20471: Patch for KAFKA-1398

2014-04-18 Thread Jay Kreps
On April 18, 2014, 3:22 p.m., Jun Rao wrote: core/src/main/scala/kafka/server/TopicConfigManager.scala, lines 87-88 https://reviews.apache.org/r/20471/diff/1/?file=561891#file561891line87 The child list returned by ZK doesn't guarantee any ordering. We will need to sort this list

Re: Review Request 20471: Patch for KAFKA-1398

2014-04-18 Thread Jay Kreps
On April 18, 2014, 5:25 p.m., Joel Koshy wrote: core/src/main/scala/kafka/server/TopicConfigManager.scala, lines 121-134 https://reviews.apache.org/r/20471/diff/1/?file=561891#file561891line121 You mean that the purge is only triggered by a broker bounce or a new config change? I

Re: Review Request 20376: Publish source jars and javadoc

2014-04-18 Thread Joel Koshy
On April 18, 2014, 4:54 p.m., Jun Rao wrote: README.md, lines 10-11 https://reviews.apache.org/r/20376/diff/1/?file=558371#file558371line10 Do we need the trailing ###? Will make that change. On April 18, 2014, 4:54 p.m., Jun Rao wrote: build.gradle, lines 78-79

Could I get a review

2014-04-18 Thread Jay Kreps
https://reviews.apache.org/r/20440/ Should be a simple one. -Jay

Re: Review Request 20471: Patch for KAFKA-1398

2014-04-18 Thread Jun Rao
On April 18, 2014, 3:22 p.m., Jun Rao wrote: core/src/main/scala/kafka/server/TopicConfigManager.scala, lines 123-124 https://reviews.apache.org/r/20471/diff/1/?file=561891#file561891line123 This is not needed. In ZK, new sequential nodes always get a higher id whether previous

[jira] [Commented] (KAFKA-1398) Topic config changes can be lost and cause fatal exceptions on broker restarts

2014-04-18 Thread Jay Kreps (JIRA)
[ https://issues.apache.org/jira/browse/KAFKA-1398?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13974311#comment-13974311 ] Jay Kreps commented on KAFKA-1398: -- Created reviewboard

[jira] [Updated] (KAFKA-1398) Topic config changes can be lost and cause fatal exceptions on broker restarts

2014-04-18 Thread Jay Kreps (JIRA)
[ https://issues.apache.org/jira/browse/KAFKA-1398?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Jay Kreps updated KAFKA-1398: - Attachment: KAFKA-1398.patch Topic config changes can be lost and cause fatal exceptions on broker

Re: Review Request 20440: Patch for KAFKA-1337

2014-04-18 Thread Jun Rao
--- This is an automatically generated e-mail. To reply, visit: https://reviews.apache.org/r/20440/#review40790 --- Ship it! Ship It! - Jun Rao On April 17, 2014, 12:41 a.m., Jay

Re: Review Request 20471: Patch for KAFKA-1398

2014-04-18 Thread Jay Kreps
On April 18, 2014, 6:01 p.m., Joel Koshy wrote: core/src/main/scala/kafka/server/TopicConfigManager.scala, lines 87-88 https://reviews.apache.org/r/20471/diff/1/?file=561891#file561891line87 Say you override the retention to x hours, realize you made a mistake and then override

Re: Review Request 20376: Publish source jars and javadoc

2014-04-18 Thread Jun Rao
--- This is an automatically generated e-mail. To reply, visit: https://reviews.apache.org/r/20376/#review40791 --- Ship it! Ship It! - Jun Rao On April 15, 2014, 7:39 p.m., Joel

Re: Review Request 20471: Patch for KAFKA-1398

2014-04-18 Thread Joel Koshy
--- This is an automatically generated e-mail. To reply, visit: https://reviews.apache.org/r/20471/#review40792 --- core/src/main/scala/kafka/server/TopicConfigManager.scala

[jira] [Updated] (KAFKA-1380) 0.8.1.1 release candidate

2014-04-18 Thread Joel Koshy (JIRA)
[ https://issues.apache.org/jira/browse/KAFKA-1380?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Joel Koshy updated KAFKA-1380: -- Due Date: 21/Apr/14 (was: 16/Apr/14) Quick update - we have to push this out to Monday. Most of the

[jira] [Commented] (KAFKA-1356) Topic metadata requests takes too long to process

2014-04-18 Thread Jun Rao (JIRA)
[ https://issues.apache.org/jira/browse/KAFKA-1356?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13974333#comment-13974333 ] Jun Rao commented on KAFKA-1356: Joel, +1 on

[jira] [Commented] (KAFKA-1356) Topic metadata requests takes too long to process

2014-04-18 Thread Joel Koshy (JIRA)
[ https://issues.apache.org/jira/browse/KAFKA-1356?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13974346#comment-13974346 ] Joel Koshy commented on KAFKA-1356: --- Thanks for the review. Committed the follow-up

Re: Review Request 20471: Patch for KAFKA-1398

2014-04-18 Thread Joel Koshy
On April 18, 2014, 6:12 p.m., Joel Koshy wrote: core/src/main/scala/kafka/server/TopicConfigManager.scala, lines 87-88 https://reviews.apache.org/r/20471/diff/1/?file=561891#file561891line87 Actually that's not the right example - it would work fine since you only want the later

Review Request 20498: KAFKA-1398: Follow-up comments on dynamic config

2014-04-18 Thread Jay Kreps
--- This is an automatically generated e-mail. To reply, visit: https://reviews.apache.org/r/20498/ --- Review request for kafka. Bugs: KAFKA-1398

[jira] [Updated] (KAFKA-1398) Topic config changes can be lost and cause fatal exceptions on broker restarts

2014-04-18 Thread Jay Kreps (JIRA)
[ https://issues.apache.org/jira/browse/KAFKA-1398?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Jay Kreps updated KAFKA-1398: - Attachment: KAFKA-1398.patch Topic config changes can be lost and cause fatal exceptions on broker

[jira] [Commented] (KAFKA-1398) Topic config changes can be lost and cause fatal exceptions on broker restarts

2014-04-18 Thread Jay Kreps (JIRA)
[ https://issues.apache.org/jira/browse/KAFKA-1398?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13974418#comment-13974418 ] Jay Kreps commented on KAFKA-1398: -- Created reviewboard

Re: Review Request 20471: Patch for KAFKA-1398

2014-04-18 Thread Joel Koshy
On April 18, 2014, 3:22 p.m., Jun Rao wrote: core/src/main/scala/kafka/server/TopicConfigManager.scala, lines 123-124 https://reviews.apache.org/r/20471/diff/1/?file=561891#file561891line123 This is not needed. In ZK, new sequential nodes always get a higher id whether previous

Re: Review Request 20471: KAFKA-1398: Follow-up comments on dynamic config

2014-04-18 Thread Jay Kreps
--- This is an automatically generated e-mail. To reply, visit: https://reviews.apache.org/r/20471/ --- (Updated April 18, 2014, 8:03 p.m.) Review request for kafka. Summary

[jira] [Updated] (KAFKA-1398) Topic config changes can be lost and cause fatal exceptions on broker restarts

2014-04-18 Thread Jay Kreps (JIRA)
[ https://issues.apache.org/jira/browse/KAFKA-1398?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Jay Kreps updated KAFKA-1398: - Attachment: KAFKA-1398_2014-04-18_13:03:03.patch Topic config changes can be lost and cause fatal

[jira] [Commented] (KAFKA-1398) Topic config changes can be lost and cause fatal exceptions on broker restarts

2014-04-18 Thread Jay Kreps (JIRA)
[ https://issues.apache.org/jira/browse/KAFKA-1398?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13974420#comment-13974420 ] Jay Kreps commented on KAFKA-1398: -- Updated reviewboard

Re: Review Request 20471: KAFKA-1398: Follow-up comments on dynamic config

2014-04-18 Thread Joel Koshy
--- This is an automatically generated e-mail. To reply, visit: https://reviews.apache.org/r/20471/#review40809 --- Ship it! Ship It! - Joel Koshy On April 18, 2014, 8:03 p.m.,

Re: Review Request 20471: KAFKA-1398: Follow-up comments on dynamic config

2014-04-18 Thread Jun Rao
--- This is an automatically generated e-mail. To reply, visit: https://reviews.apache.org/r/20471/#review40810 --- Ship it! Ship It! - Jun Rao On April 18, 2014, 8:03 p.m., Jay

[jira] [Commented] (KAFKA-1399) Drop Scala 2.8.x support

2014-04-18 Thread Jun Rao (JIRA)
[ https://issues.apache.org/jira/browse/KAFKA-1399?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=1397#comment-1397 ] Jun Rao commented on KAFKA-1399: We are re-rewriting the clients in java. Once that's

[jira] [Created] (KAFKA-1406) Fix scaladoc/javadoc warnings

2014-04-18 Thread Joel Koshy (JIRA)
Joel Koshy created KAFKA-1406: - Summary: Fix scaladoc/javadoc warnings Key: KAFKA-1406 URL: https://issues.apache.org/jira/browse/KAFKA-1406 Project: Kafka Issue Type: Bug Components:

[jira] [Updated] (KAFKA-1406) Fix scaladoc/javadoc warnings

2014-04-18 Thread Joel Koshy (JIRA)
[ https://issues.apache.org/jira/browse/KAFKA-1406?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Joel Koshy updated KAFKA-1406: -- Labels: build (was: ) Fix scaladoc/javadoc warnings -

[jira] [Updated] (KAFKA-1406) Fix scaladoc/javadoc warnings

2014-04-18 Thread Joel Koshy (JIRA)
[ https://issues.apache.org/jira/browse/KAFKA-1406?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Joel Koshy updated KAFKA-1406: -- Fix Version/s: 0.8.2 Fix scaladoc/javadoc warnings -

[jira] [Commented] (KAFKA-1362) Publish sources and javadoc jars

2014-04-18 Thread Joel Koshy (JIRA)
[ https://issues.apache.org/jira/browse/KAFKA-1362?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13974454#comment-13974454 ] Joel Koshy commented on KAFKA-1362: --- Committed to both 0.8.1 and trunk Filed KAFKA-1406

[jira] [Resolved] (KAFKA-1362) Publish sources and javadoc jars

2014-04-18 Thread Joel Koshy (JIRA)
[ https://issues.apache.org/jira/browse/KAFKA-1362?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Joel Koshy resolved KAFKA-1362. --- Resolution: Fixed Publish sources and javadoc jars

[jira] [Reopened] (KAFKA-1398) Topic config changes can be lost and cause fatal exceptions on broker restarts

2014-04-18 Thread Joel Koshy (JIRA)
[ https://issues.apache.org/jira/browse/KAFKA-1398?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Joel Koshy reopened KAFKA-1398: --- Reopening to keep track of the follow-up. Also, I need to commit to 0.8.1. Topic config changes can be

[jira] [Commented] (KAFKA-493) High CPU usage on inactive server

2014-04-18 Thread Joel Koshy (JIRA)
[ https://issues.apache.org/jira/browse/KAFKA-493?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13974471#comment-13974471 ] Joel Koshy commented on KAFKA-493: -- For (1) I think the issue was discussed (not yet

[jira] [Resolved] (KAFKA-1355) Reduce/optimize update metadata requests sent during leader election

2014-04-18 Thread Joel Koshy (JIRA)
[ https://issues.apache.org/jira/browse/KAFKA-1355?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Joel Koshy resolved KAFKA-1355. --- Resolution: Fixed Thanks for the review. Committed to 0.8.1 as well. Reduce/optimize update

[jira] [Commented] (KAFKA-1359) Add topic/broker metrics once new topic/broker is discovered

2014-04-18 Thread Guozhang Wang (JIRA)
[ https://issues.apache.org/jira/browse/KAFKA-1359?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13974561#comment-13974561 ] Guozhang Wang commented on KAFKA-1359: -- I did a small benchmark on my mac laptop and

Jenkins build is back to normal : Kafka-trunk #168

2014-04-18 Thread Apache Jenkins Server
See https://builds.apache.org/job/Kafka-trunk/168/changes

[jira] [Resolved] (KAFKA-1398) Topic config changes can be lost and cause fatal exceptions on broker restarts

2014-04-18 Thread Joel Koshy (JIRA)
[ https://issues.apache.org/jira/browse/KAFKA-1398?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Joel Koshy resolved KAFKA-1398. --- Resolution: Fixed Committed to 0.8.1 as well Topic config changes can be lost and cause fatal

[jira] [Commented] (KAFKA-1359) Add topic/broker metrics once new topic/broker is discovered

2014-04-18 Thread Jay Kreps (JIRA)
[ https://issues.apache.org/jira/browse/KAFKA-1359?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13974624#comment-13974624 ] Jay Kreps commented on KAFKA-1359: -- Yeah I'm not opposed to switching. Add topic/broker

Re: Review Request 20468: Add log cleaner metrics. (Cherry-picked from trunk)

2014-04-18 Thread Jun Rao
--- This is an automatically generated e-mail. To reply, visit: https://reviews.apache.org/r/20468/#review40838 --- Ship it! core/src/main/scala/kafka/log/LogCleanerManager.scala

Re: Review Request 20468: Add log cleaner metrics. (Cherry-picked from trunk)

2014-04-18 Thread Jun Rao
--- This is an automatically generated e-mail. To reply, visit: https://reviews.apache.org/r/20468/#review40840 --- Also, I think we need to make the following var volatile.