Loading Binary files in Cassandra DB

2014-07-03 Thread Akshay Ballarpure
Hello Team,
I am going to use Cassandra DB in our existing project as its suiting my 
requirement. 
I have binary files generated from our application every one minutes and 
have to store them in DB.
I have a table which is having 100+ column on which customer is going to 
use only 10 column for searching data.
I would like to know if there are any loader supported for loading binary 
files into DB or please guide me how to write it 

Thanks  Regards
Akshay Ghanshyam Ballarpure
Tata Consultancy Services
Cell:- 9985084075
Mailto: akshay.ballarp...@tcs.com
Website: http://www.tcs.com

Experience certainty.   IT Services
Business Solutions
Consulting

=-=-=
Notice: The information contained in this e-mail
message and/or attachments to it may contain 
confidential or privileged information. If you are 
not the intended recipient, any dissemination, use, 
review, distribution, printing or copying of the 
information contained in this e-mail message 
and/or attachments to it are strictly prohibited. If 
you have received this communication in error, 
please notify us by reply e-mail or telephone and 
immediately and permanently delete the message 
and any attachments. Thank you




Re: Loading Binary files in Cassandra DB

2014-07-03 Thread DuyHai Doan
You can have a look here:
https://github.com/Netflix/astyanax/wiki/Chunked-Object-Store


On Thu, Jul 3, 2014 at 11:05 AM, Akshay Ballarpure 
akshay.ballarp...@tcs.com wrote:

 Hello Team,
 I am going to use Cassandra DB in our existing project as its suiting my
 requirement.
 I have binary files generated from our application every one minutes and
 have to store them in DB.
 I have a table which is having 100+ column on which customer is going to
 use only 10 column for searching data.
 I would like to know if there are any loader supported for loading binary
 files into DB or please guide me how to write it

 Thanks  Regards
 Akshay Ghanshyam Ballarpure
 Tata Consultancy Services
 Cell:- 9985084075
 Mailto: akshay.ballarp...@tcs.com
 Website: http://www.tcs.com
 
 Experience certainty.IT Services
Business Solutions
Consulting
 

 =-=-=
 Notice: The information contained in this e-mail
 message and/or attachments to it may contain
 confidential or privileged information. If you are
 not the intended recipient, any dissemination, use,
 review, distribution, printing or copying of the
 information contained in this e-mail message
 and/or attachments to it are strictly prohibited. If
 you have received this communication in error,
 please notify us by reply e-mail or telephone and
 immediately and permanently delete the message
 and any attachments. Thank you




Write Inconsistency to update a row

2014-07-03 Thread Sávio S . Teles de Oliveira
I have two Cassandra 2.0.5 servers running with some datas inserted, where
each row have one empty column. When the client send a lot of update
commands to fill this column in each row, some lines update their content,
but some lines remain with the empty column.

Using one server, this never happens!

Any suggestions?

Tks.
-- 
Atenciosamente,
Sávio S. Teles de Oliveira
voice: +55 62 9136 6996
http://br.linkedin.com/in/savioteles
Mestrando em Ciências da Computação - UFG
Arquiteto de Software
CUIA Internet Brasil


Re: Write Inconsistency to update a row

2014-07-03 Thread graham sanderson
What is your keyspace replication_factor?

What consistency level are you reading/writing with?

Does the data show up eventually?

I’m assuming you don’t have any errors (timeouts etc) on the write site

On Jul 3, 2014, at 7:55 AM, Sávio S. Teles de Oliveira 
savio.te...@cuia.com.br wrote:

 I have two Cassandra 2.0.5 servers running with some datas inserted, where 
 each row have one empty column. When the client send a lot of update commands 
 to fill this column in each row, some lines update their content, but some 
 lines remain with the empty column.
 
 Using one server, this never happens!
 
 Any suggestions?
 
 Tks.
 -- 
 Atenciosamente,
 Sávio S. Teles de Oliveira
 voice: +55 62 9136 6996
 http://br.linkedin.com/in/savioteles
 Mestrando em Ciências da Computação - UFG 
 Arquiteto de Software
 CUIA Internet Brasil



smime.p7s
Description: S/MIME cryptographic signature


Re: Write Inconsistency to update a row

2014-07-03 Thread Sávio S . Teles de Oliveira
replication_factor=1
CL=ONE

Does the data show up eventually?

Yes.

