incubator-cassandra-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Tyler Hobbs <ty...@riptano.com>
Subject Re: casssandra 0.7beta3, pycassa and windows client timestamps
Date Wed, 17 Nov 2010 22:55:47 GMT
Can you turn on debug logging on Cassandra (change INFO to debug in
conf/log4j-server.properties) and see what happens when you send a write
that doesn't seem to have an effect?

- Tyler

On Wed, Nov 17, 2010 at 4:40 PM, Dr. Andrew Perella <ajp@eutechnyx.com>wrote:

>  The value I want to change is:
>
>
>
> ColumnOrSuperColumn(column=Column(timestamp=1290033433618000L,
> name='currentCarUID', value='82b50f91663f42ee8a740447efa1bdae', ttl=None),
> super_column=None)
>
>
>
> and I try to overwrite it with:
>
>
>
> Mutation(column_or_supercolumn=
>
> ColumnOrSuperColumn(column=Column(timestamp=1290033474541000L,
> name=u'currentCarUID', value='e7d0cac632134c479110b6f0bb5ca6ea', ttl=None),
> super_column=None), deletion=None)
>
>
>
> I am just running a single node test machine.
>
>
>
> I am using it to run multiple keyspaces for other services (from other
> clients) if that might be relevant at all.
>
>
>
>
>
> *From:* Tyler Hobbs [mailto:tyler@riptano.com]
> *Sent:* 17 November 2010 22:33
>
> *To:* user@cassandra.apache.org
> *Subject:* Re: casssandra 0.7beta3, pycassa and windows client timestamps
>
>
>
> Can you give me an example of what your writes look like here?
>
> Are you running a multinode cluster or just one instance of Cassandra?
>
> - Tyler
>
> On Wed, Nov 17, 2010 at 4:30 PM, Dr. Andrew Perella <ajp@eutechnyx.com>
> wrote:
>
> Miliseconds – but that’s not the problem – I can wait 10 minutes and still
> not get the value updated!  Other times I can update many times a second –
> it just seems random!
>
>
>
> *From:* Tyler Hobbs [mailto:tyler@riptano.com]
> *Sent:* 17 November 2010 22:28
> *To:* user@cassandra.apache.org
> *Subject:* Re: casssandra 0.7beta3, pycassa and windows client timestamps
>
>
>
> What resolution does time.time() give you in Windows?
>
> - Tyler
>
> On Wed, Nov 17, 2010 at 4:23 PM, Dr. Andrew Perella <ajp@eutechnyx.com>
> wrote:
>
> I have encountered a strange problem with values not being written to
> Cassandra very often.
>
> It looks like it is a windows client timestamp problem. I cannot detect a
> pattern as to when a timestamp will allow an update however if I run my
> client (in a web server) on linux then the problem goes away.
>
>
>
> Has anyone seen anything like this or will I need to delve deeper into
> thift?
>
>
>
> FYI I am using pythons int(time.time()*1e6) as a timestamp
>
>
>
> Best Regards,
>
> Andrew
>
> This e-mail is confidential and may be privileged. It may be read, copied
> and used only by the intended recipient. No communication sent by e-mail to
> or from Eutechnyx is intended to give rise to contractual or other legal
> liability, apart from liability which cannot be excluded under English law.
>
> This email has been scanned for all known viruses by www.epagency.net.
>
> www.eutechnyx.com Eutechnyx Limited. Registered in England No: 2172322
>
>
>
> This email has been scanned for all known viruses by the Email Protection
> Agency
>
> This e-mail is confidential and may be privileged. It may be read, copied
> and used only by the intended recipient. No communication sent by e-mail to
> or from Eutechnyx is intended to give rise to contractual or other legal
> liability, apart from liability which cannot be excluded under English law.
>
> This email has been scanned for all known viruses by www.epagency.net.
>
> www.eutechnyx.com Eutechnyx Limited. Registered in England No: 2172322
>
>
>
> This email has been scanned for all known viruses by the Email Protection
> Agency
>
> This e-mail is confidential and may be privileged. It may be read, copied
> and used only by the intended recipient. No communication sent by e-mail to
> or from Eutechnyx is intended to give rise to contractual or other legal
> liability, apart from liability which cannot be excluded under English law.
>
> This email has been scanned for all known viruses by www.epagency.net.
> www.eutechnyx.com Eutechnyx Limited. Registered in England No: 2172322
>

Mime
View raw message