[jira] [Updated] (KAFKA-1562) kafka-topics.sh alter add partitions resets cleanup.policy

2014-08-04 Thread Jun Rao (JIRA)

 [ 
https://issues.apache.org/jira/browse/KAFKA-1562?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Jun Rao updated KAFKA-1562:
---

   Resolution: Fixed
Fix Version/s: 0.8.2
 Assignee: Jonathan Natkins
   Status: Resolved  (was: Patch Available)

Thanks for the patch. +1 and committed to trunk.

 kafka-topics.sh alter add partitions resets cleanup.policy
 --

 Key: KAFKA-1562
 URL: https://issues.apache.org/jira/browse/KAFKA-1562
 Project: Kafka
  Issue Type: Bug
Affects Versions: 0.8.1.1
Reporter: Kenny
Assignee: Jonathan Natkins
 Fix For: 0.8.2

 Attachments: KAFKA-1562.patch, KAFKA-1562_2014-07-30_13:18:21.patch, 
 KAFKA-1562_2014-07-30_13:51:25.patch, KAFKA-1562_2014-08-02_11:10:34.patch


 When partitions are added to an already existing topic the 
 cleanup.policy=compact is not retained.
 {code}
 ./kafka-topics.sh --zookeeper localhost --create --partitions 1 
 --replication-factor 1 --topic KTEST --config cleanup.policy=compact
 ./kafka-topics.sh --zookeeper localhost --describe --topic KTEST
 Topic:KTEST   PartitionCount:1ReplicationFactor:1 
 Configs:cleanup.policy=compact
   Topic: KTESTPartition: 0Leader: 0   Replicas: 0 Isr: 0
 ./kafka-topics.sh --zookeeper localhost --alter --partitions 3 --topic KTEST 
 --config cleanup.policy=compact
  ./kafka-topics.sh --zookeeper localhost --describe --topic KTEST
 Topic:KTEST   PartitionCount:3ReplicationFactor:1 Configs:
   Topic: KTESTPartition: 0Leader: 0   Replicas: 0 Isr: 0
   Topic: KTESTPartition: 1Leader: 0   Replicas: 0 Isr: 0
   Topic: KTESTPartition: 2Leader: 0   Replicas: 0 Isr: 0
 {code}



--
This message was sent by Atlassian JIRA
(v6.2#6252)


[jira] [Updated] (KAFKA-1562) kafka-topics.sh alter add partitions resets cleanup.policy

2014-08-02 Thread Jonathan Natkins (JIRA)

 [ 
https://issues.apache.org/jira/browse/KAFKA-1562?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Jonathan Natkins updated KAFKA-1562:


Attachment: KAFKA-1562_2014-08-02_11:10:34.patch

 kafka-topics.sh alter add partitions resets cleanup.policy
 --

 Key: KAFKA-1562
 URL: https://issues.apache.org/jira/browse/KAFKA-1562
 Project: Kafka
  Issue Type: Bug
Affects Versions: 0.8.1.1
Reporter: Kenny
 Attachments: KAFKA-1562.patch, KAFKA-1562_2014-07-30_13:18:21.patch, 
 KAFKA-1562_2014-07-30_13:51:25.patch, KAFKA-1562_2014-08-02_11:10:34.patch


 When partitions are added to an already existing topic the 
 cleanup.policy=compact is not retained.
 {code}
 ./kafka-topics.sh --zookeeper localhost --create --partitions 1 
 --replication-factor 1 --topic KTEST --config cleanup.policy=compact
 ./kafka-topics.sh --zookeeper localhost --describe --topic KTEST
 Topic:KTEST   PartitionCount:1ReplicationFactor:1 
 Configs:cleanup.policy=compact
   Topic: KTESTPartition: 0Leader: 0   Replicas: 0 Isr: 0
 ./kafka-topics.sh --zookeeper localhost --alter --partitions 3 --topic KTEST 
 --config cleanup.policy=compact
  ./kafka-topics.sh --zookeeper localhost --describe --topic KTEST
 Topic:KTEST   PartitionCount:3ReplicationFactor:1 Configs:
   Topic: KTESTPartition: 0Leader: 0   Replicas: 0 Isr: 0
   Topic: KTESTPartition: 1Leader: 0   Replicas: 0 Isr: 0
   Topic: KTESTPartition: 2Leader: 0   Replicas: 0 Isr: 0
 {code}



--
This message was sent by Atlassian JIRA
(v6.2#6252)


[jira] [Updated] (KAFKA-1562) kafka-topics.sh alter add partitions resets cleanup.policy

2014-07-30 Thread Jonathan Natkins (JIRA)

 [ 
https://issues.apache.org/jira/browse/KAFKA-1562?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Jonathan Natkins updated KAFKA-1562:


Attachment: KAFKA-1562.patch

 kafka-topics.sh alter add partitions resets cleanup.policy
 --

 Key: KAFKA-1562
 URL: https://issues.apache.org/jira/browse/KAFKA-1562
 Project: Kafka
  Issue Type: Bug
Affects Versions: 0.8.1.1
Reporter: Kenny
Assignee: Sriharsha Chintalapani
 Attachments: KAFKA-1562.patch, KAFKA-1562_2014-07-30_13:18:21.patch


 When partitions are added to an already existing topic the 
 cleanup.policy=compact is not retained.
 {code}
 ./kafka-topics.sh --zookeeper localhost --create --partitions 1 
 --replication-factor 1 --topic KTEST --config cleanup.policy=compact
 ./kafka-topics.sh --zookeeper localhost --describe --topic KTEST
 Topic:KTEST   PartitionCount:1ReplicationFactor:1 
 Configs:cleanup.policy=compact
   Topic: KTESTPartition: 0Leader: 0   Replicas: 0 Isr: 0
 ./kafka-topics.sh --zookeeper localhost --alter --partitions 3 --topic KTEST 
 --config cleanup.policy=compact
  ./kafka-topics.sh --zookeeper localhost --describe --topic KTEST
 Topic:KTEST   PartitionCount:3ReplicationFactor:1 Configs:
   Topic: KTESTPartition: 0Leader: 0   Replicas: 0 Isr: 0
   Topic: KTESTPartition: 1Leader: 0   Replicas: 0 Isr: 0
   Topic: KTESTPartition: 2Leader: 0   Replicas: 0 Isr: 0
 {code}



--
This message was sent by Atlassian JIRA
(v6.2#6252)


[jira] [Updated] (KAFKA-1562) kafka-topics.sh alter add partitions resets cleanup.policy

2014-07-30 Thread Jonathan Natkins (JIRA)

 [ 
https://issues.apache.org/jira/browse/KAFKA-1562?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Jonathan Natkins updated KAFKA-1562:


Attachment: KAFKA-1562_2014-07-30_13:18:21.patch

 kafka-topics.sh alter add partitions resets cleanup.policy
 --

 Key: KAFKA-1562
 URL: https://issues.apache.org/jira/browse/KAFKA-1562
 Project: Kafka
  Issue Type: Bug
Affects Versions: 0.8.1.1
Reporter: Kenny
Assignee: Sriharsha Chintalapani
 Attachments: KAFKA-1562.patch, KAFKA-1562_2014-07-30_13:18:21.patch


 When partitions are added to an already existing topic the 
 cleanup.policy=compact is not retained.
 {code}
 ./kafka-topics.sh --zookeeper localhost --create --partitions 1 
 --replication-factor 1 --topic KTEST --config cleanup.policy=compact
 ./kafka-topics.sh --zookeeper localhost --describe --topic KTEST
 Topic:KTEST   PartitionCount:1ReplicationFactor:1 
 Configs:cleanup.policy=compact
   Topic: KTESTPartition: 0Leader: 0   Replicas: 0 Isr: 0
 ./kafka-topics.sh --zookeeper localhost --alter --partitions 3 --topic KTEST 
 --config cleanup.policy=compact
  ./kafka-topics.sh --zookeeper localhost --describe --topic KTEST
 Topic:KTEST   PartitionCount:3ReplicationFactor:1 Configs:
   Topic: KTESTPartition: 0Leader: 0   Replicas: 0 Isr: 0
   Topic: KTESTPartition: 1Leader: 0   Replicas: 0 Isr: 0
   Topic: KTESTPartition: 2Leader: 0   Replicas: 0 Isr: 0
 {code}



--
This message was sent by Atlassian JIRA
(v6.2#6252)


[jira] [Updated] (KAFKA-1562) kafka-topics.sh alter add partitions resets cleanup.policy

2014-07-30 Thread Jonathan Natkins (JIRA)

 [ 
https://issues.apache.org/jira/browse/KAFKA-1562?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Jonathan Natkins updated KAFKA-1562:


Status: Patch Available  (was: Open)

 kafka-topics.sh alter add partitions resets cleanup.policy
 --

 Key: KAFKA-1562
 URL: https://issues.apache.org/jira/browse/KAFKA-1562
 Project: Kafka
  Issue Type: Bug
Affects Versions: 0.8.1.1
Reporter: Kenny
Assignee: Sriharsha Chintalapani
 Attachments: KAFKA-1562.patch, KAFKA-1562_2014-07-30_13:18:21.patch


 When partitions are added to an already existing topic the 
 cleanup.policy=compact is not retained.
 {code}
 ./kafka-topics.sh --zookeeper localhost --create --partitions 1 
 --replication-factor 1 --topic KTEST --config cleanup.policy=compact
 ./kafka-topics.sh --zookeeper localhost --describe --topic KTEST
 Topic:KTEST   PartitionCount:1ReplicationFactor:1 
 Configs:cleanup.policy=compact
   Topic: KTESTPartition: 0Leader: 0   Replicas: 0 Isr: 0
 ./kafka-topics.sh --zookeeper localhost --alter --partitions 3 --topic KTEST 
 --config cleanup.policy=compact
  ./kafka-topics.sh --zookeeper localhost --describe --topic KTEST
 Topic:KTEST   PartitionCount:3ReplicationFactor:1 Configs:
   Topic: KTESTPartition: 0Leader: 0   Replicas: 0 Isr: 0
   Topic: KTESTPartition: 1Leader: 0   Replicas: 0 Isr: 0
   Topic: KTESTPartition: 2Leader: 0   Replicas: 0 Isr: 0
 {code}



--
This message was sent by Atlassian JIRA
(v6.2#6252)


[jira] [Updated] (KAFKA-1562) kafka-topics.sh alter add partitions resets cleanup.policy

2014-07-30 Thread Sriharsha Chintalapani (JIRA)

 [ 
https://issues.apache.org/jira/browse/KAFKA-1562?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Sriharsha Chintalapani updated KAFKA-1562:
--

Assignee: (was: Sriharsha Chintalapani)

 kafka-topics.sh alter add partitions resets cleanup.policy
 --

 Key: KAFKA-1562
 URL: https://issues.apache.org/jira/browse/KAFKA-1562
 Project: Kafka
  Issue Type: Bug
Affects Versions: 0.8.1.1
Reporter: Kenny
 Attachments: KAFKA-1562.patch, KAFKA-1562_2014-07-30_13:18:21.patch


 When partitions are added to an already existing topic the 
 cleanup.policy=compact is not retained.
 {code}
 ./kafka-topics.sh --zookeeper localhost --create --partitions 1 
 --replication-factor 1 --topic KTEST --config cleanup.policy=compact
 ./kafka-topics.sh --zookeeper localhost --describe --topic KTEST
 Topic:KTEST   PartitionCount:1ReplicationFactor:1 
 Configs:cleanup.policy=compact
   Topic: KTESTPartition: 0Leader: 0   Replicas: 0 Isr: 0
 ./kafka-topics.sh --zookeeper localhost --alter --partitions 3 --topic KTEST 
 --config cleanup.policy=compact
  ./kafka-topics.sh --zookeeper localhost --describe --topic KTEST
 Topic:KTEST   PartitionCount:3ReplicationFactor:1 Configs:
   Topic: KTESTPartition: 0Leader: 0   Replicas: 0 Isr: 0
   Topic: KTESTPartition: 1Leader: 0   Replicas: 0 Isr: 0
   Topic: KTESTPartition: 2Leader: 0   Replicas: 0 Isr: 0
 {code}



--
This message was sent by Atlassian JIRA
(v6.2#6252)


[jira] [Updated] (KAFKA-1562) kafka-topics.sh alter add partitions resets cleanup.policy

2014-07-30 Thread Jonathan Natkins (JIRA)

 [ 
https://issues.apache.org/jira/browse/KAFKA-1562?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Jonathan Natkins updated KAFKA-1562:


Attachment: KAFKA-1562_2014-07-30_13:51:25.patch

 kafka-topics.sh alter add partitions resets cleanup.policy
 --

 Key: KAFKA-1562
 URL: https://issues.apache.org/jira/browse/KAFKA-1562
 Project: Kafka
  Issue Type: Bug
Affects Versions: 0.8.1.1
Reporter: Kenny
 Attachments: KAFKA-1562.patch, KAFKA-1562_2014-07-30_13:18:21.patch, 
 KAFKA-1562_2014-07-30_13:51:25.patch


 When partitions are added to an already existing topic the 
 cleanup.policy=compact is not retained.
 {code}
 ./kafka-topics.sh --zookeeper localhost --create --partitions 1 
 --replication-factor 1 --topic KTEST --config cleanup.policy=compact
 ./kafka-topics.sh --zookeeper localhost --describe --topic KTEST
 Topic:KTEST   PartitionCount:1ReplicationFactor:1 
 Configs:cleanup.policy=compact
   Topic: KTESTPartition: 0Leader: 0   Replicas: 0 Isr: 0
 ./kafka-topics.sh --zookeeper localhost --alter --partitions 3 --topic KTEST 
 --config cleanup.policy=compact
  ./kafka-topics.sh --zookeeper localhost --describe --topic KTEST
 Topic:KTEST   PartitionCount:3ReplicationFactor:1 Configs:
   Topic: KTESTPartition: 0Leader: 0   Replicas: 0 Isr: 0
   Topic: KTESTPartition: 1Leader: 0   Replicas: 0 Isr: 0
   Topic: KTESTPartition: 2Leader: 0   Replicas: 0 Isr: 0
 {code}



--
This message was sent by Atlassian JIRA
(v6.2#6252)