kafka-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Gwen Shapira <gshap...@cloudera.com>
Subject Re: create topic does not really executed successfully
Date Mon, 02 Feb 2015 14:24:07 GMT
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.


On Mon, Feb 2, 2015 at 2:34 AM, Xinyi Su <xinyisu@gmail.com> wrote:
> 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 <xxx>:2181 --create --topic zerg.hydra
> --partitions 3 --replication-factor 3
> The command prompts "created topic xxx", but local storage directory used
> for this topic under "log.dirs" does not created at all. Normally, there
> should be some folders like zerg.hydra-0, zerg.hydra-1... just named
> according to partion id and assignment policy.
> I come across this issue about four times, the disk is not full and
> directory access permission is legal. Do you know about the cause of this
> issue?
> Thanks.
> Xinyi

View raw message