Re: create topic does not really executed successfully

2015-02-04 Thread Xinyi Su
Yeah, I will upgrade to 0.8.2.0 and try again. On 4 February 2015 at 13:41, Jun Rao wrote: > Could you try the 0.8.2.0 release? We did fix an issue (KAFKA-1738) that > could fail the topic creation. > > Thanks, > > Jun > > On Mon, Feb 2, 2015 at 7:03 PM, Xinyi Su wrote: > > > Hi, > > > > -bash-

Re: create topic does not really executed successfully

2015-02-03 Thread Jun Rao
Could you try the 0.8.2.0 release? We did fix an issue (KAFKA-1738) that could fail the topic creation. Thanks, Jun On Mon, Feb 2, 2015 at 7:03 PM, Xinyi Su wrote: > Hi, > > -bash-4.1$ bin/kafka-topics.sh --zookeeper :2181 --create --topic > zerg.hydra --partitions 3 --replication-factor 2 >

Re: create topic does not really executed successfully

2015-02-02 Thread Xinyi Su
Hi, Harsha I have not collected logs during creating topics. I will continue to pay attention to this issue and collect logs if it occurs again. Thanks. Xinyi On 3 February 2015 at 12:46, Harsha wrote: > Xinyl, > Do you have any logs when the kafka-topics.sh unable to create >

Re: create topic does not really executed successfully

2015-02-02 Thread Harsha
Xinyl, Do you have any logs when the kafka-topics.sh unable to create topic dirs. Apart from this make sure you point to a different dir other than /tmp/kafka-logs since this dir gets delete when your machine restarts and not a place to store your topic data. -Harsha

Re: create topic does not really executed successfully

2015-02-02 Thread Harsha
Xinyl, Do you have any logs when the kafka-topics.sh unable to create topic dirs. Apart from this make sure you point to a different dir other than /tmp/kafka-logs since this dir gets delete when your machine restarts and not a place to store your topic data. -Harsha

Re: create topic does not really executed successfully

2015-02-02 Thread Xinyi Su
Hi, -bash-4.1$ bin/kafka-topics.sh --zookeeper :2181 --create --topic zerg.hydra --partitions 3 --replication-factor 2 Created topic "zerg.hydra". -bash-4.1$ ls -lrt /tmp/kafka-logs/zerg.hydra-2 total 0 -rw-r--r-- 1 users0 Feb 3 02:58 .log -rw-r--r-- 1 users 10485760

Re: create topic does not really executed successfully

2015-02-02 Thread Gwen Shapira
IIRC, the directory is only created after you send data to the topic. Do you get errors when your producer sends data? Another common issue is that you specify replication-factor 3 when you have fewer than 3 brokers. Gwen On Mon, Feb 2, 2015 at 2:34 AM, Xinyi Su wrote: > Hi, > > I am using Kaf

create topic does not really executed successfully

2015-02-02 Thread Xinyi Su
Hi, I am using Kafka_2.9.2-0.8.2-beta. When I use kafka-topic.sh to create topic, I observed sometimes the topic is not really created successfully as the output shows in console. Below is my command line: # bin/kafka-topics.sh --zookeeper :2181 --create --topic zerg.hydra --partitions 3 --rep