This is a really common issue with windows. You can try turning off backups/virus scanning of that folder and sometimes this relieves the issue. (I assume there is a file attribute you can alter.) It's probably the case that Kafka itself has the file open, as linux does not have issues if you move a file while it's being written to or open.
If you are interested in the locking process (and tools that help you delete or 'unlock the file' on windows see this post <https://superuser.com/questions/117902/find-out-which-process-is-locking-a-file-or-folder-in-windows>.) Might also help provide enough information for you to file a bug in jira against the issue. Hope this helps. On Mon, 17 Jul 2017 at 04:45 M. Manna <manme...@gmail.com> wrote: > Hi, > > First I apologise and should just correct myself. I should use "Disk/File > level operations" instead of using "I/O" since that refers to different > things. > > What I mean to say that file deletion/renaming doesn't work even when you > provide full permissions in Windows. But Unix/Linux based system it's okay. > This can be called as "Deletion/Renaming of shared files" i.e. which are > already opened for appending/editing. > > As an example try to run the uni tests for Kafka on Windows where file > renaming/deletion occurs as part of the tests.They will fail. But same > process works all good on Linux. > > From the official documentation, Kafka has already made a disclaimer that > Windows Implementation is not fully vetted (in progress). I believe all the > top examples from LinkedIn are based on Unix/Linux. You are actually okay > to do PoC activities on windows - log retention/rename/deletion will work > fine. > > I hope this helps you understand. > > KR, > > On 17 July 2017 at 09:22, harish jadhav <harishjadhav1...@yahoo.com> > wrote: > > > Hi M.Manna, > > > > > > Thanks for the update. > > > > If possible, can you please share which admin I/O level functionality > will > > impact? Do you mean something related to log files renaming? > > > > In documentation, there is no pointer with respect to I/O. > > > > Kindly advice. > > > > Thanks > > Harish > > > > > > > > On Saturday, July 15, 2017, 1:59:58 PM GMT+5:30, M. Manna < > > manme...@gmail.com> wrote: > > > > > > Kafka has some issues wuth IO level admin functionalities e.g. file > > deletion/renaming doesn't work out of the box like Linux. However, user > > base is growing and there's a momentum to support Windows OS seamlessly > > like Linux. > > > > I have been running some stress tests on Windows and the performance is > > quite consistent. If you have any findings you would like to share, > please > > publish them. > > > > Please read Kafka documentation where there are some disclaimers > regarding > > OS support. > > > > On 15 Jul 2017 1:27 am, "Eno Thereska" <eno.there...@gmail.com> wrote: > > > > Hi Harish, > > > > I believe many people/orgs use it on Windows. We rely on the community to > > test/fix/answer any Windows questions, same as with Linux or MacOS. > > However, based on what I've observed, perhaps there are more people > > answering Linux-related questions. > > > > Eno > > > > > On 14 Jul 2017, at 13:24, harish jadhav <harishjadhav1...@yahoo.com. > > INVALID> wrote: > > > > > > Hello Team, > > > > > > I am exploring Apache Kafka and found that one of the best MQ I have > > encountered. I was exploring option to use it in Windows machine and > > started some kind of proof of concept work referring installation section > > on windows and it work perfectly. Later realized that Kafka documentation > > says under Hardware and OS section " We have seen a few issues running on > > Windows and Windows is not currently a well supported platform though we > > would be happy to change that. " > > > > > > I am curios to know is there any actual issue running Kafka in windows > > OS as whichever feature I am using with single instance ( > > Producer-Consumer) works perfectly in windows test bed. Can I use it > > production windows machines? > > > > > > Please advice. > > > > > > Thanks > > > Harish > > > > >