Store data with cassandra

classic Classic list List threaded Threaded
14 messages Options
Reply | Threaded
Open this post in threaded view
|

Store data with cassandra

jean paul
Hello All;
Please,
i have created this table.

lastname | age | city          | email               | firstname ----------+-----+---------------+---------------------+-----------       Doe |  36 | Beverly Hills |   [hidden email] |      Jane     Byrne |  24 |     San Diego |  [hidden email] |       Rob     Smith |  46 |    Sacramento | [hidden email] |      John

So, my question, where this data is saved ? in ./var/lib/cassandra/data ?



My end goal is to store a file with cassandra and to see on which node my file is stored ?

thanks a lot for help
Best Regards.
Reply | Threaded
Open this post in threaded view
|

Re: Store data with cassandra

jean paul
I have used this tutoriel to create my data base
http://planetcassandra.org/insert-select-records/

/var/lib/cassandra/data# ls
demo  system  system_traces
:/var/lib/cassandra/data# cd demo/
:/var/lib/cassandra/data/demo# ls
users
:/var/lib/cassandra/data/demo# cd users/
:/var/lib/cassandra/data/demo/users# ls
:/var/lib/cassandra/data/demo/users#

i find nothing in /var/lib/cassandra/data/demo/users!


2015-03-20 13:06 GMT+01:00 jean paul <[hidden email]>:
Hello All;
Please,
i have created this table.

lastname | age | city          | email               | firstname ----------+-----+---------------+---------------------+-----------       Doe |  36 | Beverly Hills |   [hidden email] |      Jane     Byrne |  24 |     San Diego |  [hidden email] |       Rob     Smith |  46 |    Sacramento | [hidden email] |      John

So, my question, where this data is saved ? in ./var/lib/cassandra/data ?



My end goal is to store a file with cassandra and to see on which node my file is stored ?

thanks a lot for help
Best Regards.

Reply | Threaded
Open this post in threaded view
|

Re: Store data with cassandra

Michael Dykman
You seem to be missing the point here.

Cassandra does not manage files, it manages data in a highly distributed cluster.  If you are attempting to manage files, you are quite simply using the wrong tool and Cassandra is not for you.

On Fri, Mar 20, 2015 at 9:10 AM, jean paul <[hidden email]> wrote:
I have used this tutoriel to create my data base
http://planetcassandra.org/insert-select-records/

/var/lib/cassandra/data# ls
demo  system  system_traces
:/var/lib/cassandra/data# cd demo/
:/var/lib/cassandra/data/demo# ls
users
:/var/lib/cassandra/data/demo# cd users/
:/var/lib/cassandra/data/demo/users# ls
:/var/lib/cassandra/data/demo/users#

i find nothing in /var/lib/cassandra/data/demo/users!


2015-03-20 13:06 GMT+01:00 jean paul <[hidden email]>:
Hello All;
Please,
i have created this table.

lastname | age | city          | email               | firstname ----------+-----+---------------+---------------------+-----------       Doe |  36 | Beverly Hills |   [hidden email] |      Jane     Byrne |  24 |     San Diego |  [hidden email] |       Rob     Smith |  46 |    Sacramento | [hidden email] |      John

So, my question, where this data is saved ? in ./var/lib/cassandra/data ?



My end goal is to store a file with cassandra and to see on which node my file is stored ?

thanks a lot for help
Best Regards.




--
 - michael dykman
 - [hidden email]

 May the Source be with you.
Reply | Threaded
Open this post in threaded view
|

Re: Store data with cassandra

jean paul
i read also some documents about storing blob with cassandra !!



2015-03-20 15:04 GMT+01:00 Michael Dykman <[hidden email]>:
You seem to be missing the point here.

Cassandra does not manage files, it manages data in a highly distributed cluster.  If you are attempting to manage files, you are quite simply using the wrong tool and Cassandra is not for you.

