Looks like C* isn't creating the table with the lowest value integer
suffix.  I created more tables and even if I reverse their order, the one
with the lowest integer suffix isn't being created.

The CQL is being sent to the server, executed (confirmed via the trace),
but when I read the tables back out, or run a SELECT against it, it will
fail.

Hm…


On Wed, Aug 13, 2014 at 1:52 PM, Kevin Burton <bur...@spinn3r.com> wrote:

> It still failed.  Tracing shows that the query is being executed.  Just
> that the table isn't created.  I did a diff against the two table names and
> the only difference is the table name.
>
> I even reversed their creation to see if that fixes it… but it still
> fails.  Very very weird.
>
>
> On Wed, Aug 13, 2014 at 1:38 PM, Kevin Burton <bur...@spinn3r.com> wrote:
>
>> ah.. good idea. I'll try that now.
>>
>>
>> On Wed, Aug 13, 2014 at 1:36 PM, DuyHai Doan <doanduy...@gmail.com>
>> wrote:
>>
>>> Maybe tracing the requests ? (just the one creating the schema of course)
>>>
>>>
>>> On Wed, Aug 13, 2014 at 10:30 PM, Kevin Burton <bur...@spinn3r.com>
>>> wrote:
>>>
>>>> yeah… problem still exists on 2.0.9
>>>>
>>>>
>>>> On Wed, Aug 13, 2014 at 1:26 PM, Kevin Burton <bur...@spinn3r.com>
>>>> wrote:
>>>>
>>>>> and I'm certain that the CQL is executing… because I get a ResultSet
>>>>> back and verified that the CQL is correct.
>>>>>
>>>>>
>>>>> On Wed, Aug 13, 2014 at 1:26 PM, Kevin Burton <bur...@spinn3r.com>
>>>>> wrote:
>>>>>
>>>>>> 2.0.5… I'm upgrading to 2.0.9 now just to rule this out….
>>>>>>
>>>>>> I can give you the full CQL for the table, but I can't seem to
>>>>>> reproduce it without my entire app being included.
>>>>>>
>>>>>> If I execute the CQL manually, it works… which is what makes this so
>>>>>> weird.
>>>>>>
>>>>>>
>>>>>> On Wed, Aug 13, 2014 at 1:11 PM, DuyHai Doan <doanduy...@gmail.com>
>>>>>> wrote:
>>>>>>
>>>>>>> Can you just give the C* version and the complete DDL script to
>>>>>>> reproduce the issue ?
>>>>>>>
>>>>>>>
>>>>>>> On Wed, Aug 13, 2014 at 10:08 PM, Kevin Burton <bur...@spinn3r.com>
>>>>>>> wrote:
>>>>>>>
>>>>>>>> I'm tracking down a weird bug and was wondering if you guys had any
>>>>>>>> feedback.
>>>>>>>>
>>>>>>>> I'm trying to create ten tables programatically.. .
>>>>>>>>
>>>>>>>> The first one I create, for some reason, isn't created.
>>>>>>>>
>>>>>>>> The other 9 are created without a problem.
>>>>>>>>
>>>>>>>> Im doing this with the datastax driver's session.execute().
>>>>>>>>
>>>>>>>> No exceptions are thrown.
>>>>>>>>
>>>>>>>> I read the tables back out, and I have 9 of them, but not the first
>>>>>>>> one.
>>>>>>>>
>>>>>>>> I can confirm that the table isn't there because I'm doing a
>>>>>>>>
>>>>>>>>   select * from foo0 limit 1
>>>>>>>>
>>>>>>>> and it gives me an unconfigured column family exception.
>>>>>>>>
>>>>>>>> so it looks like cassandra is just silently not creating the table.
>>>>>>>>
>>>>>>>>
>>>>>>>> This is just in my junit harness for now.  So it's one cassandra
>>>>>>>> node so there shouldn't be an issue with schema disagreement.
>>>>>>>>
>>>>>>>> Kind of stumped here so any suggestion would help.
>>>>>>>>
>>>>>>>> --
>>>>>>>>
>>>>>>>>  Founder/CEO Spinn3r.com
>>>>>>>> Location: *San Francisco, CA*
>>>>>>>> blog: http://burtonator.wordpress.com
>>>>>>>> … or check out my Google+ profile
>>>>>>>> <https://plus.google.com/102718274791889610666/posts>
>>>>>>>> <http://spinn3r.com>
>>>>>>>>
>>>>>>>>
>>>>>>>
>>>>>>
>>>>>>
>>>>>> --
>>>>>>
>>>>>> Founder/CEO Spinn3r.com
>>>>>> Location: *San Francisco, CA*
>>>>>> blog: http://burtonator.wordpress.com
>>>>>> … or check out my Google+ profile
>>>>>> <https://plus.google.com/102718274791889610666/posts>
>>>>>> <http://spinn3r.com>
>>>>>>
>>>>>>
>>>>>
>>>>>
>>>>> --
>>>>>
>>>>> Founder/CEO Spinn3r.com
>>>>> Location: *San Francisco, CA*
>>>>> blog: http://burtonator.wordpress.com
>>>>> … or check out my Google+ profile
>>>>> <https://plus.google.com/102718274791889610666/posts>
>>>>> <http://spinn3r.com>
>>>>>
>>>>>
>>>>
>>>>
>>>> --
>>>>
>>>> Founder/CEO Spinn3r.com
>>>> Location: *San Francisco, CA*
>>>> blog: http://burtonator.wordpress.com
>>>> … or check out my Google+ profile
>>>> <https://plus.google.com/102718274791889610666/posts>
>>>> <http://spinn3r.com>
>>>>
>>>>
>>>
>>
>>
>> --
>>
>> Founder/CEO Spinn3r.com
>> Location: *San Francisco, CA*
>> blog: http://burtonator.wordpress.com
>> … or check out my Google+ profile
>> <https://plus.google.com/102718274791889610666/posts>
>> <http://spinn3r.com>
>>
>>
>
>
> --
>
> Founder/CEO Spinn3r.com
> Location: *San Francisco, CA*
> blog: http://burtonator.wordpress.com
> … or check out my Google+ profile
> <https://plus.google.com/102718274791889610666/posts>
> <http://spinn3r.com>
>
>


-- 

Founder/CEO Spinn3r.com
Location: *San Francisco, CA*
blog: http://burtonator.wordpress.com
… or check out my Google+ profile
<https://plus.google.com/102718274791889610666/posts>
<http://spinn3r.com>

Reply via email to