Can be the clocks?


2014-07-03 10:47 GMT-03:00 graham sanderson gra...@vast.com:

 What is your keyspace replication_factor?

 What consistency level are you reading/writing with?

 Does the data show up eventually?

 I’m assuming you don’t have any errors (timeouts etc) on the write site


 On Jul 3, 2014, at 7:55 AM, Sávio S. Teles de Oliveira 
 savio.te...@cuia.com.br wrote:

 I have two Cassandra 2.0.5 servers running with some datas inserted, where
 each row have one empty column. When the client send a lot of update
 commands to fill this column in each row, some lines update their content,
 but some lines remain with the empty column.

 Using one server, this never happens!

 Any suggestions?

 Tks.
 --
 Atenciosamente,
 Sávio S. Teles de Oliveira
 voice: +55 62 9136 6996
 http://br.linkedin.com/in/savioteles
 Mestrando em Ciências da Computação - UFG
 Arquiteto de Software
 CUIA Internet Brasil





-- 
Atenciosamente,
Sávio S. Teles de Oliveira
voice: +55 62 9136 6996
http://br.linkedin.com/in/savioteles
Mestrando em Ciências da Computação - UFG
Arquiteto de Software
CUIA Internet Brasil


Re: Write Inconsistency to update a row

2014-07-03 Thread Panagiotis Garefalakis
This seems like a hinted handoff issue but since you use CL = ONE it should
happen.
Are you sure all the nodes are working at that time? You could use nodetool
status to check that.
I would suggest increasing the replication factor (for example 3) and use
CL=ALL or QUORUM to find out what is going wrong.

Regards,
Panagiotis


On Thu, Jul 3, 2014 at 5:11 PM, Sávio S. Teles de Oliveira 
savio.te...@cuia.com.br wrote:

 replication_factor=1
 CL=ONE

 Does the data show up eventually?

 Yes.

 Can be the clocks?


 2014-07-03 10:47 GMT-03:00 graham sanderson gra...@vast.com:

 What is your keyspace replication_factor?

 What consistency level are you reading/writing with?

 Does the data show up eventually?

 I’m assuming you don’t have any errors (timeouts etc) on the write site


 On Jul 3, 2014, at 7:55 AM, Sávio S. Teles de Oliveira 
 savio.te...@cuia.com.br wrote:

 I have two Cassandra 2.0.5 servers running with some datas inserted,
 where each row have one empty column. When the client send a lot of update
 commands to fill this column in each row, some lines update their content,
 but some lines remain with the empty column.

 Using one server, this never happens!

 Any suggestions?

 Tks.
 --
 Atenciosamente,
 Sávio S. Teles de Oliveira
 voice: +55 62 9136 6996
 http://br.linkedin.com/in/savioteles
 Mestrando em Ciências da Computação - UFG
 Arquiteto de Software
 CUIA Internet Brasil





 --
 Atenciosamente,
 Sávio S. Teles de Oliveira
 voice: +55 62 9136 6996
 http://br.linkedin.com/in/savioteles
 Mestrando em Ciências da Computação - UFG
 Arquiteto de Software
 CUIA Internet Brasil



Re: Triggers and their use in data indexing

2014-07-03 Thread Jonathan Haddad
Triggers only execute on the local coordinator.  I would also not
recommend using them.

On Thu, Jul 3, 2014 at 9:58 AM, Robert Coli rc...@eventbrite.com wrote:
 On Thu, Jul 3, 2014 at 4:41 AM, Bèrto ëd Sèra berto.d.s...@gmail.com
 wrote:

 Now the question: is there any way to use triggers so that they will
 locally index data from remote DCs when it comes in?


 As I understand it, you probably should not use triggers in production in
 their current form.

 =Rob




-- 
Jon Haddad
http://www.rustyrazorblade.com
skype: rustyrazorblade


Re: Triggers and their use in data indexing

2014-07-03 Thread Jonathan Haddad
This is one of the trickier areas of doing multi dc.  The current
recommendation is to use a separate message queue.

If you'd like to see remote triggers, you could fire a JIRA.  Get back
to the list w/ the ticket #, I'm sure there are others who have
similar needs.