On Fri, Mar 20, 2015 at 9:10 AM, jean paul <[hidden email]> wrote:
I have used this tutoriel to create my data base
http://planetcassandra.org/insert-select-records/

/var/lib/cassandra/data# ls
demo  system  system_traces
:/var/lib/cassandra/data# cd demo/
:/var/lib/cassandra/data/demo# ls
users
:/var/lib/cassandra/data/demo# cd users/
:/var/lib/cassandra/data/demo/users# ls
:/var/lib/cassandra/data/demo/users#

i find nothing in /var/lib/cassandra/data/demo/users!


2015-03-20 13:06 GMT+01:00 jean paul <[hidden email]>:
Hello All;
Please,
i have created this table.

lastname | age | city          | email               | firstname ----------+-----+---------------+---------------------+-----------       Doe |  36 | Beverly Hills |   [hidden email] |      Jane     Byrne |  24 |     San Diego |  [hidden email] |       Rob     Smith |  46 |    Sacramento | [hidden email] |      John

So, my question, where this data is saved ? in ./var/lib/cassandra/data ?



My end goal is to store a file with cassandra and to see on which node my file is stored ?

thanks a lot for help
Best Regards.




--
 - michael dykman
 - [hidden email]

 May the Source be with you.

Reply | Threaded
Open this post in threaded view
|

Re: Store data with cassandra

Ali Akhtar
The files you store have to personally be vetted by the cassandra community. Only if they're found to not contain anything inappropriate, does cassandra let you store them. (A 3/4 majority vote is necessary).

Please send your files for approval to [hidden email]

On Fri, Mar 20, 2015 at 8:41 PM, jean paul <[hidden email]> wrote:
i read also some documents about storing blob with cassandra !!



2015-03-20 15:04 GMT+01:00 Michael Dykman <[hidden email]>:
You seem to be missing the point here.

Cassandra does not manage files, it manages data in a highly distributed cluster.  If you are attempting to manage files, you are quite simply using the wrong tool and Cassandra is not for you.

On Fri, Mar 20, 2015 at 9:10 AM, jean paul <[hidden email]> wrote:
I have used this tutoriel to create my data base
http://planetcassandra.org/insert-select-records/

/var/lib/cassandra/data# ls
demo  system  system_traces
:/var/lib/cassandra/data# cd demo/
:/var/lib/cassandra/data/demo# ls
users
:/var/lib/cassandra/data/demo# cd users/
:/var/lib/cassandra/data/demo/users# ls
:/var/lib/cassandra/data/demo/users#

i find nothing in /var/lib/cassandra/data/demo/users!


2015-03-20 13:06 GMT+01:00 jean paul <[hidden email]>:
Hello All;
Please,
i have created this table.

lastname | age | city          | email               | firstname ----------+-----+---------------+---------------------+-----------       Doe |  36 | Beverly Hills |   [hidden email] |      Jane     Byrne |  24 |     San Diego |  [hidden email] |       Rob     Smith |  46 |    Sacramento | [hidden email] |      John

So, my question, where this data is saved ? in ./var/lib/cassandra/data ?



My end goal is to store a file with cassandra and to see on which node my file is stored ?

thanks a lot for help
Best Regards.




--
 - michael dykman
 - [hidden email]

 May the Source be with you.


Reply | Threaded
Open this post in threaded view
|

Re: Store data with cassandra

jean paul
i'd like to store MyFile.txt using cassandra (replicat = 2) and see on what node the file and its replicas  are stored on my cluster of 10 nodes
it is a simple file with simple content (text)

is that possible ?

2015-03-20 16:44 GMT+01:00 Ali Akhtar <[hidden email]>:
The files you store have to personally be vetted by the cassandra community. Only if they're found to not contain anything inappropriate, does cassandra let you store them. (A 3/4 majority vote is necessary).

Please send your files for approval to [hidden email]

