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 <xiny...@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