On Thu, Jul 3, 2014 at 10:04 AM, Jonathan Haddad j...@jonhaddad.com wrote:
 Triggers only execute on the local coordinator.  I would also not
 recommend using them.

 On Thu, Jul 3, 2014 at 9:58 AM, Robert Coli rc...@eventbrite.com wrote:
 On Thu, Jul 3, 2014 at 4:41 AM, Bèrto ëd Sèra berto.d.s...@gmail.com
 wrote:

 Now the question: is there any way to use triggers so that they will
 locally index data from remote DCs when it comes in?


 As I understand it, you probably should not use triggers in production in
 their current form.

 =Rob




 --
 Jon Haddad
 http://www.rustyrazorblade.com
 skype: rustyrazorblade



-- 
Jon Haddad
http://www.rustyrazorblade.com
skype: rustyrazorblade


Re: Write Inconsistency to update a row

2014-07-03 Thread Jonathan Haddad
Did you make sure all the nodes are on the same time?  If they're not,
you'll get some weird results.

On Thu, Jul 3, 2014 at 10:30 AM, Sávio S. Teles de Oliveira
savio.te...@cuia.com.br wrote:
 Are you sure all the nodes are working at that time?


 Yes. They are working.

 I would suggest increasing the replication factor (for example 3) and use
 CL=ALL or QUORUM to find out what is going wrong.


 I did! I still have the same problem.



 2014-07-03 13:40 GMT-03:00 Panagiotis Garefalakis panga...@gmail.com:

 This seems like a hinted handoff issue but since you use CL = ONE it
 should happen.
 Are you sure all the nodes are working at that time? You could use
 nodetool status to check that.
 I would suggest increasing the replication factor (for example 3) and use
 CL=ALL or QUORUM to find out what is going wrong.

 Regards,
 Panagiotis


 On Thu, Jul 3, 2014 at 5:11 PM, Sávio S. Teles de Oliveira
 savio.te...@cuia.com.br wrote:

 replication_factor=1
 CL=ONE

 Does the data show up eventually?

 Yes.

 Can be the clocks?


 2014-07-03 10:47 GMT-03:00 graham sanderson gra...@vast.com:

 What is your keyspace replication_factor?

 What consistency level are you reading/writing with?

 Does the data show up eventually?

 I’m assuming you don’t have any errors (timeouts etc) on the write site


 On Jul 3, 2014, at 7:55 AM, Sávio S. Teles de Oliveira
 savio.te...@cuia.com.br wrote:

 I have two Cassandra 2.0.5 servers running with some datas inserted,
 where each row have one empty column. When the client send a lot of update
 commands to fill this column in each row, some lines update their content,
 but some lines remain with the empty column.

 Using one server, this never happens!

 Any suggestions?

 Tks.
 --
 Atenciosamente,
 Sávio S. Teles de Oliveira
 voice: +55 62 9136 6996
 http://br.linkedin.com/in/savioteles
 Mestrando em Ciências da Computação - UFG
 Arquiteto de Software
 CUIA Internet Brasil





 --
 Atenciosamente,
 Sávio S. Teles de Oliveira
 voice: +55 62 9136 6996
 http://br.linkedin.com/in/savioteles
 Mestrando em Ciências da Computação - UFG
 Arquiteto de Software
 CUIA Internet Brasil





 --
 Atenciosamente,
 Sávio S. Teles de Oliveira
 voice: +55 62 9136 6996
 http://br.linkedin.com/in/savioteles
 Mestrando em Ciências da Computação - UFG
 Arquiteto de Software
 CUIA Internet Brasil



-- 
Jon Haddad
http://www.rustyrazorblade.com
skype: rustyrazorblade


[RELEASE] Apache Cassandra 1.2.18 released

2014-07-03 Thread Sylvain Lebresne
The Cassandra team is pleased to announce the release of Apache Cassandra
version 1.2.18.

Cassandra is a highly scalable second-generation distributed database,
bringing together Dynamo's fully distributed design and Bigtable's
ColumnFamily-based data model. You can read more here:

 http://cassandra.apache.org/

Downloads of source and binary distributions are listed in our download
section:

 http://cassandra.apache.org/download/

This version is a maintenance/bug fix release[1] on the 1.2 series. As
always,
please pay attention to the release notes[2] and Let us know[3] if you were
to
encounter any problem.

Enjoy!

[1]: http://goo.gl/XWfGPo (CHANGES.txt)
[2]: http://goo.gl/PFr5TO (NEWS.txt)
[3]: https://issues.apache.org/jira/browse/CASSANDRA


