hadoop-hdfs-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ioan Eugen Stan <stan.ieu...@gmail.com>
Subject Re: delete in sequence file
Date Tue, 20 Mar 2012 16:35:57 GMT
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
>
> -----Original Message-----
> From: kim young ill<khiemu@googlemail.com>
> Date: Tue, 20 Mar 2012 16:30:17
> To:<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