cassandra-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jean paul <researche...@gmail.com>
Subject Re: Store data with cassandra
Date Fri, 20 Mar 2015 16:07:18 GMT
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 <ali.rac200@gmail.com>:

> ( 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 <ali.rac200@gmail.com> 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 <researcherfr@gmail.com>
>> 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 <ali.rac200@gmail.com>:
>>>
>>>> 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 jk@reallycereal.com
>>>>
>>>> On Fri, Mar 20, 2015 at 8:41 PM, jean paul <researcherfr@gmail.com>
>>>> wrote:
>>>>
>>>>> What about this so
>>>>> http://www.datastax.com/wp-content/uploads/2012/02/Screen-Shot-2012-02-10-at-11.21.55-AM.png
>>>>> i read also some documents about storing blob with cassandra !!
>>>>>
>>>>>
>>>>>
>>>>> 2015-03-20 15:04 GMT+01:00 Michael Dykman <mdykman@gmail.com>:
>>>>>
>>>>>> 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 <researcherfr@gmail.com>
>>>>>> 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 <researcherfr@gmail.com>:
>>>>>>>
>>>>>>>> Hello All;
>>>>>>>> Please,
>>>>>>>> i have created this table.
>>>>>>>>
>>>>>>>> lastname | age | city          | email               | firstname
>>>>>>>> ----------+-----+---------------+---------------------+-----------
>>>>>>>>        Doe |  36 | Beverly Hills |   janedoe@email.com |
     Jane
>>>>>>>>      Byrne |  24 |     San Diego |  robbyrne@email.com |
      Rob
>>>>>>>>      Smith |  46 |    Sacramento | johnsmith@email.com |
     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
>>>>>>  - mdykman@gmail.com
>>>>>>
>>>>>>  May the Source be with you.
>>>>>>
>>>>>
>>>>>
>>>>
>>>
>>
>

Mime
View raw message