Re: keyspace with hundreds of columnfamilies

2014-07-03 Thread tommaso barbugli
thank you for the replies; I am rethinking the schema design, one possible
solution is to implode one dimension and get N times less CFs.
With this approach I would come up with (cql) tables with up to 100
columns; would that be a problem?

Thank You,
Tommaso


2014-07-02 23:43 GMT+02:00 Jack Krupansky j...@basetechnology.com:

   The official answer, engraved in stone tablets, and carried down from
 the mountain: “Although having more than dozens or hundreds of tables
 defined is almost certainly a Bad Idea (just as it is a design smell in a
 relational database), it's relatively straightforward to allow disabling
 the SlabAllocator.” Emphasis on “almost certainly a Bad Idea.”

 See:
 https://issues.apache.org/jira/browse/CASSANDRA-5935
 “Allow disabling slab allocation”

 IOW, this is considered an anti-pattern, but...

 -- Jack Krupansky

  *From:* tommaso barbugli tbarbu...@gmail.com
 *Sent:* Wednesday, July 2, 2014 2:16 PM
 *To:* user@cassandra.apache.org
 *Subject:* Re: keyspace with hundreds of columnfamilies

  Hi,
 thank you for you replies on this; regarding the arena memory is this a
 fixed memory allocation or is some sort of in memory caching? I ask because
 I think that a substantial portion of the column families created will not
 be queried that frequently (and some will become inactive and stay like
 that really long time)

 Thank you,
 Tommaso


 2014-07-02 18:35 GMT+02:00 Romain HARDOUIN romain.hardo...@urssaf.fr:

 Arena allocation is an improvement feature, not a limitation.
 It was introduced in Cassandra 1.0 in order to lower memory fragmentation
 (and therefore promotion failure).
 AFAIK It's not intended to be tweaked so it might not be a good idea to
 change it.

 Best,
 Romain

 tommaso barbugli tbarbu...@gmail.com a écrit sur 02/07/2014 17:40:18 :

  De : tommaso barbugli tbarbu...@gmail.com
  A : user@cassandra.apache.org,
  Date : 02/07/2014 17:40
  Objet : Re: keyspace with hundreds of columnfamilies
  
  1MB per column family sounds pretty bad to me; is this something I
  can tweak/workaround somehow?
 
  Thanks
  Tommaso
 

  2014-07-02 17:21 GMT+02:00 Romain HARDOUIN romain.hardo...@urssaf.fr:
  The trap is that each CF will consume 1 MB of memory due to arena
 allocation.
  This might seem harmless but if you plan thousands of CF it means
  thousands of mega bytes...
  Up to 1,000 CF I think it could be doable, but not 10,000.
 
  Best,
 
  Romain
 
 
  tommaso barbugli tbarbu...@gmail.com a écrit sur 02/07/2014 10:13:41
 :
 
   De : tommaso barbugli tbarbu...@gmail.com
   A : user@cassandra.apache.org,
   Date : 02/07/2014 10:14
   Objet : keyspace with hundreds of columnfamilies
  
   Hi,
   Are there any known issues, shortcomings about organising data in
   hundreds of column families?
   At this present I am running with 300 column families but I expect
   that to get to a couple of thousands.
   Is this something discouraged / unsupported (I am using Cassandra
 2.0).
  
   Thanks
   Tommaso





Re: Write Inconsistency to update a row

2014-07-03 Thread Jack Krupansky
You said that the updates do show up eventually – how long does it take?

-- Jack Krupansky

From: Sávio S. Teles de Oliveira 
Sent: Thursday, July 3, 2014 1:30 PM
To: user@cassandra.apache.org 
Subject: Re: Write Inconsistency to update a row

  Are you sure all the nodes are working at that time? 

Yes. They are working. 

  I would suggest increasing the replication factor (for example 3) and use 
CL=ALL or QUORUM to find out what is going wrong.

I did! I still have the same problem.





2014-07-03 13:40 GMT-03:00 Panagiotis Garefalakis panga...@gmail.com:

  This seems like a hinted handoff issue but since you use CL = ONE it should 
happen. 
  Are you sure all the nodes are working at that time? You could use nodetool 
status to check that.
  I would suggest increasing the replication factor (for example 3) and use 
