Re: difficulty to delete a topic because of its syntax

2016-10-10 Thread Gwen Shapira
Just note that in general doing what Todd advice is pretty risky. We've seen controllers get into all kinds of weird situations when topics were deleted from ZK directly (including getting stuck in an infinite loop, deleting unrelated topics and all kinds of strangeness) - we have no tests for

Re: difficulty to delete a topic because of its syntax

2016-10-10 Thread Avi Flax
> On Oct 6, 2016, at 09:59, Ismael Juma wrote: > > On Thu, Oct 6, 2016 at 2:51 PM, Avi Flax wrote: >> >> Does this mean that the next release (after 0.10.1.0, maybe ~Feb?) might >> remove altogether the requirement that Streams apps be able to

Re: difficulty to delete a topic because of its syntax

2016-10-06 Thread Ismael Juma
On Thu, Oct 6, 2016 at 2:51 PM, Avi Flax wrote: > > Does this mean that the next release (after 0.10.1.0, maybe ~Feb?) might > remove altogether the requirement that Streams apps be able to access > ZooKeeper directly? That's the plan. See the following PR for details:

Re: difficulty to delete a topic because of its syntax

2016-10-06 Thread Avi Flax
> On Oct 6, 2016, at 06:24, Ismael Juma wrote: > > It's worth mentioning that Streams is in the process of transitioning from > updating ZooKeeper directly to using the newly introduced create topics and > delete topics protocol requests. It was too late for 0.10.1.0, but

RE: difficulty to delete a topic because of its syntax

2016-10-06 Thread Hamza HACHANI
Yes in fact, The topic in question was a name of a store. Ok i will do it for th matter of JIRA. De : isma...@gmail.com de la part de Ismael Juma Envoyé : mercredi 5 octobre 2016 22:24:53 À : users@kafka.apache.org Objet

Re: difficulty to delete a topic because of its syntax

2016-10-06 Thread Ismael Juma
It's worth mentioning that Streams is in the process of transitioning from updating ZooKeeper directly to using the newly introduced create topics and delete topics protocol requests. It was too late for 0.10.1.0, but should land in trunk soonish. Ismael On Thu, Oct 6, 2016 at 11:15 AM, Yuto

Re: difficulty to delete a topic because of its syntax

2016-10-06 Thread Yuto KAWAMURA
I guess this topic is created by Kafka Streams. Kafka Streams has it's own topic creation(zookeeper node creation) implementation and not using core's AdminUtils to create internal use topics such as XX-changelog:

Re: difficulty to delete a topic because of its syntax

2016-10-06 Thread Rajini Sivaram
Hamza, Can you raise a JIRA with details on how the topic was created by Kafka with an invalid name? Sounds like there might be a missing validation somewhere. Regards, Rajini On Thu, Oct 6, 2016 at 10:12 AM, Hamza HACHANI wrote: > Thanks Todd, > > > I've resolved it

RE: difficulty to delete a topic because of its syntax

2016-10-06 Thread Hamza HACHANI
Thanks Todd, I've resolved it by suing what you told me. Thanks very much. But i think that there is a problem with kafka by letting the saving names of topic and logs where there is a space as i showes in the images. Have a good day to you all. Hamza De :

RE: difficulty to delete a topic because of its syntax

2016-10-06 Thread Hamza HACHANI
Hi, Attached the files showing what i'm talking about. Hamza De : Todd S Envoyé : mercredi 5 octobre 2016 07:25:48 À : users@kafka.apache.org Objet : Re: difficulty to delete a topic because of its syntax You *could* go in to zookeeper and

Re: difficulty to delete a topic because of its syntax

2016-10-05 Thread Todd S
You *could* go in to zookeeper and nuke the topic, then delete the files on disk Slightly more risky but it should work On Wednesday, 5 October 2016, Manikumar wrote: > Kafka doesn't support white spaces in topic names. Only support '.', '_' > and '-' these are

Re: difficulty to delete a topic because of its syntax

2016-10-05 Thread Manikumar
Kafka doesn't support white spaces in topic names. Only support '.', '_' and '-' these are allowed. Not sure how you got white space in topic name. On Wed, Oct 5, 2016 at 8:19 PM, Hamza HACHANI wrote: > Well ackwardly when i list the topics i find it but when i do

RE: difficulty to delete a topic because of its syntax

2016-10-05 Thread Hamza HACHANI
Well ackwardly when i list the topics i find it but when i do delete it it says that this topic does not exist. De : Ben Davison Envoyé : mercredi 5 octobre 2016 02:37:14 À : users@kafka.apache.org Objet : Re: difficulty to delete a

Re: difficulty to delete a topic because of its syntax

2016-10-05 Thread Ben Davison
Try putting "" or '' around the string when running the command. On Wed, Oct 5, 2016 at 3:29 PM, Hamza HACHANI wrote: > It's between "the" and "metric" > > > De : Ali Akhtar > Envoyé : mercredi 5 octobre 2016

RE: difficulty to delete a topic because of its syntax

2016-10-05 Thread Hamza HACHANI
It's between "the" and "metric" De : Ali Akhtar Envoyé : mercredi 5 octobre 2016 02:16:33 À : users@kafka.apache.org Objet : Re: difficulty to delete a topic because of its syntax I don't see a space in that topic name On Wed, Oct 5, 2016

Re: difficulty to delete a topic because of its syntax

2016-10-05 Thread Ali Akhtar
I don't see a space in that topic name On Wed, Oct 5, 2016 at 6:42 PM, Hamza HACHANI wrote: > Hi, > > I created a topic called device-connection-invert-key-value-the > metric-changelog. > > I insit that there is a space in it. > > > > Now that i want to delete it

difficulty to delete a topic because of its syntax

2016-10-05 Thread Hamza HACHANI
Hi, I created a topic called device-connection-invert-key-value-the metric-changelog. I insit that there is a space in it. Now that i want to delete it because my cluster can no longer work correctly i can't do it as it only reads the first part of it : (