On Fri, Mar 20, 2015 at 8:41 PM, jean paul <[hidden email]> wrote:
i read also some documents about storing blob with cassandra !!



2015-03-20 15:04 GMT+01:00 Michael Dykman <[hidden email]>:
You seem to be missing the point here.

Cassandra does not manage files, it manages data in a highly distributed cluster.  If you are attempting to manage files, you are quite simply using the wrong tool and Cassandra is not for you.

On Fri, Mar 20, 2015 at 9:10 AM, jean paul <[hidden email]> wrote:
I have used this tutoriel to create my data base
http://planetcassandra.org/insert-select-records/

/var/lib/cassandra/data# ls
demo  system  system_traces
:/var/lib/cassandra/data# cd demo/
:/var/lib/cassandra/data/demo# ls
users
:/var/lib/cassandra/data/demo# cd users/
:/var/lib/cassandra/data/demo/users# ls
:/var/lib/cassandra/data/demo/users#

i find nothing in /var/lib/cassandra/data/demo/users!


2015-03-20 13:06 GMT+01:00 jean paul <[hidden email]>:
Hello All;
Please,
i have created this table.

lastname | age | city          | email               | firstname ----------+-----+---------------+---------------------+-----------       Doe |  36 | Beverly Hills |   [hidden email] |      Jane     Byrne |  24 |     San Diego |  [hidden email] |       Rob     Smith |  46 |    Sacramento | [hidden email] |      John

So, my question, where this data is saved ? in ./var/lib/cassandra/data ?



My end goal is to store a file with cassandra and to see on which node my file is stored ?

thanks a lot for help
Best Regards.




--
 - michael dykman
 - [hidden email]

 May the Source be with you.



Reply | Threaded
Open this post in threaded view
|

Re: Store data with cassandra

Ali Akhtar
It has been decided that the file cannot be allowed to be stored, sorry. However, if a sacrifice to the gods is prepared, it may be possible to change things.

On Fri, Mar 20, 2015 at 8:49 PM, jean paul <[hidden email]> wrote:
i'd like to store MyFile.txt using cassandra (replicat = 2) and see on what node the file and its replicas  are stored on my cluster of 10 nodes
it is a simple file with simple content (text)

is that possible ?

2015-03-20 16:44 GMT+01:00 Ali Akhtar <[hidden email]>:
The files you store have to personally be vetted by the cassandra community. Only if they're found to not contain anything inappropriate, does cassandra let you store them. (A 3/4 majority vote is necessary).

Please send your files for approval to [hidden email]

On Fri, Mar 20, 2015 at 8:41 PM, jean paul <[hidden email]> wrote:
i read also some documents about storing blob with cassandra !!



2015-03-20 15:04 GMT+01:00 Michael Dykman <[hidden email]>:
You seem to be missing the point here.

Cassandra does not manage files, it manages data in a highly distributed cluster.  If you are attempting to manage files, you are quite simply using the wrong tool and Cassandra is not for you.

On Fri, Mar 20, 2015 at 9:10 AM, jean paul <[hidden email]> wrote:
I have used this tutoriel to create my data base
http://planetcassandra.org/insert-select-records/

/var/lib/cassandra/data# ls
demo  system  system_traces
:/var/lib/cassandra/data# cd demo/
:/var/lib/cassandra/data/demo# ls
users
:/var/lib/cassandra/data/demo# cd users/
:/var/lib/cassandra/data/demo/users# ls
:/var/lib/cassandra/data/demo/users#

i find nothing in /var/lib/cassandra/data/demo/users!


2015-03-20 13:06 GMT+01:00 jean paul <[hidden email]>:
Hello All;
Please,
i have created this table.

lastname | age | city          | email               | firstname ----------+-----+---------------+---------------------+-----------       Doe |  36 | Beverly Hills |   [hidden email] |      Jane     Byrne |  24 |     San Diego |  [hidden email] |       Rob     Smith |  46 |    Sacramento | [hidden email] |      John