CL=ALL or QUORUM to find out what is going wrong.


  Regards,
  Panagiotis



  On Thu, Jul 3, 2014 at 5:11 PM, Sávio S. Teles de Oliveira 
savio.te...@cuia.com.br wrote:

replication_factor=1 
CL=ONE

  Does the data show up eventually?
Yes.

Can be the clocks?  




2014-07-03 10:47 GMT-03:00 graham sanderson gra...@vast.com: 


  What is your keyspace replication_factor? 

  What consistency level are you reading/writing with? 

  Does the data show up eventually?

  I’m assuming you don’t have any errors (timeouts etc) on the write site 


  On Jul 3, 2014, at 7:55 AM, Sávio S. Teles de Oliveira 
savio.te...@cuia.com.br wrote:


I have two Cassandra 2.0.5 servers running with some datas inserted, 
where each row have one empty column. When the client send a lot of update 
commands to fill this column in each row, some lines update their content, but 
some lines remain with the empty column. 

Using one server, this never happens!


Any suggestions?

Tks.
-- 
Atenciosamente,
Sávio S. Teles de Oliveira

voice: +55 62 9136 6996
http://br.linkedin.com/in/savioteles

Mestrando em Ciências da Computação - UFG 
Arquiteto de Software

CUIA Internet Brasil






-- 
Atenciosamente,
Sávio S. Teles de Oliveira

voice: +55 62 9136 6996
http://br.linkedin.com/in/savioteles

Mestrando em Ciências da Computação - UFG 
Arquiteto de Software

CUIA Internet Brasil






-- 
Atenciosamente,
Sávio S. Teles de Oliveira

voice: +55 62 9136 6996
http://br.linkedin.com/in/savioteles

Mestrando em Ciências da Computação - UFG 
Arquiteto de Software

CUIA Internet Brasil


Re: Write Inconsistency to update a row

2014-07-03 Thread Sávio S . Teles de Oliveira

 Did you make sure all the nodes are on the same time?  If they're not,
 you'll get some weird results.


They were not on the same time. I've synchronized the time and works!

Tks


2014-07-03 16:58 GMT-03:00 Jack Krupansky j...@basetechnology.com:

   You said that the updates do show up eventually – how long does it take?

 -- Jack Krupansky

  *From:* Sávio S. Teles de Oliveira savio.te...@cuia.com.br
 *Sent:* Thursday, July 3, 2014 1:30 PM
 *To:* user@cassandra.apache.org
 *Subject:* Re: Write Inconsistency to update a row


 Are you sure all the nodes are working at that time?


 Yes. They are working.


 I would suggest increasing the replication factor (for example 3) and use
 CL=ALL or QUORUM to find out what is going wrong.


 I did! I still have the same problem.



 2014-07-03 13:40 GMT-03:00 Panagiotis Garefalakis panga...@gmail.com:

 This seems like a hinted handoff issue but since you use CL = ONE it
 should happen.
 Are you sure all the nodes are working at that time? You could use
 nodetool status to check that.
 I would suggest increasing the replication factor (for example 3) and use
 CL=ALL or QUORUM to find out what is going wrong.

 Regards,
 Panagiotis


 On Thu, Jul 3, 2014 at 5:11 PM, Sávio S. Teles de Oliveira 
 savio.te...@cuia.com.br wrote:

 replication_factor=1
 CL=ONE


 Does the data show up eventually?

 Yes.

 Can be the clocks?


 2014-07-03 10:47 GMT-03:00 graham sanderson gra...@vast.com:

  What is your keyspace replication_factor?

 What consistency level are you reading/writing with?

 Does the data show up eventually?

 I’m assuming you don’t have any errors (timeouts etc) on the write site


 On Jul 3, 2014, at 7:55 AM, Sávio S. Teles de Oliveira 
 savio.te...@cuia.com.br wrote:

  I have two Cassandra 2.0.5 servers running with some datas inserted,
 where each row have one empty column. When the client send a lot of update
 commands to fill this column in each row, some lines update their content,
 but some lines remain with the empty column.

 Using one server, this never happens!

 Any suggestions?

 Tks.
 --
 Atenciosamente,
 Sávio S. Teles de Oliveira
 voice: +55 62 9136 6996
 http://br.linkedin.com/in/savioteles
 Mestrando em Ciências da Computação - UFG
 Arquiteto de Software
 CUIA Internet Brasil






 --
 Atenciosamente,
 Sávio S. Teles de Oliveira
 voice: +55 62 9136 6996
 http://br.linkedin.com/in/savioteles
 Mestrando em Ciências da Computação - UFG
 Arquiteto de Software
  CUIA Internet Brasil






 --
 Atenciosamente,
 Sávio S. Teles de Oliveira
 voice: +55 62 9136 6996
 http://br.linkedin.com/in/savioteles
 Mestrando em Ciências da Computação - UFG
 Arquiteto de Software
  CUIA Internet Brasil




