[jira] [Updated] (KAFKA-1816) Topic configs reset after partition increase

2014-12-09 Thread Andrew Jorgensen (JIRA)

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

Andrew Jorgensen updated KAFKA-1816:

Description: 
If you alter a topic to increase the number of partitions then the 
configuration erases the existing configs for that topic. This can be 
reproduces by doing the following:

{code:none}
$ bin/kafka-topics.sh --create --zookeeper localhost --topic test_topic 
--partitions 5 --config retention.ms=3600

$ bin/kafka-topics.sh --describe --zookeeper localhost --topic test_topic
 Topic:test_topicPartitionCount:5ReplicationFactor:1 
 Configs:retention.ms=3600

$ bin/kafka-topics.sh --alter --zookeeper localhost --topic test_topic 
--partitions 10

$ bin/kafka-topics.sh --describe --zookeeper localhost --topic test_topic
 Topic:test_topicPartitionCount:10ReplicationFactor:1 
 Configs:
{code}

  was:
If you alter a topic to increase the number of partitions then the 
configuration erases the existing configs for that topic. This can be 
reproduces by doing the following:

{code:none}
$ bin/kafka-topics.sh --create --zookeeper localhost --topic test_topic 
--partitions 5 --config retention.ms=3600

$ bin/kafka-topics.sh --describe --zookeeper localhost --topic test_topic
 Topic:test_topicPartitionCount:5ReplicationFactor:1 
 Configs:retention.ms=3600

$ bin/kafka-topics.sh --alter --zookeeper localhost --topic test_topic 
--partitions 10
 Topic:test_topicPartitionCount:10ReplicationFactor:1 
 Configs:
{code}


 Topic configs reset after partition increase
 

 Key: KAFKA-1816
 URL: https://issues.apache.org/jira/browse/KAFKA-1816
 Project: Kafka
  Issue Type: Bug
Affects Versions: 0.8.1.1
Reporter: Andrew Jorgensen
Priority: Minor

 If you alter a topic to increase the number of partitions then the 
 configuration erases the existing configs for that topic. This can be 
 reproduces by doing the following:
 {code:none}
 $ bin/kafka-topics.sh --create --zookeeper localhost --topic test_topic 
 --partitions 5 --config retention.ms=3600
 $ bin/kafka-topics.sh --describe --zookeeper localhost --topic test_topic
  Topic:test_topicPartitionCount:5ReplicationFactor:1 
  Configs:retention.ms=3600
 $ bin/kafka-topics.sh --alter --zookeeper localhost --topic test_topic 
 --partitions 10
 $ bin/kafka-topics.sh --describe --zookeeper localhost --topic test_topic
  Topic:test_topicPartitionCount:10ReplicationFactor:1 
  Configs:
 {code}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Updated] (KAFKA-1816) Topic configs reset after partition increase

2014-12-09 Thread Neha Narkhede (JIRA)

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

Neha Narkhede updated KAFKA-1816:
-
Labels: newbie  (was: )

 Topic configs reset after partition increase
 

 Key: KAFKA-1816
 URL: https://issues.apache.org/jira/browse/KAFKA-1816
 Project: Kafka
  Issue Type: Bug
Affects Versions: 0.8.1.1
Reporter: Andrew Jorgensen
Priority: Minor
  Labels: newbie
 Fix For: 0.8.3


 If you alter a topic to increase the number of partitions then the 
 configuration erases the existing configs for that topic. This can be 
 reproduces by doing the following:
 {code:none}
 $ bin/kafka-topics.sh --create --zookeeper localhost --topic test_topic 
 --partitions 5 --config retention.ms=3600
 $ bin/kafka-topics.sh --describe --zookeeper localhost --topic test_topic
  Topic:test_topicPartitionCount:5ReplicationFactor:1 
  Configs:retention.ms=3600
 $ bin/kafka-topics.sh --alter --zookeeper localhost --topic test_topic 
 --partitions 10
 $ bin/kafka-topics.sh --describe --zookeeper localhost --topic test_topic
  Topic:test_topicPartitionCount:10ReplicationFactor:1 
  Configs:
 {code}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Updated] (KAFKA-1816) Topic configs reset after partition increase

2014-12-09 Thread Neha Narkhede (JIRA)

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

Neha Narkhede updated KAFKA-1816:
-
Fix Version/s: 0.8.3

 Topic configs reset after partition increase
 

 Key: KAFKA-1816
 URL: https://issues.apache.org/jira/browse/KAFKA-1816
 Project: Kafka
  Issue Type: Bug
Affects Versions: 0.8.1.1
Reporter: Andrew Jorgensen
Priority: Minor
  Labels: newbie
 Fix For: 0.8.3


 If you alter a topic to increase the number of partitions then the 
 configuration erases the existing configs for that topic. This can be 
 reproduces by doing the following:
 {code:none}
 $ bin/kafka-topics.sh --create --zookeeper localhost --topic test_topic 
 --partitions 5 --config retention.ms=3600
 $ bin/kafka-topics.sh --describe --zookeeper localhost --topic test_topic
  Topic:test_topicPartitionCount:5ReplicationFactor:1 
  Configs:retention.ms=3600
 $ bin/kafka-topics.sh --alter --zookeeper localhost --topic test_topic 
 --partitions 10
 $ bin/kafka-topics.sh --describe --zookeeper localhost --topic test_topic
  Topic:test_topicPartitionCount:10ReplicationFactor:1 
  Configs:
 {code}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)