So, my question, where this data is saved ? in ./var/lib/cassandra/data ?



My end goal is to store a file with cassandra and to see on which node my file is stored ?

thanks a lot for help
Best Regards.




--
 - michael dykman
 - [hidden email]

 May the Source be with you.




Reply | Threaded
Open this post in threaded view
|

Re: Store data with cassandra

Ali Akhtar
( I apologize, I'm only joking. To answer your question, Cassandra tends to cache the first 300MB or so of data in memory, only when it grows beyond that does it start to write it to files. But, Cassandra is not the write choice for storing files. In the screenshot you linked, its only storing the filenames, not the actual contents of the files).

On Fri, Mar 20, 2015 at 8:54 PM, Ali Akhtar <[hidden email]> wrote:
It has been decided that the file cannot be allowed to be stored, sorry. However, if a sacrifice to the gods is prepared, it may be possible to change things.

On Fri, Mar 20, 2015 at 8:49 PM, jean paul <[hidden email]> wrote:
i'd like to store MyFile.txt using cassandra (replicat = 2) and see on what node the file and its replicas  are stored on my cluster of 10 nodes
it is a simple file with simple content (text)

is that possible ?

2015-03-20 16:44 GMT+01:00 Ali Akhtar <[hidden email]>:
The files you store have to personally be vetted by the cassandra community. Only if they're found to not contain anything inappropriate, does cassandra let you store them. (A 3/4 majority vote is necessary).

Please send your files for approval to [hidden email]

On Fri, Mar 20, 2015 at 8:41 PM, jean paul <[hidden email]> wrote:
i read also some documents about storing blob with cassandra !!



2015-03-20 15:04 GMT+01:00 Michael Dykman <[hidden email]>:
You seem to be missing the point here.

Cassandra does not manage files, it manages data in a highly distributed cluster.  If you are attempting to manage files, you are quite simply using the wrong tool and Cassandra is not for you.

On Fri, Mar 20, 2015 at 9:10 AM, jean paul <[hidden email]> wrote:
I have used this tutoriel to create my data base
http://planetcassandra.org/insert-select-records/

/var/lib/cassandra/data# ls
demo  system  system_traces
:/var/lib/cassandra/data# cd demo/
:/var/lib/cassandra/data/demo# ls
users
:/var/lib/cassandra/data/demo# cd users/
:/var/lib/cassandra/data/demo/users# ls
:/var/lib/cassandra/data/demo/users#

i find nothing in /var/lib/cassandra/data/demo/users!


2015-03-20 13:06 GMT+01:00 jean paul <[hidden email]>:
Hello All;
Please,
i have created this table.

lastname | age | city          | email               | firstname ----------+-----+---------------+---------------------+-----------       Doe |  36 | Beverly Hills |   [hidden email] |      Jane     Byrne |  24 |     San Diego |  [hidden email] |       Rob     Smith |  46 |    Sacramento | [hidden email] |      John

So, my question, where this data is saved ? in ./var/lib/cassandra/data ?



My end goal is to store a file with cassandra and to see on which node my file is stored ?

thanks a lot for help
Best Regards.




--
 - michael dykman
 - [hidden email]

 May the Source be with you.





Reply | Threaded
Open this post in threaded view
|

Re: Store data with cassandra

jean paul
Please, can you explain details in this two links:

https://wiki.apache.org/cassandra/FAQ#large_file_and_blob_storage


2015-03-20 16:58 GMT+01:00 Ali Akhtar <[hidden email]>:
( I apologize, I'm only joking. To answer your question, Cassandra tends to cache the first 300MB or so of data in memory, only when it grows beyond that does it start to write it to files. But, Cassandra is not the write choice for storing files. In the screenshot you linked, its only storing the filenames, not the actual contents of the files).

On Fri, Mar 20, 2015 at 8:54 PM, Ali Akhtar <[hidden email]> wrote:
It has been decided that the file cannot be allowed to be stored, sorry. However, if a sacrifice to the gods is prepared, it may be possible to change things.

On Fri, Mar 20, 2015 at 8:49 PM, jean paul <[hidden email]> wrote:
i'd like to store MyFile.txt using cassandra (replicat = 2) and see on what node the file and its replicas  are stored on my cluster of 10 nodes
it is a simple file with simple content (text)

is that possible ?

2015-03-20 16:44 GMT+01:00 Ali Akhtar <[hidden email]>:
The files you store have to personally be vetted by the cassandra community. Only if they're found to not contain anything inappropriate, does cassandra let you store them. (A 3/4 majority vote is necessary).

Please send your files for approval to [hidden email]

On Fri, Mar 20, 2015 at 8:41 PM, jean paul <[hidden email]> wrote:
i read also some documents about storing blob with cassandra !!



2015-03-20 15:04 GMT+01:00 Michael Dykman <[hidden email]>:
You seem to be missing the point here.

Cassandra does not manage files, it manages data in a highly distributed cluster.  If you are attempting to manage files, you are quite simply using the wrong tool and Cassandra is not for you.

On Fri, Mar 20, 2015 at 9:10 AM, jean paul <[hidden email]> wrote:
I have used this tutoriel to create my data base
http://planetcassandra.org/insert-select-records/

/var/lib/cassandra/data# ls
demo  system  system_traces
:/var/lib/cassandra/data# cd demo/
:/var/lib/cassandra/data/demo# ls
users
:/var/lib/cassandra/data/demo# cd users/
:/var/lib/cassandra/data/demo/users# ls
:/var/lib/cassandra/data/demo/users#

i find nothing in /var/lib/cassandra/data/demo/users!


2015-03-20 13:06 GMT+01:00 jean paul <[hidden email]>:
Hello All;
Please,
i have created this table.

lastname | age | city          | email               | firstname ----------+-----+---------------+---------------------+-----------       Doe |  36 | Beverly Hills |   [hidden email] |      Jane     Byrne |  24 |     San Diego |  [hidden email] |       Rob     Smith |  46 |    Sacramento | [hidden email] |      John

So, my question, where this data is saved ? in ./var/lib/cassandra/data ?



My end goal is to store a file with cassandra and to see on which node my file is stored ?

thanks a lot for help
Best Regards.




--
 - michael dykman
 - [hidden email]

 May the Source be with you.






Reply | Threaded
Open this post in threaded view
|

Re: Store data with cassandra

Sibbald, Charles
In reply to this post by Ali Akhtar
Sounds like this is a job for jackrabbit ?


From: Ali Akhtar <[hidden email]>
Reply-To: "[hidden email]" <[hidden email]>
Date: Friday, 20 March 2015 15:58
To: "[hidden email]" <[hidden email]>
Subject: Re: Store data with cassandra

( I apologize, I'm only joking. To answer your question, Cassandra tends to cache the first 300MB or so of data in memory, only when it grows beyond that does it start to write it to files. But, Cassandra is not the write choice for storing files. In the screenshot you linked, its only storing the filenames, not the actual contents of the files).

On Fri, Mar 20, 2015 at 8:54 PM, Ali Akhtar <[hidden email]> wrote:
It has been decided that the file cannot be allowed to be stored, sorry. However, if a sacrifice to the gods is prepared, it may be possible to change things.

On Fri, Mar 20, 2015 at 8:49 PM, jean paul <[hidden email]> wrote:
i'd like to store MyFile.txt using cassandra (replicat = 2) and see on what node the file and its replicas  are stored on my cluster of 10 nodes
it is a simple file with simple content (text)

is that possible ?

2015-03-20 16:44 GMT+01:00 Ali Akhtar <[hidden email]>:
The files you store have to personally be vetted by the cassandra community. Only if they're found to not contain anything inappropriate, does cassandra let you store them. (A 3/4 majority vote is necessary).

Please send your files for approval to [hidden email]

On Fri, Mar 20, 2015 at 8:41 PM, jean paul <[hidden email]> wrote:
i read also some documents about storing blob with cassandra !!



2015-03-20 15:04 GMT+01:00 Michael Dykman <[hidden email]>:
You seem to be missing the point here.

Cassandra does not manage files, it manages data in a highly distributed cluster.  If you are attempting to manage files, you are quite simply using the wrong tool and Cassandra is not for you.

On Fri, Mar 20, 2015 at 9:10 AM, jean paul <[hidden email]> wrote:
I have used this tutoriel to create my data base
http://planetcassandra.org/insert-select-records/

/var/lib/cassandra/data# ls
demo  system  system_traces
:/var/lib/cassandra/data# cd demo/
:/var/lib/cassandra/data/demo# ls
users
:/var/lib/cassandra/data/demo# cd users/
:/var/lib/cassandra/data/demo/users# ls
:/var/lib/cassandra/data/demo/users#

i find nothing in /var/lib/cassandra/data/demo/users!


2015-03-20 13:06 GMT+01:00 jean paul <[hidden email]>:
Hello All;
Please,
i have created this table.

lastname | age | city          | email               | firstname ----------+-----+---------------+---------------------+-----------       Doe |  36 | Beverly Hills |  [hidden email] |      Jane     Byrne |  24 |     San Diego |  [hidden email] |       Rob     Smith |  46 |    Sacramento | [hidden email] |      John

So, my question, where this data is saved ? in ./var/lib/cassandra/data ?



My end goal is to store afile with cassandra and to see on which node my file is stored ?

thanks a lot for help
Best Regards.




--
 - michael dykman
 - [hidden email]

 May the Source be with you.





Information in this email including any attachments may be privileged, confidential and is intended exclusively for the addressee. The views expressed may not be official policy, but the personal views of the originator. If you have received it in error, please notify the sender by return e-mail and delete it from your system. You should not reproduce, distribute, store, retransmit, use or disclose its contents to anyone. Please note we reserve the right to monitor all e-mail communication through our internal and external networks. SKY and the SKY marks are trademarks of Sky plc and Sky International AG and are used under licence. Sky UK Limited (Registration No. 2906991), Sky-In-Home Service Limited (Registration No. 2067075) and Sky Subscribers Services Limited (Registration No. 2340150) are direct or indirect subsidiaries of Sky plc (Registration No. 2247735). All of the companies mentioned in this paragraph are incorporated in England and Wales and share the same registered office at Grant Way, Isleworth, Middlesex TW7 5QD.
Reply | Threaded
Open this post in threaded view
|

Re: Store data with cassandra

jean paul
In reply to this post by jean paul
Reply | Threaded
Open this post in threaded view
|

Re: Store data with cassandra

jean paul
In reply to this post by Sibbald, Charles

2015-03-20 17:07 GMT+01:00 Sibbald, Charles <[hidden email]>:
Sounds like this is a job for jackrabbit ?


From: Ali Akhtar <[hidden email]>
Reply-To: "[hidden email]" <[hidden email]>
Date: Friday, 20 March 2015 15:58
To: "[hidden email]" <[hidden email]>
Subject: Re: Store data with cassandra

( I apologize, I'm only joking. To answer your question, Cassandra tends to cache the first 300MB or so of data in memory, only when it grows beyond that does it start to write it to files. But, Cassandra is not the write choice for storing files. In the screenshot you linked, its only storing the filenames, not the actual contents of the files).

On Fri, Mar 20, 2015 at 8:54 PM, Ali Akhtar <[hidden email]> wrote:
It has been decided that the file cannot be allowed to be stored, sorry. However, if a sacrifice to the gods is prepared, it may be possible to change things.

On Fri, Mar 20, 2015 at 8:49 PM, jean paul <[hidden email]> wrote:
i'd like to store MyFile.txt using cassandra (replicat = 2) and see on what node the file and its replicas  are stored on my cluster of 10 nodes
it is a simple file with simple content (text)

is that possible ?

2015-03-20 16:44 GMT+01:00 Ali Akhtar <[hidden email]>:
The files you store have to personally be vetted by the cassandra community. Only if they're found to not contain anything inappropriate, does cassandra let you store them. (A 3/4 majority vote is necessary).

Please send your files for approval to [hidden email]

On Fri, Mar 20, 2015 at 8:41 PM, jean paul <[hidden email]> wrote:
i read also some documents about storing blob with cassandra !!



2015-03-20 15:04 GMT+01:00 Michael Dykman <[hidden email]>:
You seem to be missing the point here.

Cassandra does not manage files, it manages data in a highly distributed cluster.  If you are attempting to manage files, you are quite simply using the wrong tool and Cassandra is not for you.

On Fri, Mar 20, 2015 at 9:10 AM, jean paul <[hidden email]> wrote:
I have used this tutoriel to create my data base
http://planetcassandra.org/insert-select-records/

/var/lib/cassandra/data# ls
demo  system  system_traces
:/var/lib/cassandra/data# cd demo/
:/var/lib/cassandra/data/demo# ls
users
:/var/lib/cassandra/data/demo# cd users/
:/var/lib/cassandra/data/demo/users# ls
:/var/lib/cassandra/data/demo/users#

i find nothing in /var/lib/cassandra/data/demo/users!


2015-03-20 13:06 GMT+01:00 jean paul <[hidden email]>:
Hello All;
Please,
i have created this table.

lastname | age | city          | email               | firstname ----------+-----+---------------+---------------------+-----------       Doe |  36 | Beverly Hills |  [hidden email] |      Jane     Byrne |  24 |     San Diego |  [hidden email] |       Rob     Smith |  46 |    Sacramento | [hidden email] |      John

So, my question, where this data is saved ? in ./var/lib/cassandra/data ?



My end goal is to store afile with cassandra and to see on which node my file is stored ?

thanks a lot for help
Best Regards.




--
 - michael dykman
 - [hidden email]

 May the Source be with you.





Information in this email including any attachments may be privileged, confidential and is intended exclusively for the addressee. The views expressed may not be official policy, but the personal views of the originator. If you have received it in error, please notify the sender by return e-mail and delete it from your system. You should not reproduce, distribute, store, retransmit, use or disclose its contents to anyone. Please note we reserve the right to monitor all e-mail communication through our internal and external networks. SKY and the SKY marks are trademarks of Sky plc and Sky International AG and are used under licence. Sky UK Limited (Registration No. 2906991), Sky-In-Home Service Limited (Registration No. 2067075) and Sky Subscribers Services Limited (Registration No. 2340150) are direct or indirect subsidiaries of Sky plc (Registration No. 2247735). All of the companies mentioned in this paragraph are incorporated in England and Wales and share the same registered office at Grant Way, Isleworth, Middlesex TW7 5QD.

Reply | Threaded
Open this post in threaded view
|

Re: Store data with cassandra

Jens Rantil
In reply to this post by Sibbald, Charles
Jean,

I'm not sure you will receive any reply unless you ask specific questions about those links.

Cheers,
Jens


Skickat från Mailbox


On Fri, Mar 20, 2015 at 5:08 PM, Sibbald, Charles <[hidden email]> wrote:

Sounds like this is a job for jackrabbit ?


From: Ali Akhtar <[hidden email]>
Reply-To: "[hidden email]" <[hidden email]>
Date: Friday, 20 March 2015 15:58
To: "[hidden email]" <[hidden email]>
Subject: Re: Store data with cassandra

( I apologize, I'm only joking. To answer your question, Cassandra tends to cache the first 300MB or so of data in memory, only when it grows beyond that does it start to write it to files. But, Cassandra is not the write choice for storing files. In the screenshot you linked, its only storing the filenames, not the actual contents of the files).

On Fri, Mar 20, 2015 at 8:54 PM, Ali Akhtar <[hidden email]> wrote:
It has been decided that the file cannot be allowed to be stored, sorry. However, if a sacrifice to the gods is prepared, it may be possible to change things.

On Fri, Mar 20, 2015 at 8:49 PM, jean paul <[hidden email]> wrote:
i'd like to store MyFile.txt using cassandra (replicat = 2) and see on what node the file and its replicas  are stored on my cluster of 10 nodes
it is a simple file with simple content (text)

is that possible ?

2015-03-20 16:44 GMT+01:00 Ali Akhtar <[hidden email]>:
The files you store have to personally be vetted by the cassandra community. Only if they're found to not contain anything inappropriate, does cassandra let you store them. (A 3/4 majority vote is necessary).

Please send your files for approval to [hidden email]

On Fri, Mar 20, 2015 at 8:41 PM, jean paul <[hidden email]> wrote:
i read also some documents about storing blob with cassandra !!



2015-03-20 15:04 GMT+01:00 Michael Dykman <[hidden email]>:
You seem to be missing the point here.

Cassandra does not manage files, it manages data in a highly distributed cluster.  If you are attempting to manage files, you are quite simply using the wrong tool and Cassandra is not for you.

On Fri, Mar 20, 2015 at 9:10 AM, jean paul <[hidden email]> wrote:
I have used this tutoriel to create my data base
http://planetcassandra.org/insert-select-records/

/var/lib/cassandra/data# ls
demo  system  system_traces
:/var/lib/cassandra/data# cd demo/
:/var/lib/cassandra/data/demo# ls
users
:/var/lib/cassandra/data/demo# cd users/
:/var/lib/cassandra/data/demo/users# ls
:/var/lib/cassandra/data/demo/users#

i find nothing in /var/lib/cassandra/data/demo/users!


2015-03-20 13:06 GMT+01:00 jean paul <[hidden email]>:
Hello All;
Please,
i have created this table.

lastname | age | city          | email               | firstname ----------+-----+---------------+---------------------+-----------       Doe |  36 | Beverly Hills |  [hidden email] |      Jane     Byrne |  24 |     San Diego |  [hidden email] |       Rob     Smith |  46 |    Sacramento | [hidden email] |      John

So, my question, where this data is saved ? in ./var/lib/cassandra/data ?



My end goal is to store afile with cassandra and to see on which node my file is stored ?

thanks a lot for help
Best Regards.




--
 - michael dykman
 - [hidden email]

 May the Source be with you.





Information in this email including any attachments may be privileged, confidential and is intended exclusively for the addressee. The views expressed may not be official policy, but the personal views of the originator. If you have received it in error, please notify the sender by return e-mail and delete it from your system. You should not reproduce, distribute, store, retransmit, use or disclose its contents to anyone. Please note we reserve the right to monitor all e-mail communication through our internal and external networks. SKY and the SKY marks are trademarks of Sky plc and Sky International AG and are used under licence. Sky UK Limited (Registration No. 2906991), Sky-In-Home Service Limited (Registration No. 2067075) and Sky Subscribers Services Limited (Registration No. 2340150) are direct or indirect subsidiaries of Sky plc (Registration No. 2247735). All of the companies mentioned in this paragraph are incorporated in England and Wales and share the same registered office at Grant Way, Isleworth, Middlesex TW7 5QD.

Reply | Threaded
Open this post in threaded view
|

Re: Store data with cassandra

Robert Coli-3
In reply to this post by jean paul
On Fri, Mar 20, 2015 at 5:06 AM, jean paul <[hidden email]> wrote:

Btw, Jean Paul... are you sure you don't want this?


As a general statement, storing files in Cassandra seems like a bad idea to me.

=Rob