-- 
Atenciosamente,
Sávio S. Teles de Oliveira
voice: +55 62 9136 6996
http://br.linkedin.com/in/savioteles
Mestrando em Ciências da Computação - UFG
Arquiteto de Software
CUIA Internet Brasil


Re: Write Inconsistency to update a row

2014-07-03 Thread Sávio S . Teles de Oliveira
I have synchronized the clocks and works!


2014-07-03 20:58 GMT-03:00 Sávio S. Teles de Oliveira 
savio.te...@cuia.com.br:

 Did you make sure all the nodes are on the same time?  If they're not,
 you'll get some weird results.


 They were not on the same time. I've synchronized the time and works!

 Tks


 2014-07-03 16:58 GMT-03:00 Jack Krupansky j...@basetechnology.com:

   You said that the updates do show up eventually – how long does it take?

 -- Jack Krupansky

  *From:* Sávio S. Teles de Oliveira savio.te...@cuia.com.br
 *Sent:* Thursday, July 3, 2014 1:30 PM
 *To:* user@cassandra.apache.org
 *Subject:* Re: Write Inconsistency to update a row


 Are you sure all the nodes are working at that time?


 Yes. They are working.


 I would suggest increasing the replication factor (for example 3) and
 use CL=ALL or QUORUM to find out what is going wrong.


 I did! I still have the same problem.



 2014-07-03 13:40 GMT-03:00 Panagiotis Garefalakis panga...@gmail.com:

 This seems like a hinted handoff issue but since you use CL = ONE it
 should happen.
 Are you sure all the nodes are working at that time? You could use
 nodetool status to check that.
 I would suggest increasing the replication factor (for example 3) and
 use CL=ALL or QUORUM to find out what is going wrong.

 Regards,
 Panagiotis


 On Thu, Jul 3, 2014 at 5:11 PM, Sávio S. Teles de Oliveira 
 savio.te...@cuia.com.br wrote:

 replication_factor=1
 CL=ONE


 Does the data show up eventually?

 Yes.

 Can be the clocks?


 2014-07-03 10:47 GMT-03:00 graham sanderson gra...@vast.com:

  What is your keyspace replication_factor?

 What consistency level are you reading/writing with?

 Does the data show up eventually?

 I’m assuming you don’t have any errors (timeouts etc) on the write
 site


 On Jul 3, 2014, at 7:55 AM, Sávio S. Teles de Oliveira 
 savio.te...@cuia.com.br wrote:

  I have two Cassandra 2.0.5 servers running with some datas inserted,
 where each row have one empty column. When the client send a lot of update
 commands to fill this column in each row, some lines update their content,
 but some lines remain with the empty column.

 Using one server, this never happens!

 Any suggestions?

 Tks.
 --
 Atenciosamente,
 Sávio S. Teles de Oliveira
 voice: +55 62 9136 6996
 http://br.linkedin.com/in/savioteles
 Mestrando em Ciências da Computação - UFG
 Arquiteto de Software
 CUIA Internet Brasil






 --
 Atenciosamente,
 Sávio S. Teles de Oliveira
 voice: +55 62 9136 6996
 http://br.linkedin.com/in/savioteles
 Mestrando em Ciências da Computação - UFG
 Arquiteto de Software
  CUIA Internet Brasil






 --
 Atenciosamente,
 Sávio S. Teles de Oliveira
 voice: +55 62 9136 6996
 http://br.linkedin.com/in/savioteles
 Mestrando em Ciências da Computação - UFG
 Arquiteto de Software
  CUIA Internet Brasil




 --
 Atenciosamente,
 Sávio S. Teles de Oliveira
 voice: +55 62 9136 6996
 http://br.linkedin.com/in/savioteles
  Mestrando em Ciências da Computação - UFG
 Arquiteto de Software
 CUIA Internet Brasil




