Re: Kafka 0.8 delete log failed

2013-12-11 Thread CuiLiang
2013/12/11 CuiLiang cuilian...@gmail.com The Kafka folder is d:\kafka_2.8.0-0.8.0. Kafka log folder is d:\data\kafka-logs. kafka batch folder is d:\kafka_2.8.0-0.8.0\bin. log.dirs=..\\..\\data\\kafka-logs The log segments files is created correct, but can't delete the log file. My machine has C

Re: Kafka 0.8 delete log failed

2013-12-11 Thread CuiLiang
happen do to the file not existing or due to permissions and perhaps on Windows due to locking. On Wed, Dec 11, 2013 at 12:30 AM, CuiLiang cuilian...@gmail.com wrote: Update this issue. I update the log config to log.dirs=\\kafka-logs. The log file is deleted but still can't delete the index

Kafka 0.8 delete log failed

2013-12-10 Thread CuiLiang
Hi All, I'm use Kafka 0.8 release build with 1 partition, 1 replica. My OS is Windows server 2012 and JDK is 1.7. I got below error when Kafka delete logs. Any guidance would be of great help. [2013-12-09 04:00:10,525] ERROR error in loggedRunnable

Re: How to set kafka path in zk

2013-12-10 Thread CuiLiang
like 10.237.0.1:2181/kafka, it works. But if I set zk property to 3 zk hosts something like 10.237.0.1:2181/kafka,10.237.0.2:2181/kafka,10.237.0.3:2181/kafka. Kafka won't start successfully. How to solve it? -- cuiliang MSN : bypp1...@hotmail.com