hadoop-hdfs-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From kim young ill <khi...@googlemail.com>
Subject Re: delete in sequence file
Date Tue, 20 Mar 2012 20:59:49 GMT
On Tue, Mar 20, 2012 at 5:35 PM, Ioan Eugen Stan <stan.ieugen@gmail.com>wrote:

> Pe 20.03.2012 18:18, Manish Bhoge a scris:
>
>> Kim,
>> Interesting to know how to handle segment in sequence. Just want to
>> understand the application of deleting the segment rather than the file
>> itself in a sequence.
>> Sorry for not providing solution here. But I would like to understand the
>> application at first place.
>> Thank you,
>> Manish.
>> Sent from my BlackBerry, pls excuse typo
>>
>

Hi,

just imagine one wants to save conversations, log-entries,
blog-entries,emails... to files, one would also want to delete/change one
entry in the middle. for some reason i want to avoid a database. each
text-segment to a seperate file isnt a good idea, right ?

thanx
kim







>
>> -----Original Message-----
>> From: kim young ill<khiemu@googlemail.com>
>> Date: Tue, 20 Mar 2012 16:30:17
>> To:<hdfs-user@hadoop.apache.**org <hdfs-user@hadoop.apache.org>>
>> Reply-To: hdfs-user@hadoop.apache.org
>> Subject: delete in sequence file
>>
>> hi hadoop gurus,
>> i plan to use hadoop to store files, for small files, sequencefile would
>> be
>> ideal, i can append to it, but i dont find any api to delete a "segment"
>> of
>> the file, only the whole file. is it supported at all or what would be a
>> better approach ?
>>
>> thanx
>>
>>
>>
> Hi,
>
> Create a copy without the key:value pairs that you deleted. Fro what I
> know, this is the only way.
>
> Cheers,
>
> --
> Ioan Eugen Stan
> http://ieugen.blogspot.com
>

Mime
View raw message