-- 
Atenciosamente,
Sávio S. Teles de Oliveira
voice: +55 62 9136 6996
http://br.linkedin.com/in/savioteles
Mestrando em Ciências da Computação - UFG
Arquiteto de Software
CUIA Internet Brasil


Re: Write Inconsistency to update a row

2014-07-03 Thread Jonathan Haddad
Make sure you've got ntpd running, otherwise this will be an ongoing nightmare.

On Thu, Jul 3, 2014 at 5:00 PM, Sávio S. Teles de Oliveira
savio.te...@cuia.com.br wrote:
 I have synchronized the clocks and works!


 2014-07-03 20:58 GMT-03:00 Sávio S. Teles de Oliveira
 savio.te...@cuia.com.br:

 Did you make sure all the nodes are on the same time?  If they're not,
 you'll get some weird results.


 They were not on the same time. I've synchronized the time and works!

 Tks


 2014-07-03 16:58 GMT-03:00 Jack Krupansky j...@basetechnology.com:

 You said that the updates do show up eventually – how long does it take?

 -- Jack Krupansky

 From: Sávio S. Teles de Oliveira
 Sent: Thursday, July 3, 2014 1:30 PM
 To: user@cassandra.apache.org
 Subject: Re: Write Inconsistency to update a row


 Are you sure all the nodes are working at that time?


 Yes. They are working.


 I would suggest increasing the replication factor (for example 3) and
 use CL=ALL or QUORUM to find out what is going wrong.


 I did! I still have the same problem.



 2014-07-03 13:40 GMT-03:00 Panagiotis Garefalakis panga...@gmail.com:

 This seems like a hinted handoff issue but since you use CL = ONE it
 should happen.
 Are you sure all the nodes are working at that time? You could use
 nodetool status to check that.
 I would suggest increasing the replication factor (for example 3) and
 use CL=ALL or QUORUM to find out what is going wrong.

 Regards,
 Panagiotis


 On Thu, Jul 3, 2014 at 5:11 PM, Sávio S. Teles de Oliveira
 savio.te...@cuia.com.br wrote:

 replication_factor=1
 CL=ONE


 Does the data show up eventually?

 Yes.

 Can be the clocks?


 2014-07-03 10:47 GMT-03:00 graham sanderson gra...@vast.com:

 What is your keyspace replication_factor?

 What consistency level are you reading/writing with?

 Does the data show up eventually?

 I’m assuming you don’t have any errors (timeouts etc) on the write
 site


 On Jul 3, 2014, at 7:55 AM, Sávio S. Teles de Oliveira
 savio.te...@cuia.com.br wrote:

 I have two Cassandra 2.0.5 servers running with some datas inserted,
 where each row have one empty column. When the client send a lot of 
 update
 commands to fill this column in each row, some lines update their 
 content,
 but some lines remain with the empty column.

 Using one server, this never happens!

 Any suggestions?

 Tks.
 --
 Atenciosamente,
 Sávio S. Teles de Oliveira
 voice: +55 62 9136 6996
 http://br.linkedin.com/in/savioteles
 Mestrando em Ciências da Computação - UFG
 Arquiteto de Software
 CUIA Internet Brasil






 --
 Atenciosamente,
 Sávio S. Teles de Oliveira
 voice: +55 62 9136 6996
 http://br.linkedin.com/in/savioteles
 Mestrando em Ciências da Computação - UFG
 Arquiteto de Software
 CUIA Internet Brasil






 --
 Atenciosamente,
 Sávio S. Teles de Oliveira
 voice: +55 62 9136 6996
 http://br.linkedin.com/in/savioteles
 Mestrando em Ciências da Computação - UFG
 Arquiteto de Software
 CUIA Internet Brasil




 --
 Atenciosamente,
 Sávio S. Teles de Oliveira
 voice: +55 62 9136 6996
 http://br.linkedin.com/in/savioteles
 Mestrando em Ciências da Computação - UFG
 Arquiteto de Software
 CUIA Internet Brasil




 --
 Atenciosamente,
 Sávio S. Teles de Oliveira
 voice: +55 62 9136 6996
 http://br.linkedin.com/in/savioteles
 Mestrando em Ciências da Computação - UFG
 Arquiteto de Software
 CUIA Internet Brasil



-- 
Jon Haddad
http://www.rustyrazorblade.com
skype: rustyrazorblade